ZPL format commands have the following classifications
In order to print out the first label quickly, the printer has been designed to dynamically change printer settings. Commonly used printer parameters will be retained for subsequent format use. These settings are always effective until subsequent commands are changed, the printer is reset, power cycled, or until the four (4) flashes of the “paper feed button mode” process is used to restore the factory default parameter values. The ZPL configuration update command (^JU) can be used to save and restore the printer configuration to initialize or reinitialize the printer with pre-configured settings.
As mentioned above, ZPL can store all parameters with one command. The old EPL programming language supported by Zebra GK888 can be changed immediately and saved individual commands. Most configurations and settings can be shared between ZPL and EPL. For example, using the EPL command to change the speed setting will also change the speed set for ZPL operation. After issuing a power cycle or reset command in either printer language, the changed EPL setting will still be retained.
To help developers, the printer comes with a series of operating parameters and printer configuration labels. The above parameters and labels can be used through the printer “paper feed” button or see “Print test (printer configuration) label”. Zebra Setup Utility and Zebra™ Windows Driver can also print this label and other printer status labels to help users manage printer.
Create a printer configuration programming file and send it to one or more printers to manage multiple printers. You can also use ZebraNet™ Bridge to copy printer settings. Figure 1 below shows the basic structure of the ZPL programming configuration file.
Refer to “ZPL Programmer’s Guide” and “ZPL Configuration Status and Command Reference” to create programming files. Use Zebra Setup Utility (ZSU) to send programming files to the printer. Windows Notepad (text editor) Can be used to create programming files.
Configuration parameter format structure
^XA — Start format command
The format command is related to the order
a) General printing and command settings
b) Media handling and operation
c) Media printing size
^JUS command can be used to save
^XZ — end format command
The “Printer Configuration Label” shown below lists most of the configuration setting values that can be set through ZPL commands. Some printer options and differential models will only be displayed after they are installed in the printer.
Figure 2 • Configuration label printout
Table 2 • Reference for ZPL command and configuration receipt labeling
Starting from this position in the “Configuration Receipt” list, the printout lists the sensor settings, and the displayed values are used to troubleshoot the sensor and media operation. This information is generally used for printer troubleshooting by Zebra technical support personnel.
The configuration settings listed here are next to the “Remove Tag” sensor value. These lists contain printer features that rarely change their default values, or provide status information (for example, firmware version).
Table 3 • Reference for ZPL command and configuration receipt labeling
The printer has the ability to set a command or a group of commands for all subsequent receipts or labels. These settings will still be in effect until such settings are changed, the printer is reset, or the factory defaults are restored through subsequent commands.
To help users manage printer resources, the printer supports a variety of format commands to manage storage, transfer objects (import and export) and name objects between storage areas, and provide various printer operating status reports. These commands are very similar to old DOS commands such as DIR (directory listing) and DEL (delete files). The most common reports are also part of the Zebra Setup Utility and ZebraDesigner™ Windows driver.
Figure 3 • Memory management format structure
^XA — start format command
It is recommended to use a single format command,
for repeated use
^XZ — end format command
It is recommended to process only a single command in one type of format (form). You can easily reuse a single command as a maintenance and development tool.
Many of the commands used to transfer objects and manage and report storage usage are control (~) commands. These commands do not need to be in the format (style). Regardless of whether it is in the format (form), the printer will process these commands as soon as they are received.
Notes • In order to maximize the use of the printer’s memory, the printer has an automatic memory defrag function. Multiple factors may trigger the defragmentation operation. Deleting or adding objects in storage will trigger a defragmentation operation. While the memory is being defragmented, the printer status indicator will begin to flash red, amber, and green. Do not turn off the printer power while the status indicator is flashing. If storage usage and file fragmentation are high, this operation may take several minutes.
ZPL has multiple printer memory locations for running the printer, combining printed images, and storing formats (styles), graphics, fonts, and configuration settings.
Table 4 • Object management and status report commands
Important Note • Some original ZPL fonts in the printer cannot be copied, cloned or restored to the printer by reloading or updating the firmware. If these license-restricted ZPL fonts are deleted using explicit ZPL object delete commands, you must re-purchase and re-install these fonts through the font activation and installation tool. EPL fonts do not have this restriction.
Download “ZPL2-programmers-manual-2006.pdf”ZPL2-programmers-manual-2006.pdf – Downloaded 184 times – 4.15 MB
Download “zplii-programming-guide-2005-vol1.pdf”zplii-programming-guide-2005-vol1.pdf – Downloaded 114 times – 4.67 MB
Download “zplii-programming-guide-2005-vol2.pdf”zplii-programming-guide-2005-vol2.pdf – Downloaded 133 times – 1.40 MB
|cookielawinfo-checkbox-analytics||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".|
|cookielawinfo-checkbox-functional||11 months||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".|
|cookielawinfo-checkbox-necessary||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".|
|cookielawinfo-checkbox-others||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.|
|cookielawinfo-checkbox-performance||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".|