Printer protocol interpreter (ppi) zgl™ programmer’s reference manual for zgl, a zebra ® zpl ® printer protocol interpreter thermal series printers.
Printer protocol interpreter (ppi) zgl programmer’s reference manual for zgl, a zebra zpl printer protocol interpreter thermal series printers.
Trademark acknowledgments zpl, zpl ii, and zebra are registered trademarks of zebra technologies corporation. Ppi is a trademark of printronix, inc. Printronix and psa are registered trademarks of printronix, inc. Copyright © 2002, 2006 printronix, inc. All rights reserved..
1 introduction ........................................................... 9 about this manual................................................................................. 9 coax/twinax interface requirements ............................................. 9 ppi/zgl setup menu .......................
Table of contents ~du - download unbounded truetype font ......................... 18 ~ef / ^ef - erase format....................................................... 19 ~eg / ^eg - erase downloaded images ................................ 19 ^fa - field allocate..........................................
Table of contents ~nr - set all network printers transparent ........................... 22 ~nt - set currently connected printer transparent .............. 23 ^pm - print mirror image of label ........................................... 23 ^pw - print width.............................................
Table of contents ^mc - mp clear....................................................................... 34 ^md - media darkness ........................................................... 34 ^mn - media tracking .............................................................. 34 ^pf - slew dot rows .....
9 1 introduction about this manual this manual explains the differences between the printer protocol interpreter zebra graphic language (zgl) utility and the zebra ® zpl ® language. Use this manual with your sl500r/t5000r user’s manual for complete printer- protocol operation. Note: when substitutin...
10 chapter 1 ppi/zgl setup menu ppi/zgl setup menu enable* disable 560k bytes* 160-3600k bytes ppi/zgl setup 1 zpl compatible 126* command prefix label prefix lp+ text mode delimiter 94* zpl-ii* zpl-i preparser command mc label fmt preparser port pq label fmt list format* label buf size host form le...
Ppi/zgl setup submenus 11 ppi/zgl setup submenus zpl compatible this menu allows you to select the compatibility to zpl-i or zpl-ii. • zpl-i = zebra programming language i. • zpl-ii = zebra programming language ii. The default is zpl-ii. Ppi/zgl setup con’t standard sets* character group 4 notes: * ...
12 chapter 1 ppi/zgl setup menu command prefix this item allows you to select the prefix for the control instructions command. The range is 1-255, and the default is 126. Label prefix this item allows you to select the prefix for the format instructions command. The range is 1-255, and the default i...
Ppi/zgl setup submenus 13 mc label fmt the ^mc command determines whether the printed label image should be retained for use in the immediately following label definition. The mc label fmt option determines the internal format to be used for storing the label image: list format or bitmap format. • l...
14 chapter 1 ppi/zgl setup menu left position the ^ls command specifies a horizontal offset to be added to all label element positions. The left position option displays the value specified by the ^ls command and provides an alternative method for specifying the horizontal offset. The default is 0. ...
Ppi/zgl setup submenus 15 is label format the ^is command saves the printed label image by name for later recall as part of a label definition. The is label fmt option determines the internal format to be used for storing the label image: list format or bit format. • list format (default). Should be...
16 chapter 1 ppi/zgl setup menu character group and character sets this menu item selects the character set used by the printer. The available character sets are shown below. Character group (zgl) standard sets* arabic sets cyrillic sets european sets greek sets hebrew sets turkish sets usa 1* usa 2...
17 2 fully supported commands ^bx - barcodes this command selects various barcodes. Ppi supports the following zpl barcodes: ^b1 code 11 ^b2 interleaved 2 of 5 ^b3 code 39 ^b5 planet ^b7 pdf417 ^b8 ean-8 ^b9 upce ^ba code 93 ^bc code 128 ^bd ups maxicode ^be ean-13 ^bi industrial 2 of 5 ^bk codabar ...
18 chapter 2 when barcodes are generated on printers with unique print densities, the dot ratio of the wide/narrow bar/space does not match the zpl printer. Match the exact number of dots shifted for each density through trial and error. ^by - barcode defaults this command changes default settings a...
19 ~ef / ^ef - erase format this command deletes all label formats stored with the ^df download format command. ~eg / ^eg - erase downloaded images this command deletes all graphics images previously stored in ram with various commands (^is, ~dg, etc.). ^fa - field allocate this command allocates sp...
20 chapter 2 ^ft - field type set this command sets the x/y coordinate (relative to the “home” position) of a subsequent field. It differs from the ^fo command in that the coordinate is always for the left end of the “baseline” of a field regardless of rotation. ^fw - field orientation this command ...
21 ^hy - upload graphic this command uploads different graphic image formats from ram or flash to the host. ^il - image load this command recalls an entire label graphic image previously stored in ram for overlaying with other label data which follows this command. ^im - image move this command reca...
22 chapter 2 ^ll - label length this command defines the length of a label in printer dots. Any label printed on continuous media causes the defined length of media to be moved. ^lr - label reverse this command provides the ability to reverse print all fields following the ^lr in a label (in contras...
23 ~nt - set currently connected printer transparent this command sets the currently connected network printer to transparent. ^pm - print mirror image of label this command prints the entire label as a “mirror image.” ^pw - print width this command sets the print width. ^sf - serialization field th...
24 chapter 2 ^xf - recall format this command recalls a label definition previously stored with the ^df download format command and merges ^fn dynamic fields to produce a label. ^xg - recall graphic this command recalls a stored graphic bit-image and places it on the label. ^xz - label end this comm...
25 3 command enhancements and differences ^a@ - select font by name this command only applies to built-in fonts or bitmap fonts downloaded via the ~db command. ^ax - select alphanumeric font ppi uses scalable fonts rather than bitmapped fonts. ^b$x - barcodes ppi includes the following barcodes: ^b$...
26 chapter 3 ^b$b - upcship command format : ^b$b fp, hgt, rdt, pos b: upcship barcode command fp: barcode orientation n = no rotation (default) r = rotate 90 degrees, clockwise i = rotate 180 degrees, inverted b = rotate 90 degrees, counter-clockwise hgt: barcode height value entered in dots at the...
27 ^ b$d - fim command format : ^b$d fp, type, height d: fim barcode command fp: barcode orientation n = no rotation (default) r = rotate 90 degrees, clockwise i = rotate 180 degrees, inverted b = rotate 90 degrees, counter-clockwise type: type of fim barcode. Only four choices are valid: a (default...
28 chapter 3 standard sets (cont.) german 006 france 1 007 france 2 008 italy 009 spain 010 miscellaneous 011 japan 012 ibm cp 850 013 arabic sets asmo 449 100 asmo 449+ 101 asmo 708 102 asmo 708+ 103 ms dos cp710 104 ms dos cp720 105 sakr cp714 106 aptec cp715 107 cp 786 108 ibm cp864 109 ibm cp104...
29 european sets latin 2 8859-2 300 code page 852 301 mazovia 302 kamenicky 303 roman 8 304 pc-437 slavic 305 slavic 1250 306 code page 865 307 code page 860 308 latin 1 8859-1 309 latin 5 8859-9 310 latin 9 8859-15 311 polish pol1 312 cp 858 euro 313 greek sets dec 256 greek 400 elot 928 greek 401 ...
30 chapter 3 ^cw - font identifier ppi uses scalable fonts rather than bitmapped fonts. The device naming convention differs as follows: zpl device specifiers: r: dram b: optional memory e: extra eprom z: standard eprom ppi device specifiers: r: dram b: flash z: standard fonts ~db - download bitmap ...
31 ~dg - download graphics the device naming convention differs as follows: zpl device specifiers: r: dram b: optional memory e: extra eprom z: standard eprom ppi device specifiers: r: dram b: flash z: standard fonts ~dy - download graphic the device naming convention is the same as ~dg. The command...
32 chapter 3 ^hr - calibrate rfid transponder position this command initiates an rfid transponder calibration for a specific rfid label and returns the results to the host computer. ~hs - host status return the ~hs command returns various printer status information to the host. The status informatio...
33 ^je - disable diagnostics this command disables hex dump mode. ~jp - pause & cancel the ppi online light is illuminated when the printer is online. ^ju - configuration update this command controls whether the printer reprints a label after a fault condition clears. ^ju op, num op = configuration ...
34 chapter 3 when lp+ text mode is set to “auto pass-thru,” non-ppi data is automatically detected and passed through to the lp+ emulation (ppi data is processed normally). If the hex commands 0x02 or 0x03 are received, they are treated as binary data and passed through to the lp+ emulation; they ar...
35 ~pp / ^pp - programmable pause the ~pp command takes the printer offline as soon as the current label being printed is completed. The exact moment at which this occurs in the label stream may not match exactly. The ^pp command takes the printer offline after the label definition in which the comm...
36 chapter 3 ^rz - set rfid tag password this command lets you define the password for the tag during writing. ~sd - set darkness identical darkness values may not produce the same relative darkness on your printer as zpl. This command overrides the current value of the darkness setting front panel ...
37 a zgl menu conversions when substituting a zebra xi iii model printer with a sl5000r/t5000r printer, refer to the zgl conversion table below. Table 2: zgl menu zebra xi lll series sl5000r/t5000r with zgl emulation darkness - (0 to +30) +10* . Darkness of image on label. Quick setup menu, print in...
38 appendix a zebra xilll series sl5000r/t5000r with zgl emulation print width - width of image to be printed in inches, mm or dots. Printer width dependent. Quick setup menu, label width - width of image to be printed in inches or mm. Printer width dependent. Label length - printable length of labe...
39 zebra xilll series sl5000r/t5000r with zgl emulation media power up - media action when the printer is powered up. Feed* - feeds a label to1st web. Calibration - recalibrates media when printer is powered up. Length - determines length of label. No motion - media does not move. Calibrate ctrl men...
40 appendix a zebra xilll series sl5000r/t5000r with zgl emulation head resistor - must be updated when printhead changed. Note: head resistance detected & updated automatically by sw. Verifier port - how printer reacts to optional on-line verifier. Off* - verifier port is off. 1 ver-rprint - label ...
41 zebra xilll series sl5000r/t5000r with zgl emulation save settings - permanent* - saves changes even after power is turned off. Temporary - saves until changed again or until power is turned off. Cancel - cancels all changes since entering config mode. Load defaults - loads factory defaults. N/a ...
42 appendix a zebra xilll series sl5000r/t5000r with zgl emulation subnet mask (opt) - dynamic - user may set, but server can assign. Permanent* - user must set. Ethernet address menu, (opt) subnet mask - user sets subnet mask for tcp/ip protocol un less it is dynamic, then read-only. Default gatewa...
43 b zgl-dbcs overview this appendix describes the additional and unique commands for • t5000 thermaline zgl-dbcs series the t5000 thermaline zgl-dbcs include the zgl-hangul, zgl-hanzigb, and zgl-jap emulation software zgl-dbcs is an extension to the existing zgl (ascii) emulation supporting korean ...
44 appendix b zgl-dbcs series zgl-dbcs series the zgl-dbcs series include zgl-hangul, zgl-hanzigb, and zgl-jap emulation software. High byte menu the menu selection “high byte” on the front panel under menu mode -> pgl/zgl setup turns the most significant bit on or off. When “high byte” is set to “d...
Command syntax 45 orit font orientation: n - no rotation (default) r - rotate 90 degrees clockwise i - inverted b - rotate 270 degrees clockwise for scalable fonts: height individual character height in printer dots default value: 10 dots acceptable value: 10 to 1500 width individual character width...
46 appendix b zgl-dbcs series (c) font identifier command purpose this command assigns a one-character identifier to a built-in or downloaded font. Syntax ^ cw font_id,{src:}fname ^cw font identifier command. Font_id the internal character (0-9, a-z) to be used to identify a font to be substituted o...
47 c contact information printronix customer support center important please have the following information available prior to calling the printronix customer support center: • model number • serial number (located on the back of the printer) • installed options (i.E., interface and host type if app...
48 appendix c corporate offices corporate offices printronix, inc. 14600 myford road p.O. Box 19559 irvine, ca 92623-9559 phone: (714) 368-2300 fax: (714) 368-2600 printronix, inc. Nederland bv p.O. Box 163, nieuweweg 283 nl-6600 ad wijchen the netherlands phone: (31) 24 6489489 fax: (31) 24 6489499...
174779-001g *174779-001*.