Zebra Programming Language ( ZPL and ZPL II ) is the page description language of Zebra Technologies. This is used primarily for labeling applications. The original ZPL is forwarded to ZPL II, but full compatibility with older versions is not provided. Meanwhile, ZPL II is imitated by many label printers from various manufacturers.
Then, the Zebra Basic Interpreter (ZBI) is integrated into the printer software, which is seen as a ZPL II advancement by the producer and ANSI BASIC oriented. In particular, this is meant to avoid refactoring the code when changing the printer, if the old printer software is written by a label printer from a competitor. With ZBI, Zebra printers should get the "alien" data format and convert it to the automatically requested ZPL II format.
Some printers also support the older Eltron Programming Language (EPL) for the printer.
Video Zebra (programming language)
Command
Language commands always start with an inline (' ^
'). Currently, more than 170 orders are in ZPL II. Each format should start with the ^ XA
command and end with ^ XZ
. For example, the font size is sent to the printer with the command ^ ADN, n, m
, where n
and m
are integers; ^ ADN, 18,10
is the smallest size and ^ ADN, 180,100
is the largest.
Example
A simple output that displays the text "Wikipedia" can be created using the code as below.
Maps Zebra (programming language)
References
External links
- Programming Guide (PN: P1012728-008 Rev. A)
- ZPL II Programming Guide (volume I)
- ZPL II Programming Guide (volume II)
- ZPLViewer
- ZPL Online Emulator
Source of the article : Wikipedia