Reports on ZPL printers
This function is used to describe reports to be printed on ZPL printers. A ZPL printer is a special printer that can receive data flows formatted using the ZPL language. Their main purpose is to print labels.
A ZPL report:
- is linked to a standard Crystal Reports report (via a ZPL checkbox and a connection link),
- shares the same parameters (that can be used in the selection criteria)
- uses a data model and selection criteria to define those data that feed the print flow,
- is based on a file template that defines the format,
- uses calculated expressions that can be listed in the record and are submitted to specific conditions.
A Crystal Reports report will be printed quite normally if the print destination is Preview, Printer, Message, File, or Archiving. On the other hand, if the output type is ZPL printer, the ZPL report will be generated in lieu of the Crystal Reports report for direct transmission to this printer's port.
Prerequisites
Refer to documentation Implementation
Screen management
Entry screen
Block number 1
| Setup code (field CODPAR) |
|
Is used to identify a setup of ZPL print. This code is attached to a report. |
| Description (field INTIT) |
|
Use this field to assign a description to each record. |
| Active (field ENAFLG) |
|
Select this check box to activate the current record. Disabled records keep their content and setup but cannot be used by recalling their code:
The authorizations for a given function can prohibit the creation of an active record. In this case, the check box is disabled by default. It can only be modified by an authorized user or through a signature workflow. |
Block number 2
Data
| Data model (field MODDON) |
|
The data template is used to generate a link that will be used to read the data to generate the file. |
| Criteria (field CONDIT) |
|
This field is used to define criteria that will apply to the request (linked via a logical "and" if several lines are entered), these criteria are directly passed to the base via the Link instruction clauses if the formula does not contain specific functions (such as Func), otherwise, it will be used as a filter during the reading. Among the interesting functions, the user should note the function func ARZIMP.PARAM("name"), that is used to get the setups passed to the report. This specific function is optimized in the request by being converted to a constant. It should be noted that the user can also add selection criteria in the data template. |
Grid Expression
Specific Buttons
|
Validation |
It generates the processing that will be executed to enable the generation of the flow for transmission to the printer. |