Home
EPL Programming Guide
Contents
1. Command Description Memory Page A ASCII Text Image 4l AUTOFR Automatic Form Printing Form 48 B Bar Code Image 50 B RSS 14 Bar Code Image 56 b Aztec Image 60 Aztec Mesa Image 64 Data Matrix Image 66 MaxiCode Image 70 PDF417 Image 74 QR Code Image 81 C Counter Form 83 C Cut Immediate 85 D Density Stored 86 dump Enable Dump Mode 87 EI Print Soft Font Info 88 EK Delete Soft Font Writes 89 eR User Definable Error Response Writes 90 ES Store Soft Font Writes 91 f Cut Position Stored 96 fB Adjust Backup Position Writes 97 FE End Form Store Writes 98 FI Print Form Info 99 FK Delete Form Writes 100 FR Retrieve Form 101 FS Store Form Writes 102 GG Retrieve Graphics Image 103 GI Print Graphics Info 104 GK Delete Graphic Writes 105 GM Store Graphic Writes 106 GW Direct Graphic Write Image 108 i Asian Character Spacing Stored 109 I Character Set Selection Stored 110 JB Disable Top Of Form Backup Stored 112 JC Disable Top Of Form Backup All Cases Stored 113 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands Command Description Memory Page Command Description Memory Page JF Enable Top Of Form Backup Stored 114 LE Line Draw Exclusive OR Image 115 LO Line Draw Black Image 116 LS Line Draw Diagonal Image 117 LW Line Draw White Image 118 M Me
2. Leseeeeeeeeseeeese 243 OVeIVIOW iue e La hu E Ban be ad BEA ho CA a GRRE Rees oe dean 244 setvar Command nananana ee ee eee eee eee 244 getvar Command aaa maana RIDERE hex bens NANG ee DAA Lab SAGANA 244 do Commands 222r e trni gann RR rA a e bru enPSEEGEWNERRRRUES 245 Command Structure 1 teen 246 How to Send Multiple SGD Commands 00 eee 246 Card lnserted ic cese tuu dad cea Ww hess Een ess fee ae rimis 247 card mac addi essa mak ae a ERa ee eee eee eens 248 Padd e 2 dd no ter PERRO a a ee E ER dude ed ead 249 Ip arp intervals zum otio ee Mae A Ep a aR FUR GRO UR ee he eee MGA 250 ip bootp enable iic RR ERR RREEXxx x NGPA GRRRX eR E EAGER EAEE 251 Ip dhcpicid ii ERUIT 252 ip dhcp cid enable lsissleeeeeeee RII II 253 ip dlicp cid prefix shes ket RR cr ce Shaun re E PdGgo E UA RR ADR ae 254 Ip dhecp cid SUNDO istae hr Rr Dha RA mic did ANAND heen bw RR eee KANA 255 ip dhcp cid type 0 RII IRR Rl 256 ip dhep enable RR mh he 257 IP GATEWAY dci aided eG xm baa eet te se et caged eG BALENG KNANG cts aes tete 258 ip netma skK oii em hxEESrRPG heed Sea Lac sd awheehboiarsawerndeada a 259 hne 260 wlan adhocautomode er rr 261 wlan adhocchannel 0 0 cee eee tte hr 262 WlartassoClated manas scies ot bY ete MADAANAN Sen PO NENG AA 263 142451 001 Rev A EPL Programming Guide 5 30 07 Contents 9 wlan channel mask 22 22 264 WaAMESSA PA PAA AA PP 265 wlan fir
3. 0 00000 eee 323 oLn Disable Print Head Life Reminder 00 000 c eee eee eee 324 oLy Enable Print Head Life Reminder a 325 URH Print Head History Report 0 ee ee 326 URL Read Print Odometers 000 cee eee 327 URR Print Odometer Status Reporting 0 0 cee ee 329 lUi AAP mente pre ETT 331 14245L 001 Rev A EPL Programming Guide 5 30 07 Functional Table of Contents for EPL Commands 2D Bar Code Aztec Mesa Specific Options 0 0 eee 64 2D Bar Code Aztec Specific Options 00 c cee 60 2D Bar Code Data Matrix Specific Options 00 02 66 2D Bar Code MaxiCode Specific Options llli 70 2D Bar Code PDF417 Specific Options lisse 74 2D Bar Code QR Code Specific Options 0 00 0 c ees 81 Adjust Backup Position Xa AKO KANA Ket feee SSG wee ER seat te NAG ERGO TUE 97 POG Teo 22 et aes p AURI eee eS KATAD LAG AK Mee BABAIT GAO dees 41 Asian Character Spacing 2 2 dedans x eade xa eres d RUPEE MES NI MES NA KAN 109 Automatic Form Printing 2 2 exem pee Re RU Ae ee Sr Sk eee ean ae 48 AIMS SENSE 236 coke pud tua eee ce e EI EE EP ERA pie ndun iq d ei 165 Bar O02 DELE 50 BOX DraW 22 2i 2 8842setigense ceeereesdes bea Edd CSUR TAS Sheesh eens ess 166 Cancel Auto Bar Code Optimization 0 0 c eee 122 Cancel Software Options l slslleselsseseeele eee 121 Character Set Selection s
4. gt Example This setvar example shows the value set to 10 3 5 1 Ul setvar internal wired ip gateway 10 3 5 1 When the set var value is set to 10 3 5 1 the getvar resultis 10 3 5 1 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 237 internal_wired ip netmask internal wired ip netmask Description This setting refers to the internal wired print server s subnet mask address This value is ignored if the IP protocol is not set to permanent This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with internal wired print servers subnet mask Format Ul getvar internal wired ip netmask setvar This command instructs the printer to change the internal wired print servers subnet mask Format Ul setvar internal wired ip netmask value Values Any valid subnet mask Default 255 255 255 0 gt Example This setvar example shows the value set to 255
5. 0 0 00 cece tees 104 GK Delete Graphics sllleeeeeeeeee rns 105 GM Store Graphics 0 eee eee tenes 106 GW Direct Graphic Write 2 20 0 0c Ie 108 i Asian Character Spacing uisi ee ees eee edt eben es ee Rare ya 109 I Character Set Selection 0 cece ee tees 110 JB Disable Top Of Form Backup 0 cee eee eee 112 JC Disable Top Of Form Backup All Cases 0a 113 JF Enable Top Of Form Backup 2 2 2 e 114 LE Line Draw Exclusive OR 2 2 2 2 e 115 LO Line Draw Black 2522534425 54 NBA AK eee RE re bua Rd BKA ada 116 LS Line Draw Diagonal 0 0000 eee 117 LW Line Draw White 00000 RR re 118 M Memory Allocation 000 cece rns 119 N Clear Image Butter s2eheeiidavieen rise unes eee bes Ela kn da 120 o Cancel Software Options 0 ee tees 121 OB Cancel Auto Bar Code Optimization a 122 oE Line Mode Font Substitution llli 123 oH Macro PDF Offset 000 eee eee 124 oM Disable Initial Esc Sequence Feed lese 126 OR Character Substitution Euro liliis 127 oW Customize Bar Code Parameters ees 128 Hardware Options xim bps sb bei rede gas ved bid ea eae ARRA 130 OEPL1 SetLine Mode 0 0 ete 132 Returning to Page Mode 0 cette ee 132 P Prnlil szasmee 9 REGERE EEXG RARE ye geeneees boa pean eee Db ale PURA 133 PA Print Automatic 0 0000
6. 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 265 wlan essid wlan essid Description This printer setting refers to the printer s stored ESSID Setting the ESSID to will set the printer ina broadcast mode Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the stored ESSID value Format Ul getvar wlan essid setvar This command instructs the printer to change the ESSID Format Ul setvar wlan essid value Values 32 character alphanumeric string Default 125 gt Example This set var example shows the value set to 125 Ul setvar wlan essid 125 When the set var value is set to 125 the getvar result is 125 5 30 07 EPL Programming Guide 14245L 001 Rev A 266 SGD Wireless Commands wlan firmware_version wlan firmware version Description This command refers to the firmware version of the wireless radio card Type getvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on
7. P3 Rotation Accepted Values O normal no rotation 1 90 degrees 2 180 degrees 3 270 degrees p4 Bar Code selection See Table 1 Bar Codes on page 51 for more information ps Narrow bar width Narrow bar width in dots See Table 1 Bar Codes on page 51 for more information pg Wide bar width Wide bar width in dots Accepted Values 2 30 See Table 1 Bar Codes on page 51 for more information p7 Bar code height Bar code height in dots Pg Print human readable code Accepted Values B yes N no DATA Fixed data field The data in this field must comply with the selected bar code s specified format The backslash character designates the following character is a literal and will encode into the data field Refer to the following examples To Print Enter into data field Company Company code code 14245L 001 Rev A EPL Programming Guide 5 30 07 Table 1 Bar Codes EPL Commands B Description pa pa Pe Value Value Value Code 39 std or extended 3 1 10 Y Code 39 with check digit 3C 1 10 N Code 93 1 10 N Code 128 UCC Serial Shipping Container Code 1 10 N Code 128 auto A B C modes 1 1 10 N Code 128 mode A 1A 1 10 N Code 128 mode B 1B 1 10 N Code 128 mode C 1C 1 10 N Code 128 with Deutsche Post check digit
8. Ul setvar ip dhcp cid suffix printer What the setvar value is set to is the getvar result In this example the getvar result is printer 5 30 07 EPL Programming Guide 14245L 001 Rev A 256 SGD Wireless Commands ip dhcp cid_type ip dhcp cid type t Description This printer setting defines the type of client identifier DHCP option 61 that will be sent if DHCP is enabled A value of 1 means the type of Ethernet and the printer s MAC address will be used A value of 0 or 2 means the client identifier sent will be ip dhcp cid prefix concatenated with ip dhcp cid suffix Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier type Format U1 getvar ip dhcp cid type setvar This command instructs the printer to enable synthetic Client Identifier Format Ul setvar ip dhcp cid type value Values om ASCII string 1 wireless radio card s MAC address 2 HEX value Default Value 1 Example This setvar example shows the value set to 1 Ul setvar ip dhcp cid type 1 What the set var value is set to is the get var result In this example
9. gt Example This setvar example shows the value set to 9100 Ul setvar internal wired ip port 9100 When the setvar value is set to 9100 the getvar result is 9100 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 239 internal_wired ip protocol internal wired ip protocol t Description This command configures the IP addressing method used by the internal wired print server This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command returns the IP addressing method used by the internal wired print server Format Ul getvar internal wired ip protocol setvar This command instructs the printer to configure the IP addressing method used by the internal wired print server Format Ul setvar internal wired ip protocol value Values bootp uses the standard bootp addressing method to obtain an IP address and configuration dhcp uses the standard dhcp addressing method to obtain an IP address and
10. setvar This command instructs the printer to change the client identifier suffix value Format Ul setvar external wired ip dhcp cid suffix value Values The maximum length of a value allowed is 60 ASCII characters when the CID type is ASCII or 120 hexadecimal values when the CID type is hexadecimal Default Value Example This setvar example shows setting the suffix to printer Ul setvar external wired ip dhcp cid suffix printer What the set var value is set to is the get var result In this example the get var result is printer 5 30 07 EPL Programming Guide 14245L 001 Rev A SGD Wired Commands external_wired ip dhcp cid_type 220 external wired ip dhcp cid type Description This printer setting defines the type of client identifier DHCP option 61 that will be sent if DHCP is enabled on the external wired print server A value of 1 means the type of Ethernet and the printer s MAC address will be used A value of 0 or 2 means the client identifier sent will be external wired ip dhcp cid prefix concatenated with external wired ip dhcp cid suffix This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This feature works with the ZebraNet 10 100 External Print Server firmware version 1 1 5 Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Struct
11. 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 171 A Reset Printer Description This command is used to reset the printer Syntax where is 94 decimal This command emulates Power Off and then Power On thus reinitializing the printer The reset command is unavailable during the operation of storing PCX graphics soft fonts or while the printer is in dump mode The reset command cannot be used in a stored form The reset command can be sent to the printer during all other printing operations The printer will ignore all commands sent while the reset command is executing up to 2 seconds Parameters There are no parameters for this format gt Example This example causes the printer to reset g 5 30 07 EPL Programming Guide 14245L 001 Rev A 172 EPL Commands default default Set Printer to Factory Defaults Description Use this command to return the printer to its default configuration The default command resets the density speed sensors image buffer parameters character code page including re mapped characters options feed button behaviors gap mode media sensing serial interface configuration error reporting and line mode configuration defaults This command is intended for troubleshooting and by service organizations Do not use this command in regular programming Do not use this command to initialize the printer This overwrites
12. Columns Bien Codewords Columns Da Codewords 5 90 90 18 66 924 6 90 180 19 61 915 7 90 270 20 58 928 8 90 360 21 54 918 9 90 450 22 51 918 10 90 540 23 48 912 11 90 630 24 46 920 12 90 720 25 44 924 13 90 810 26 42 924 14 90 900 27 40 920 15 84 924 28 38 912 16 77 924 29 37 925 17 71 923 30 35 910 18 66 924 31 34 918 19 61 915 32 33 924 20 58 928 33 32 928 21 54 918 34 30 900 Automatic PDF 417 Bar Code Generation The printer automatically tests and changes the PDF 417 bar code geometry to maximize the readability of the bar code for a given maximum height and width specified by p and ps The printer tests the PDF 417 parameters in this order for a given data string error correction and compression included 1 Module width p for codeword width 2 Symbol width p 3 Symbol column maximum p43 4 Module height p11 5 Symbol height ps 6 Symbol row maximum p13 The printer will start with the maximum value default or explicit for these parameters The printer reduces these values to get the module width and height to maximize readability 5 30 07 EPL Programming Guide 14245L 001 Rev A 79 80 EPL Commands b Example NH b80 100 P 700 600 x2 y7 1100 r100 f 0 s5 4 Fourscore and seven years ago our fathers brought forth on this continent a new nation conceived in liberty and dedicated to the proposition that all men are created equal Now we are engaged in a gre
13. For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to return whether the timeout checking is enabled on the external wired print server Format Ul getvar external wired ip timeout enable setvar This command instructs the printer to enable or disable the timeout checking on the external wired print server Format Ul setvar external wired ip timeout enable value Values Off turns off the connection checking on turns on the connection checking Default on op Example This setvar example shows the value set to on Ul setvar external wired ip timeout enable on When the setvar value is set to on the get var result is on 5 30 07 EPL Programming Guide 142451 001 Rev A SGD Wired Commands external_wired ip timeout value 226 external wired ip timeout value Description This network setting refers to the number of seconds before the connection times out for the external wired print server This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For d
14. For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer respond with the encryption key Format Ul getvar wlan wep key2 For protection a single prints setvar This command instructs the printer to set the encryption key Format Ul setvar wlan wep key2 value Values 10 hexadecimal characters for 40 bit encryption 26 hexadecimal characters for 128 bit encryption Default All zeros gt Example This setvar example shows the value set to A1B2C3D4F5 Ul setvar wlan wep key2 A1B2C3D4F5 When the set var value is set to A1B2C3D4F5 the getvar result is 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 307 wlan wep key3 wlan wep key3 Description This printer setting refers to the third indexed WEP encryption key The WEP encryption key is a hexadecimal string value This key should match the wireless network WEP encryption key 3 Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details
15. 5 30 07 EPL Programming Guide 14245L 001 Rev A 184 SGD Printer Settings ip http enable ip http enable Description This printer setting refers to the HTTP protocol web server setting Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the HTTP status Format U1 getvar ip http enable setvar This command instructs the printer to change HTTP to on or off Format Ul setvar ip http enable value Values Off disables HTTP protocol on enables HTTP protocol Default on gt Example This setvar example shows the value set to on Ul setvar ip http enable on When the setvar value is set to on the getvar result is on 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 185 ip Ipd enable ip lpd enable Description This printer setting refers to the LPD Line Printer Daemon protocol setting Type getvar setvar Important LPD communications from the host should be directed to port 515 Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the synt
16. Default Value 2 P3 Initial width wide white bar Default Value 4 p4 Initial width wide black bar Default Value 4 Ps Initial bar code gap Default Value 3 The oW command is a global printer command They can not be issued inside of a form They must be issued prior to issuing a bar code command and printing Use only one bar code format Using more than one bar code may cause unpredictable results or operation Issue all 5 command parameters p1 5 Use the default parameter values as place holders Bar code printed with this command should be printed in the picket fence orientation 0 amp 180 rotations to maximize scanning Reset the printer with a or o commands with flash firmware printers or cycle printer power to clear theoWcommand and return the printer to normal operation See page C 90 for important details on the effects of using the o command 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 129 oW The B command parameters ps amp pg must beset to 0 to use bar codes customized with this command Note The oW command has been tested for parameter functionality for Bar Code 39 only The oW command may also function with Codabar and Interleaved 2 of 5 bar code but they have not been functionally verified for this command Important Zebra Technologies Corporation does not warrant support or endorse the use of bar codes generated by
17. Note The AutoSense feature and Line Mode are not available for all printer models NI Refer to your printer s user guide for specific feature information 5 30 07 EPL Programming Guide 14245L 001 Rev A 34 Printer Configuration Explanation of the Status Printout Depending on your printer model your dump mode label will look similar to one of those shown below See Figure 9 on page 319 for additional information Figure 4 Dump Mode Print Samples Now in DUMP Press key to exit y 0 68 4 J Hn o o 93 u 3 z pi T s i gag D1 Oz Ge 07 D8 BA oc oD ig 12 16 17 18 loeleoary 8S 4 amp 9U 19 1A iB 1C 10 1E IF 20 21 22 23 24 25 26 27 26 28 2A 2B 2C 2D 2E Zf 30 1234581789 2 989 Les eo ri any O I 31 32 33 34 35 16 37 38 39 3A 3B IC 3D JE IF 4D 41 42 44 45 46 47 48 IJKLMNOPORSTUVNWX EN 4g 3 49 AR 4B AC AD 4E 4F 50 BI 52 53 54 55 56 57 58 59 SA 5B 5C 5D SE SF 60 abcdefghijkimnoparstuvux 61 52 63 84 65 56 67 58 69 58 GB 5C 6D GE BF 70 7k 72 73 74 75 76 77 78 yziib atueaaaa ces e YTiaAaae 79 7A 78 7C 7D 7E 7F 80 61 82 83 B4 BS 86 H7 68 BA BD BE 8F 3G m go Ha m m m D n Printer I D code number and firmware version Serial port configuration Programming Mode Print head resolution Print head test pattern Amount of memory available for the Image buffer Amount of memory used and memory available uka1935 v4 59 lt lt Serial port 96 N 8 1 lt _
18. Order is not important for parameters p4 p Include the prefix letter c x h or v to select the parameter followed by a valid numeric value Pa c Number of See the Symbol Geometries table for valid column values columns to encode ps r Number of rows to encode See the Symbol Geometries table for valid row values pg h Enables the flg n format Sets the minimum square data module size used for encoding data Accepted Values 1 40 Default Value 5 p7 v Selects an inverse image of the bar code Selects an inverse image of the bar code sometimes known as reverse video or a negative image DATA ASCII data or Binary data bytes Any combination of data strings time fields TT date fields TD variables and or counters the latter two within forms only that resolve to a valid string of characters Within literal strings all ASCII characters 0 255 dec 00 FF hex are allowed Quotes ASCII 34d and backslashes ASCII 92d must be uniquely handled 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 67 b The backslash character designates the following character is a literal and will encode into the data field Refer to the following examples To Print Company code Enter into data field Vv V CompanyV code NG Within forms further limitations include that a NULL ASCII 0 character may not appear within bar cod
19. disabled Default on gt Example This setvar example shows the value set to on Ul setvar wlan ip default addr enable on What the set var value is set to is the get var result In this example the get var result is on n 5 30 07 EPL Programming Guide 14245L 001 Rev A 270 SGD Wireless Commands wlan ip dhcp cid_all wlan ip dhcp cid all Description This printer setting defines the entire client identifier DHCP option 61 if DHCP is enabled on the wireless print server and wlan ip dhcp cid_type is set to 0 or 2 The MAC address is used if the type is set to 1 This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier prefix and suffix of the wireless print server Format Ul getvar wlan ip dhcp cid all setvar This command instructs the printer to change the client identifer prefix and suffix of the wireless print server The prefix gets cleared and the suffix contains the entire client identifer Format Ul setvar wlan ip dhcp cid all value Values A maximum length of 60 characters i
20. 15 Mobile Printers Battery low warning 4096 16 Mobile Printers Battery low limit 2096 50 Printer Busy Processing Print Job 84 Media Error or Blackline not detected 93 PDF 417 coded data too large to fit in bar code 14245L 001 Rev A EPL Programming Guide 5 30 07 UT EPL Commands 159 UT Enable Alternate Error Reporting Description Use this command to enable the printer s status alternate reporting feature Serial Port Ifan error occurs the printer will send a NACK 0x15 followed by the error number to the computer e If no errors occur the printer will echo ACK 0x6 after last line of the current label has been rasterized The printer will send a DLE 0x10 when the label is dispensed If paper or ribbon empty occurs the printer will send through the serial port a 07 Pnnn where nnn is the number of labels remaining to print Same as USI command The UT command when compared to the US1 command then adds a Lyyyyy to the end where yyyyy is the number of unprinted raster lines 07PnnnLyyyyy Parallel Port e Ifan error occurs the printer will print the error number and the printer s indicator s LED will indicate an error condition See the individual printer s user manual for details Mobile Printers Only TR220 e Additionally enables command error reporting via printer s status indicator The indicator is turned off by default for this printer only Note The pr
21. 5 30 07 EPL Programming Guide 14245L 001 Rev A 166 EPL Commands X X Box Draw Description Use this command to draw a box shape Syntax Xp P2 P3 Pa ps Parameters This table identifies the parameters for this format Parameters Details p Horizontal start Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots P3 Line thickness Line thickness in dots p4 Horizontal end Horizontal end position X in dots position ps Vertical end position Vertical end position Y in dots gt Example This example will produce the results shown below NJ X50 200 5 400 204 X200 50 10 20 400 J P1 a N 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 167 Y Serial Port Setup Description Use this command to establish the serial port communication parameters After receiving this command the printer will automatically reset enabling the new rate To send commands and data to the printer the host s serial port parameters must match the printer s serial port parameters Verify the printer s configuration settings with the AutoSense Dump Mode Printout see the printer s user manual for details The printer s default serial port parameters are 9600 baud No Parity 8Data Bits 1 Stop Bit Change the printer s serial port parameters with the Y command after communication has been established w
22. Buckinghamshire HP13 6EQ UK Telephone 44 0 1494 472872 Facsimile 44 0 1494 450103 Zebra Technologies Asia Pacific LLC 16 New Industrial Road 05 03 Hudson TechnoCentre Singapore 536204 Telephone 65 6858 0722 Facsimile 65 6885 0838 Part Number 14245L 001 Rev A 2007 ZIH Corp
23. Printer and Firmware Compatibility Table 7 identifies the supported printer model firmware version and command type internal wired external wired or wireless for all SGD commands In order to set and get configurations the noted supported SGD commands can also be used through the serial parallel and USB interfaces Important All the firmware versions noted in Table 7 refer to minimum firmware version required Table 7 SGD Command Syntax Key Internal Wired 9 External Wired Bl Wireless M SGD Commands S4M ZM400 ZM600 appl bootblock MW E53 15 0 appl name GEN E53 15 0 card inserted N E53 15 0 card mac_addr A E53 15 0 device languages MW E53 15 0 external_wired ip addr B E53 15 0 external wired ip arp interval B E53 15 0 external wired ip default addr enable B E53 15 0 external wired ip dhcp cid all B E53 15 0 external wired ip dhcp cid enable B E53 15 0 external wired ip dhcp cid prefix B E53 15 0 external wired ip dhcp cid suffix B E53 15 0 external wired ip dhcp cid type B E53 15 0 external wired ip gateway B E53 15 0 external wired ip netmask B E53 15 0 external wired ip port B E53 15 0 external wired ip protocol B E53 15 0 external wired ip timeout enable B E53 15 0 external wired ip timeout value B E53 15 0 external wired mac addr B E53 15 0 internal wired ip addr E53 15 0 internal wired ip arp interval E53 15 0 int
24. Sensing through the label liner at the gap between labels Looking through a hole notch in the tag Printers equipped with a black line sensor can determine the top of each label or tag by sensing a black line preprinted on the media backing 5 30 07 EPL Programming Guide 14245L 001 Rev A 138 EPL Commands Q gt Sensor location is important when selecting the proper of label or tag type for printing See the printer s user manual for specific information on alignment adjustment and position of the transmissive gap or reflective black line sensors If the label size is not set properly the printer may print off the edge of the label or tag and onto the backing or platen roller Repeated printing off the edge of the label can cause excessive print head wear Maintain a minimum margin of 0 04 inches 1 mm on all sides of the label Setting the label size to large can cause the printer to skip labels Example 1 Standard Label p Where pl 20 mm 160 dots p2 3 0 mm 24 dots The Q command would be 0160 24 Example 2 Butterfly Label pl 12 5 mm 100 dots p2 3 0 mm 24 dots p3 3 0 mm 24 dots Where The Q command would be 0100 24424 14245L 001 Rev A EPL Programming Guide 5 30 07 gt Example 3 Black Line on Perforation SG N Perforation KA Where p1 p2 p3 The Q command would be 0100 24424 gt Example 4 Bl
25. This syntax shows how you can send multiple getvar commands 1 U getvar ip telnet enable getvar ip dhcp enable Sana getvar ip dhcp cid prefix 3 END 1 The command portion of the string does not use the 1 after the U Commands issued after the first command do not require the U 3 The string of commands is terminated by the word END with a space after the word and by a carriage return line feed 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 179 appl bootblock appl bootblock t Description This command refers to the bootblock version On the configuration label the bootblock number is identified as the hardware ID This command is only supported on Zebra ZM400 ZM600 printers Type getvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details This command returns the bootblock version number that appears on the configuration label getvar Format U1 getvar appl bootblock gt Example In this example the get var returns the bootblock version number Ul getvar appl bootblock 5 30 07 EPL Programming Guide 14245L 001 Rev A 180 SGD Printer Settings appl name appl nam
26. ZEBRA When the set var value is set to ZEBRA the getvar result is ZEBRA 5 30 07 EPL Programming Guide 14245L 001 Rev A 300 SGD Wireless Commands wlan tx_power wlan tx power Description This printer setting refers to specifying the wireless transmit power Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the wireless transmit power Format Ul getvar wlan tx power setvar This command instructs the printer to set the wireless transmit power Format Ul setvar wlan tx power value Values Decimal values of 1 5 20 30 50 100 Default 100 gt Example This set var example shows the value set to 100 Ul setvar wlan tx power 100 When the set var value is set to 100 the getvar result is 100 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 301 wlan tx_rate wlan tx rate Description This printer setting refers to specifying the wireless transmit rate Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the synt
27. ZPL or SGD that was sent last determines the current setting Some RF cards do not support all of the SGD commands 5 30 07 EPL Programming Guide 14245L 001 Rev A 176 SGD Printer Setting Commands Overview Overview This section describes how and why to use the Set Get Do SGD commands It also provides an example of a typical command structure Note SGD commands must be terminated by a carriage return or a space and line feed SGD commands are commands that allow you to configure all printers with firmware versions E53 15 x or later The printer performs the specified function immediately after receiving the command The commands are e setvar e getvar e do setvar Command Setvar commands are used to configure printer settings to specific values by setting them in the printer e must be terminated by a space character or a CR LF 0xOD 0x0A Important The setvar command and attributes must be specified in lower case getvar Command Getvar commands are used to get the current value of the printer settings e must be terminated by a space character or CR LF 0xO0D 0x0A The printer responds with the printer setting of if the printer setting does not exist usually due to incorrect spelling of the printer setting it has not been configured yet Important The printer settings and attributes must be specified in lower case 14245L 001 Rev A EPL Programming Guide 5 30 07 SG
28. value setvar This command instructs the printer to set the wireless security value Format Ul setvar wlan security value Values 1 No Security or none 2 WEP 40 bit or wep 40 bit 3 WEP 128 bit or wep 128 bit 4 EAP TLS or eap tls 5 EAP TTLS or eap ttls 6 EAP FAST or eap fast 7 PEAP or peap g LEAPor leap 9 WPA PSK or wpa psk 10 WPA EAP TLS or wpa eap tls 11 WPA EAP TTLS or wpa eap ttls 12 WPA EAP FAST or wpa eap fast 13 WPA PEAP or wpa peap 14 WPA LEAP or wpa leap Default 1 gt Example This setvar example shows the value set to 1 Ul setvar wlan security 1 When the setvar value is set to 1 the getvar result is none 5 30 07 EPL Programming Guide 14245L 001 Rev A 296 SGD Wireless Commands wlan signal noise wlan signal noise Description This command returns the signal noise on the wireless network Values above 40 represent a very a very significant noise and radio communication is not reliable Type getvar Note These are key reference links for this command 2 e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command instructs the printer to return the current signal noise on the wireless
29. 4 Verify printer personality with Dump Mode printout Line Mode or Page Mode EPL2 5 Press the Feed button to exit the Dump Mode 5 30 07 EPL Programming Guide 142451 001 Rev A 36 Printer Configuration Media Detection Media detection in EPL2 printers is a combination of programming and printer media sensing The Q Set Form Length and O Option commands program the media detection method The user must configure the printer for the media type and the programmed form or label in use The printer can detect the beginning and end of the printable area on the media by one of three methods gap notch hole or black line The gap method detects the difference in optical density of a label on a liner from the liner only with the transmissive gap sensor The notch method uses the transmissive sensor to detect a hole in the media gap less labels or tag stock The black line method uses the reflective sensor to detect a preprinted black line on the media back for gap less labels or tag stock Printing on continuous media requires programming to control media positioning EPL2 printers also support a Label Dispense mode as a printer configuration option for most models The printers use a Label Taken sensor to detect the removal of a label One or more of these sensors may require user adjustment or configuration for proper operation All EPL2 printers have an AutoSense feature to optimize label and label gap d
30. 80 80 912 682 456 88 88 1152 862 576 96 96 1392 1042 696 104 104 1632 1222 816 120 120 2100 1573 1050 132 132 2608 1954 1304 144 144 3116 2335 1558 1 Paired digits represent the best case compression Adjacent digit pairs can be encoded into eight bits 2 The implied cmopressibility requires the data be composed of either all lowercase or all uppercase characters with digits and spaces allowed 3 Any ASCII character 0 127 can be encoded one to one extended ASCII 128 255 requires an additional two byte overhead Automatic Data Matrix Bar Code Generation The printer automatically tests and changes the Data Matrix bar code geometry to optimize the symbol size per the specified column and row p thec prefix and ps the r prefix parameters If no row or column parameters are specified the printer will create a minimum size symbol based on the calculated compressed size of the data The number of columns and rows in the symbol will be automatically determined with a preference towards the smallest square symbol that will accommodate the compressed size The user may wish to force the number of rows and or columns to a larger value to achieve uniform symbol sizes 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 69 b If the column c parameter is only specified and it s 18 26 32 36 or 48 or if only rows is specified and it is 8 12 or 16 a rectangular
31. Example This setvar example shows the value set to off Ul setvar external wired ip dhcp cid enable off What the set var value is set to is the get var result In this example the get var result is of f LL 5 30 07 EPL Programming Guide 14245L 001 Rev A 218 SGD Wired Commands external wired ip dhcp cid prefix external wired ip dhcp cid prefix Description This printer setting defines the prefix to be prepended to the DHCP client identifier option 61 when DHCP is enabled on the external wired print server and external wired ip dhcp cid_type is setto 0 or 2 This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This feature works with the ZebraNet 10 100 External Print Server firmware version 1 1 5 Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier prefix of the external wired print server Format Ul getvar external _wired ip dhcp cid_prefix setvar This command instructs the printer to change the CID prefix of the external wired print server Format Ul setvar external wired ip dhcp cid prefix value Value
32. Format U1 getvar wlan associated gt Example In this example the get var result is yes Ul getvar wlan associated 5 30 07 EPL Programming Guide 14245L 001 Rev A 264 SGD Wireless Commands wlan channel_mask wlan channel mask Description This printer setting refers to specifying the wireless channel masks to enable and disable various channels Type getvar setvar Note These are key reference links for this command t e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the wireless channel mask value Format U1 getvar wlan channel mask setvar This command instructs the printer to set the wireless channel mask value Format U1 setvar wlan channel mask value Values 4 Hexadecimal digits preceded by Ox 0x0000 to OxFFFF For commonly used channel masks see Table 6 on page 264 Default 0x7FF Table 6 Channel Mask Settings Region Channel Mask United States Canada Latin America Ox7FF Europe Middle East Africa other Ox1FFF Japan Ox3FFF gt Example This set var example shows the value set to OX7FF Ul setvar wlan channel mask Ox7FF When the set var value is set to OX7FF the getvar result is Ox 7FF
33. Japanese 300 dpi Double byte fonts 36 x 36 dots 300 dpi Single byte fonts 24 x 26 dots Korean Reserved Fonts 1 5 are fixed pitch e Asian language option printers support a single language with fonts 8 and 9 ps Horizontal multiplier Horizontal multiplier expands the text horizontally Accepted Values 1 6 8 Pg Vertical multiplier Vertical multiplier expands the text vertically Accepted Values 1 9 p Reverse image Accepted Values N normal R reverse image DATA Fixed data field Fixed data field The backslash character designates the following character is a literal and will encode into the data field To Print Enter into data field Company Company code code 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 43 A P Example In this example font 5 only supports upper case characters Refer to Appendix B Character References for a complete listing of available fonts and character sets supported Nu A50 0 0 1 1 1 N Example 1 J A50 50 0 2 1 1 N Example 2 J A50 100 0 3 1 1 N Example 3 J A50 150 0 4 1 1 N Example 4 J A50 200 0 5 1 1 N EXAMPLE 5 J A50 300 0 3 2 2 R Example 6 J PI I The code above will produce this label Example 1 Example 2 Example 3 Example 4 EXAMPLE 5 Example 6 gt Note Use the LE command to create reverse print text instead of the R in the A command
34. Line Draw White cs2osdeses Baa NIAN paaa BANA teens diva des Mea ee NENENG 118 Line Mode Font Substitution 13 i434 d RANG TAKA Rh EXQUE ERE E qu cR REEF 123 Macro POP OUNGE cusa we RA X RB NG Hal RNERIQESESMETQEFEDS TS EI CE ERE EE 124 Memory Allocation ied Rue S eese ue PELE cid ace Rech ead OCA RR RUN edens 119 PING rr hams ener ends BED a te AHA NAA tees ee det ated Kae 133 Print AUDIO a asso bs S x aeURRERICERE A a e pik Ep RR Eae Ea Ned Rs 134 Print Configuration General ree 146 Print BIIeolloId puna ades PERPE MEI ides de ESSE EN MERE RIPE DUERME dee Eee 168 Print Form Information us aca errem x er ee ake OY See UPU RR ERG HERS SS Wu Re dus 99 Print Graphics Mappe ETT 103 Print Graphics Intermatoft su maa naag eque Ron FE Rer OR E PESER ERI De egEH sees se 104 Print Head History Report a a kA AG Des rem eees re yn RUE eR RO RN A RR REG ANA 326 Print Head Life Reminder Control 225226 4400s024 feeeaees exe ERA REG ERR RE 323 Print Odometer Status Reporting eee 329 Print Soft Font Information 3a Rr E ER REESE EE Rd RE Re qe eu a Ra Red we 88 Read Print Odometers vu ei eaque aso ne pea ds eite uasa AG de see CRUS 327 13979L 002 Rev A EPL Programming Guide 5 30 07 Functional Table of Contents for EPL Commands 13 Reset Label Counter Mode 0 0 ee eee eee es 148 Reset Printer te ee eee ee eee eee ees 171 Retrieve FORM nsi saca ene ANA an WG Wns Ach Ka Sea RT econ tis 101 RSS 14 Bar Co
35. Something similar to this is shown 8516 INCHES 21632 CENTIMETERS 2 To reset the these values to 0 type Ul setvar odometer media marker count2 0 3 To confirm these settings were reset type Ul getvar odometer media marker count2 If the resetting was successful this is shown O INCHES 0 CENTIMETERS 5 30 07 EPL Programming Guide 14245L 001 Rev A 208 SGD Printer Settings odometer total_print_length odometer total print length Description This command tracks the total length of media that printed over the life of the printer This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar Note These are key reference links for this command t e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command returns the value of the total length of media that printed over the life of the printer Format Ul getvar odometer total print length gt Example This example shows how to get the total length of media that printed over the life of the printer 1 To get the total length of media that has printed to date type Ul getvar odometer total print length Something similar to this is shown 8560 INCHES 21744 CENTIMETERS 14245L 001 Rev A EPL Programming
36. Verify communication is working properly by printing a Printer Configuration or Test using the printer s driver properties window See Sending Commands Directly to the Printer on page 21 for more details 2 Install the Zebra Firmware Downloader on your system by selecting Start gt Programs gt Zebra gt Firmware Downloader Programs Accessories gt 3 Documents Ga E a Settings gt a kid j2 Search 5 Help and Support o ad Run P Log Off E Shut Down 3 From the Printer menu select Auto Detect Untitled Firmware Downloader E nl x File Edit View Printer Tools Help EFEK M Print Test Page Auto Detect connected printers 5 30 07 EPL Programming Guide 14245L 001 Rev A 24 Introduction 4 Click on your Zebra printer to select the printer for download Untitled Firmware Downloader I m Bi xj File Edit View Printer Tools Help sa Printer Name Model Port Download Fie Download Status Printer 1 Zebra TLP3842 USB None Selected 68 9 u Gla E Ready NUM 5 From the File menu choose Select Firmware File iol File Edit View Printer Tools Help Open Printer Settings File Ctrl O 7 Save Printer Settings File Ctrl S ME Select Firmware File Clear Firmware File Exit Select Firmware File NUM 1 Use the Browser window to select y
37. internal wired ip dhcp cid type Description This printer setting defines the type of client identifier DHCP option 61 that will be sent if DHCP is enabled on the internal wired print server A value of 1 means the type of Ethernet and the printer s MAC address will be used A value of 0 or 2 means the client identifier sent will be internal wired ip dhcp cid prefix concatenated with internal wired ip dhcp cid suffix This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 M printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier type for the internal wired print server Format Ul getvar internal wired ip dhcp cid type setvar This command instructs the printer to enable synthetic Client Identifier for the internal wired print server Format Ul setvar internal wired ip dhcp cid type value Values om ASCII string 1 wired print server s MAC address 2 HEX value Default Value 1 Example This setvar exampl
38. p2 p3 p4a PROMPT Parameters This table identifies the parameters for this format Parameters Details p Counter number Accepted Values 0 9 pa Maximum number of Accepted Values 1 29 digits for counter p3 Field Justification Accepted Values L Left R Right C Center N No Justification Step Value Accepted Values or sign followed by a single digit of 1 9 P4 Using a step value of 0 allows the counter to be used as an additional variable data field PROMPT An ASCII text field that will be transmitted to the KDU or host via the serial interface each time the command is executed Typically used to request the operator to enter a starting counter value KDU Prompt Having the first character of the prompt a single minus sign Options will cause the prompt to display only once after form retrieval The C command is used in forms that require sequential numbering When initializing counters they must be defined in order e g CO first C1 second 5 30 07 EPL Programming Guide 14245L 001 Rev A 84 EPL Commands C Field justification p3 affects the printing of counter data When L R or C are selected the counter field is the width of p value Data will justify within the counter p7 field per the selected p3 The N parameter will print the minimum number of characters To print the contents of the counter the counter number is referenced in the DATA fiel
39. p4 Code Model prefix m Accepted Values 1 Model 1 2 Model 2 Default Value Model 2 Ps Scale Factor prefix s Accepted Values 1 99 Default Value 3 pg Error Correction Level prefix e Accepted Values L Lower error correction most data M Default Q Optimized for error correction over data H Highest error correction least data Default Value M p Data Input Mode prefix i Accepted Values A Automatic Data Select M Initialized the manual data mode and the data type is set by the first character in the fixed data field DATA Default Value A 5 30 07 EPL Programming Guide 14245L 001 Rev A 82 EPL Commands b Parameters Pg Append Symbol prefix D Details The Append Symbol parameter option allows the programmer to join data from 2 to 16 QR code symbols Sub prefix Values Description c 01 16 Symbol Number d 01 16 Divisions p 00 FF Hex Parity DATA Represents a fixed data field Data sent to the printer is converted to one of four formats depending upon the value set by parameter p Data Input Mode select By default the printer will automatically select the data mode for the entire fixed data string The printer will check and change the data encoding method to achieve the highest data compression If parameter p is set to IM then first character in the Data must be one of the following N Numeric 0 9
40. parameter p4 This is the recommend method because it provides the best size position and centering of the black line rectangle bordering the reversed text 5 30 07 EPL Programming Guide 14245L 001 Rev A 44 EPL Commands A Special JIS Code Page Programming Considerations The JIS keyboard technique utilizes double byte data characters Each byte of the of the double byte character can be represented by one of the lower 128 ASCII data characters 20 through 7F hexadecimal The printer uses a Shift amp to recognize a JIS character text data string Once the JIS text mode has been set with the Shift amp the JIS text mode remains in effect until the text data string is terminated Shift 1C hexadecimal or 28 decimal amp Ampersand 26 hexadecimal or 38 decimal If any text data string contains the ASCII character values for the quote character then it must be proceeded by a backslash quote 22 hexadecimal or 34 decimal backslash C5 hexadecimal or 92 decimal Note Enter the Shift character with the number pad on the standard 101 key PC keyboard With the Number Lock on type 028 on the number pad while holding the ALT key down This is a standard method of entering ASCII characters not directly supported by a keyboard When using the JIS if the last character in a string of characters is a backslash 1 then the Shift character followed by any character is required to exit the JIS ch
41. rn 134 dq Set Label Widti maa xang ied LATAK LAAN E GEAR ROG ER Pose ne LANANG 135 Q Set Form Length 2774 pagawa Re ange sees eee DRA PER ND DADAP APANG 137 r Set Double Buffer Mode 0 00 ee 140 R Set Reference Point tte 141 S Speed Select ete eee 142 5 30 07 EPL Programming Guide 14245L 001 Rev A 5 6 Contents TD Date Recall amp Format Layout aaea TS Set Real Time Clock 000000 eee ee TT Time Recall amp Format Layout 000 U Print Configuration General a UA Enable Clear Label Counter Mode 20005 UB Reset Label Counter Mode a UE External Font Information Inquiry a UF Form Information Inquiry 0 000 eee eee UG Graphics Information Inquiry 00000 eee ae UI Host Prompts Codepage Inquiry 0 0c eee eee UM Codepage amp Memory Inquiry cee ee eee UN Disable Error Reporting 0 cece eee UP Codepage amp Memory Inquiry Print 2 005 UQ Configuration Inquiry 0 00 ee US Enable Error Reporting 0 00 e eee eee UT Enable Alternate Error Reporting 0 2 0 eee U Host Prompts Motor Temperature eee eee US Host Prompts Battery Status 0 ee V Define Variable 0 000 ccc ee W Windows Mode 0 00 c eee eh xa AutoSense 2 X Box Draw edidi BABA eee se
42. used by the external wired print server Format Ul setvar external wired ip protocol value Values bootp uses the standard bootp addressing method to obtain an IP address and configuration dhcp uses the standard dhcp addressing method to obtain an IP address and configuration for a server specified period of time rarp uses the standard rarp addressing method to obtain an IP address glean uses the IP address from a PING packet that is sent to its hardware address unicast address permanent uses static values assigned through other commands all tries all of the dynamic addressing methods not permanent to obtain an IP address Default a11 Example In this example the setvar result is the current programming language that the printer is using Ul setvar external wired ip protocol bootp What the set var value is set to is the get var result In this example the get var result is bootp 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 225 external_wired ip timeout enable external wired ip timeout enable Description This network setting refers to enabling the connection timeout on the external wired 10 100 print server For this to take effect the print server must be reset This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Type getvar setvar Note These are key reference links for this command
43. value 1 2 3 1 Command always preceded with an exclamation point and must be specified in lower case A space resides between the and U1 and between U1 and the command setvar or getvar 2 Attribute always in double quotes and must be specified in lower case 3 Chosen value always in double quotes Only applicable for setvar and do This command must be terminated by a space character or a CR LF Ox0D 0x0A Note Some RF cards do not support all of the SGD commands How to Send Multiple SGD Commands For any getvar setvar or do command if you issue the syntax without the 1 and use the END command followed by a space multiple SGD commands are sent simultaneously LL Example This syntax shows how you can send multiple getvar commands 1 U getvar ip telnet enable getvar ip dhcp enable Sana getvar ip dhcp cid prefix 3 END 1 The command portion of the string does not use the 1 after the U Commands issued after the first command do not require the U 3 The string of commands is terminated by the word END with a space after the word and by a carriage return line feed 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 213 external_wired ip addr external wired ip addr Description This command allows you to get or set the external wired print servers s IP address This command is only supported on Zebra
44. xxx font height in dots y direction 0 0 1 90 2 both A XXX Y last font 5 30 07 EPL Programming Guide 14245L 001 Rev A 150 EPL Commands UF UF Form Information Inquiry Description This command will cause the printer to send information about forms currently stored in the printer back to the host Syntax UF Parameters There are no parameters for this format Example UF will produce HHH FORMNAME1 FORMNAME2 FORMNAMEn number of forms first form name second form name last form name 14245L 001 Rev A EPL Programming Guide 5 30 07 UG Graphics Information Inquiry EPL Commands 151 UG Description This command will cause the printer to send information about graphics currently stored in the printer back to the host Syntax UG Parameters There are no parameters for this format P Example UGA will produce THE number of graphics GRAPHICNAME1 first graphic name GRAPHICNAME2 second graphic name GRAPHICNAMEn last graphic name 5 30 07 EPL Programming Guide 14245L 001 Rev A 152 EPL Commands Ul UI Host Prompts Codepage Inquiry Description This command will cause the printer to enable prompts to be sent to the host and it will send the currently selected codepage to the host through the RS 232 port This command also disables software flow control XON XOFF Hardware flow control is not disabled DTR CTS To restart software flow
45. 07 y4 Year displayed as 4 digits 2007 me Month displayed as 3 letters JAN mn Month displayed as 2 digits 01 dd Day displayed as 2 digits 15 Separator character Accepted Values Any ASCII character value between 032 and 063 The separator character is printed between the results of each of the supplied parameters gt Example In this example the current date is January 15 2000 TDy2 me dd 00 JAN 15 TDdd me y44 15 JAN 2000 TDdd mn y44 15 01 2000 TDdd mn y2 15 09 00 A100 100 0 4 1 2 N Today is TD l Today is 15 09 00 A100 200 0 4 1 2 N Next Week TD 07 1 Next Week 22 09 00 A100 300 0 4 1 2 N Next Month TD 30 l Next Month 15 10 00 A100 400 0 4 1 2 N Two Months TD 61 J Two Months 15 11 00 5 30 07 EPL Programming Guide 14245L 001 Rev A 144 EPL Commands TS TS Set Real Time Clock Description Use this command to set the time and date in printers equipped with the Real Time Clock option Syntax TSp P2 P3 Pa P5 P6 Parameters This table identifies the parameters for this format Parameters Details p Month Accepted Values 01 12 P2 Day Accepted Values 01 31 P3 Year Value is equivalent to the last two digits of Year e g 95 Accepted Values 90 99 to indicate 1990 1999 00 89 to indicate 2000 2089 p4 Hour Shown in 24 hour format Accepted Values 00 23 ps Minutes Accepted Values 00 59 Pg Seconds Accepted Values 00 59 gt Example In
46. 10 WORLD A10 200 0 3 1 1 N This Graphic Was Printed With Orientation Set To ZB P1 This Graphic Was Printed With Orientation Set To ZT BZ OL 105 uOpye 3UST2O MTM pOjUTAJg BEM 3TUde2o eyl Print Direction 5 30 07 EPL Programming Guide 14245L 001 Rev A 170 EPL Commands Download Variables gt Description This command signals the printer to fill in variable or counter prompt data field The host system can send data representing variables and or counters to the printer after a stored form containing variables and or counters has been retrieved Syntax DATA The amount of data following the question mark line must match exactly the order and total number of variables and or counters for that specific form Data must be entered as follows Each DATA line represents a variable or counter data field fill in Variables in ascending order e g VOO first V01 second Counters in ascending order following Variables e g CO first CI second Parameters There are no parameters for this format Example FK forml l delete form forml1 FS forml l begins the form store V00 15 N Enter Part Name J V01 5 N Enter Quantity J A50 10 0 3 1 1 N V00 A50 400 0 3 1 1 N Quantity Vol FE ends form store sequence FR forml l retrieve for formi Pl variables follow Screws first variable 2354 second variable P14 print one label
47. 25 mm s 2742 1 1 5 ips 37 mm s dn 2 2 0 ips 50 mm s 3842 2824 1 1 5 ips 37 mm s 2844 2 2 0ips 50 mm s 3 2 5 ips 63 mm s 4 3 5 ips 83 mm s 1 5 ips 37 mm s 2 0 ips 50 mm s 2746 2 5 ips 63 mm s 2 0 ips 50 mm s 2746e 3 0 ips 50 mm s 2348 4 0 ips 50 mm s 5 0 ips 50 mm s Hi ms A wl N wl t pa 2684 Strata 6 0 ips 50 mm s 1 0 ips 25 mm s 2 0 ips 50 mm s 3 0 ips 50 mm s B wy N 4 0 ips 50 mm s Example This example selects 2 ips 50 mmps 24 14245L 001 Rev A EPL Programming Guide 5 30 07 TD EPL Commands 143 TD Date Recall amp Format Layout Description Use this command to define the date format and print date data The TD variable is inserted within a Text or Bar Code command s DATA parameter to print the date The TD variable supports offsetting day by up to 253 days see examples below for usage This command only works in printers equipped with the Real Time Clock time and date option Power Up Default Format mn dd y4 Syntax TDp p2 P3 Parameters This table identifies the parameters for this format Parameters P17 Details The parameters describe the format of the date display At P27 lease one parameter must be supplied Each parameter can be any of the acceptable values listed below P3 7 Value Description y2 Year displayed as 2 digits
48. 255 255 0 Ul setvar internal wired ip netmask 255 255 255 0 When the set var value is set to 255 255 255 0 the get var result is 2594209 200 0 5 30 07 EPL Programming Guide 142451 001 Rev A SGD Wired Commands internal_wired ip port 238 internal wired ip port Description This printer setting refers to the internal wired print servers port number that the TCP print service is listening on Normal TCP communications from the host should be directed to this port This command is only supported on Zebra ZM400 ZM600 and SAMTM printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar a Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see GD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the internal wired printer servers TCP UDP port number Format Ul getvar internal wired ip port setvar This command instructs the printer to set the internal wired print servers TCP UDP port number Format U1 setvar internal wired ip port value Values 1 65535 excluding any ports currently used by other services such as 21 23 80 and 515 Default 9100
49. 5 30 07 EPL Programming Guide 14245L 001 Rev A 244 SGD Wireless Commands Overview Overview This section describes how and why to use the Set Get Do SGD commands It also provides an example of a typical command structure Note SGD commands must be terminated by a carriage return or a space and line feed SGD commands are commands that allow you to configure all printers with firmware versions E53 15 x or later The printer performs the specified function immediately after receiving the command The commands are e setvar e getvar e do setvar Command Setvar commands are used to configure printer settings to specific values by setting them in the printer e must be terminated by a space character or a CR LF 0xOD 0x0A Important The setvar command and attributes must be specified in lower case getvar Command Getvar commands are used to get the current value of the printer settings e must be terminated by a space character or CR LF 0xO0D 0x0A The printer responds with the printer setting of if the printer setting does not exist usually due to incorrect spelling of the printer setting it has not been configured yet Important The printer settings and attributes must be specified in lower case 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 245 Overview do Command Do commands are used to instruct the printer to perform predefined acti
50. Disable Top Of Form Backup All Cases 0 113 Download Vanablesens ues cio kde xX RR EX ed xe SE SERS Leese ERRARE ER 170 Enable Alternate Error Reporting 02 0 cece eee ee 159 Enable Clear Label Counter Mode 0 ccc eee tenes 147 Enable Dump Mode 22 5 2c 24356 BRA Seances REA ted EAR Re Riu Kaka regu Ra a 4 As 87 Enable Error Reporting isses RU REG HER noe tee ds ods eb Pee EG Ea eR Es 157 Enable Print Head Life Reminder icis scr ERR eee RR E eee eee Pee bees a eee es 325 Enable Top Of Form Backup uie actu pae AARAL DA DA eae eek qa Va UR eee s 114 End Ponti etoile soo 22229 nx 22023 EDS KANG MA NAAT AAG Ad GRE HAHANGA ANGAL od 5s 98 Error Report Immediate 22052 zuewa ke Ea ehh bead WAG BRA REG ERR 173 External Font Information Inquiry 15er RR REEF RERO RA RE RR RR 149 Form Information Inquiry 3 Saepe x eke Seed BSS a wee OR eK ERE ERG EIDESDRFEEIG E E 150 Graphics Information Inquiry III 151 Hardware CIDUOS 2 2 sak KAMAG Ee ERE Ae derer RE M anaes IS EAS 130 Host Prompis Batlety Status s ugue roa Re ones sheds Cee Ree Roh ox di E cR pons 161 Host Prompts Codepage Inquiry 0 00 ee ee 152 Host Prompts Motor Temperature 000 eee eee 160 Line Draw Black isse rate oie Naan DAG NBI mae SEE Bea eee AD EFE TREES 116 Line Draw Diagonal ga ass REESE RR RARE GR RR ein des KA PA d a a eet 117 Line Draw Exclusive OR pana dass RP FERA cud BAG es bre eee en hhe endear ods 115
51. Document 000 ccc eee eee 16 How This Document Is Organized sisse 16 CONTAGIS BANA BADIAN aed NINDA GAD RAD DAA DD RAD TAB LAN DAA DD AA DALANG 17 Document Conventions 00 eee 18 5 30 07 EPL Programming Guide 14245L 001 Rev A 16 About This Document Who Should Use This Document Who Should Use This Document This Guide is for programmers who are familiar working with programming languages How This Document Is Organized The Guide is set up as follows Section Description Introduction Provides a high level overview about this guide and EPL Printer Configuration Covers interpreting your printer s configuration setup and setting basic modes EPL Commands Contains the complete alphabetical listing of EPL commands SGD Printer Setting Commands Provides a high level overview of printer setting Set Get Do SGD commands SGD Wired Commands Provides a high level overview of the wired Set Get Do SGD commands SGD Wireless Commands Provides a high level overview of the wireless Set Get Do SGD commands Appendixes The appendixes include Character References 2746e Print Odometer SGD Command Support 14245L 001 Rev A EPL Programming Guide 5 30 07 Contacts You can contact Zebra Technologies at the following Web Site http www zebra com About This Document Contacts 17 Technical Support via the Internet is available 24 hours per day 365 day
52. Dots in a decimal number converted to a hexadecimal number 5 30 07 EPL Programming Guide 14245L 001 Rev A 92 EPL Commands ES Parameters DATA 1st Character bitmap Details P3 X C4 bit map data in bytes Data is received in bytes on a line by line basis The font character s 0 0 cell map position is in the top left corner of the map as viewed in the 0 degree rotation See the examples on the following pages a9 2nd Download character map position Accepted Values 00 FF hex b 2nd Spacing to next print character Accepted Values 00 FF hex c5 2nd Downloaded characters width Accepted Values 00 FF hex DATA 2nd Character bitmap P3 X C bytes bit map data Repeat for each character until the last character in the set is downloaded a Last Download character map position Accepted Values 00 FF hex b Last Spacing to next print character Accepted Values 00 FF hex Cy Last Downloaded characters width Accepted Values 00 FF hex DATA Character bitmap For fonts with the rotation parameter set for both p2 02 hex Repeat the individual font character download for each 90 rotated character from the start of the character set until the last rotated character in the set is downloaded P3 X Cp bytes bit map data al 90 b1 90 c1 90 DATA1 90 a2 90 b2 90 c
53. Guide 5 30 07 SGD Wired Commands This chapter provides a high level overview of the wired Set Get Do SGD commands The commands in this chapter are only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Important These are important points to note when using EPL ZPL and SGD commands SGD commands are case sensitive EPL ZPL and SGD commands should be sent to the printer as separate files Certain settings can be controlled by EPL ZPL and SGD Configuration changes made in EPL or ZPL can affect configuration changes made in SGD Changes made with one command type EPL ZPL and SGD will affect the data returned to the host in response to EPL ZPL and getvar commands The command type EPL ZPL or SGD that was sent last determines the current setting Some RF cards do not support all of the SGD commands 5 30 07 EPL Programming Guide 14245L 001 Rev A 210 SGD Wired Commands Overview Overview This section describes how and why to use the Set Get Do SGD commands It also provides an example of a typical command structure Note SGD commands must be terminated by a carriage return or a space and line feed SGD commands are commands that allow you to configure all printers with firmware versions E53 15 x or later The printer performs the specified function immediately after receiving the command The commands are e setvar e getvar e do setvar Command
54. Programming Guide 05 30 2007 2746e Print Odometer 329 URR URR Print Odometer Status Reporting Description Use this command to print or report via the serial or USB interface the status and settings for the print head life reminder label Syntax URRp Parameters This table identifies the parameters for this format Parameters are optional and maybe entered and any order Parameters Details p Report Method Sends information back to the host via the serial port and the device last active bi directional interface p Printer s Serial Default Value s gt Example 1 Printout Example for oL Command Default Settings 05 30 2007 EPL Programming Guide 14245L 001 Rev A 330 2746e Print Odometer URR gt Example 2 Activated Print Head Reminder oLy and the Parameters Customized CN Y 40 25 CALL ZEBRA SERVICE PROVIDER oLy Activates Print Head Life Reminder OL40 25 CALL ZEBRA SERVICE PROVIDER Sets Threshold 40 kilometers Frequency 25 labels Message CALL ZEBRA SERVICE PROVIDER URRp Prints Print Odometer Status label see example above 14245L 001 Rev A EPL Programming Guide 05 30 2007 ev Zebra Zebra Technologies Corporation 333 Corporate Woods Parkway Vernon Hills Illinois 60061 3109 U S A Telephone 1 847 793 2600 Facsimile 1 847 913 8766 Zebra Technologies Europe Limited Zebra House The Valley Centre Gordon Road High Wycombe
55. This network setting refers to enabling the connection timeout on the wireless print server For this to take effect the print server must be reset This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to return whether the timeout checking is enabled on the wireless print server Format Ul getvar wlan ip timeout enable setvar This command instructs the printer to enable or disable the timeout checking on the wireless print server Format U1 setvar wlan ip timeout enable value Values Off turns off the connection checking on turns on the connection checking Default on Example This setvar example shows the value set to on Ul setvar wlan ip timeout enable on When the setvar value is set to on the getvar result is on 5 30 07 EPL Programming Guide 14245L 001 Rev A 280 SGD Wireless Commands wlan ip timeout value wlan ip timeout value Description This network setting refers to the number of seconds before the connection times out for the wireless print server For this to take effect the print ser
56. Wireless Commands wlan ip netmask wlan ip netmask Description This setting refers to the wireless print server s subnet mask address This value is ignored if the IP protocol is not set to permanent This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with wireless print server s subnet mask Format Ul getvar wlan ip netmask setvar This command instructs the printer to change the wireless print servers s subnet mask Format Ul setvar wlan ip netmask value Values Any valid subnet mask Default 255 255 255 0 Example This setvar example shows the value set to 255 255 255 0 Ul setvar wlan ip netmask 255 255 255 0 When the set var value is set to 255 255 255 0 the getvar result is 255 255 255 0 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 277 wlan ip port wlan ip port Description This printer setting refers to the wireless print server s port number that the TCP print service is listening on Normal TCP communications from the host should be directed to th
57. ZM400 ZM600 and S4M printers running E53 15 xZ or later This feature works with the ZebraNet 10 100 External Print Server firmware version 1 1 5 Type getvar setvar Important For a set IP address to take affect the IP protocol must be set to permanent and the print server must be reset Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with its current external wired print server IP address Format Ul getvar external wired ip addr setvar This command instructs the printer to change its current external wired print server IP address upon powering the printer on Format Ul setvar external wired ip addr value Values any valid IP address Default 0 0 0 0 Note The setvar value of this command can be affected by the external wired ip dhcp enable command gt Example This setvar example shows the value set to 10 14 4 235 Ul setvar external wired ip addr 10 14 4 235 What the set var value is set to is the get var result In this example the get var result is 10 14 4 235 5 30 07 EPL Programming Guide 142451 001 Rev A 214 SGD Wired Commands external_wired ip arp_interval external wi
58. all stored parameters The programmer should always minimize writing to the non volatile flash printer memory Supported by firmware versions 4 30 and above Syntax default Parameters There are no parameters for this format 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 173 Nee A ee Error Report Immediate Description Use this command to get printer errors and status reports immediately The ee command must be sent via the USB and RS 232 serial interface Mobile printers such as the TR 220 ignore this command The printer will report 4 bytes back to host in the following format XX lt CR gt lt LF gt XX Error Status code lt CR gt Carriage Return ASCII 13 dec lt LF gt Line Feed ASCII 10 dec A Syntax ee Parameters There are no parameters for this format Code Error Status Description 00 No Error 01 Syntax Error 02 Object Exceeded Label Border 03 Bar Code Data Length Error e g EAN 13 is a 12 or 1 digit only 04 Insufficient Memory to Store Data 05 Memory Configuration Error 06 RS 232 Interface Error 07 Paper or Ribbon Empty 08 Duplicate Name Form Graphic or Soft Font 09 Name Not Found Form Graphic or Soft Font 10 Not in Data Entry Mode See Command 11 Printhead Up Open 12 Pause Mode or Paused in Peel Mode 50 Printer Busy Processing Print Job 80 Undefined 81 Cutter Jammed or Not Instal
59. and the last byte in a line is padded with zeros to complete the line and data byte ai Starting Point Line 1 00000000 01111100 00000000 00 7C 00 Line 2 00000000 01111100 00000000 00 7C 00 Line 3 00000000 011 11100 00000000 00 7C 00 Line 4 00000000 11111110 00000000 00 FE 00 i HH REELI LI a 3 Hin L LLLLLLI H Li 0 Data 00 7C 00 00 7C 00 00 7C 00 OO FE OO Line 1 01 10000000 00000000 00000000 01 80 00 00 Line 2 01 11100000 00000000 00000000 01 EO 00 00 Line 3 01 11111100 00000000 00000000 01 FC 00 00 Line 4 00 11111111 00000000 00000000 00 FF 00 00 90 Data 01 80 00 00 01 EO 00 00 01 FC 00 00 00 FF 00 00 5 30 07 EPL Programming Guide 14245L 001 Rev A idi EPL Commands f f Cut Position Description Use this command on an individual printer to provide precision cut placement to Compensate for small sensor to cutter position differences on a printer by printer basis Fine tune the cut position to compensate for differences in media Mobile printers such as the TR 220 ignore this command When using the label liner cutter option the printerwill advance each printed label to the appropriate programmed offset cut position between labels before cutting Due to media differences the printer may not accurately position the labels before cutting causing the cutter to cut the label instead of the liner Note The printer s cutter is not designed to cut labels Labels hav
60. and width would affect row dimensions DATA ASCII data or Represents a fixed data field binary data bytes The backslash character designates the following character is a literal and will encode into the data field To Print Enter into data field Company Company iM code code m PDF 417 General Information A PDF417 symbol is organized into minimum of 3 to a maximum of 90 rows and a minimum of 5 to a maximum of 34 columns of codewords Each codeword is 17 modules wide There are 4 bars and 4 spaces per codeword Multiply the module width in dots p10 by 17 to get the codeword width Multiply the module height in dots p11 by the number of rows to get the symbol height Four of the codewords in each row are start stop and two row indicators The remaining codewords are referred to as the data region and contain symbol overhead and compacted data There can be no more than 928 codewords in the data region All combinations of rows and columns are not legal 90 rows times 30 columns would produce a data region of 2700 codewords which exceeds the 928 codeword maximum per symbol See the following table on the next page that shows the maximum number of rows and the resulting number of codewords in the data region for each column count 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands b PDF 417 Symbol Geometry
61. bp p2 p3 p4 P5 DATA Parameters This table identifies the parameters for this format Parameters p Horizontal start position Details Horizontal start position X in dots P2 Vertical start position Vertical start position Y in dots p3 M Selects MaxiCode bar code p4 c Mode selection Value Description Not Used Automatic selection Mode 2 or 3 m2 Mode 2 m3 Mode 3 m4 Mode 4 m6 Mode 6 1 If p4 mx is not used the printer will use the following rules to automatically format the DATA parameter If the postal code third parameter PC in the DATA is All numeric characters the printer will automatically select Mode 2 e Alpha only or alpha numeric character combinations will set the printer to Mode 3 e Not used the printer automatically selects Mode 3 2 If p4 value is m2orm3 the printerwill use the following rules to format the Data parameter In Mode 2 If a non numeric character is entered in the Postal Code Data parameter field then the MaxiCode bar code will not print In Mode 3 If the Postal Code Data field exceed 6 characters then the additional characters will be truncated from the bar code field 14245L 001 Rev A EPL Programming Guide 5 30 07 Parameters P5 EPL Commands 71 b Details Xy Associated MaxiCode symbol numbering where x z Symbol Number of y Total Number of Asso
62. configuration for a server specified period of time rarp uses the standard rarp addressing method to obtain an IP address glean uses the IP address from a PING packet that is sent to its hardware address unicast address permanent uses static values assigned through other commands all tries all of the dynamic addressing methods not permanent to obtain an IP address Default a11 Example In this example the setvar result is the current programming language that the printer is using Ul setvar internal wired ip protocol bootp What the set var value is set to is the get var result In this example the get var result is bootp 5 30 07 EPL Programming Guide 14245L 001 Rev A SGD Wired Commands internal_wired ip timeout enable 240 internal wired ip timeout enable Description This network setting refers to enabling the connection timeout on the internal wired print server For this to take effect the print server must be reset This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table
63. control a reset command or power must be recycled See also the I and U commands Syntax UIp p2 p3 Parameters This table identifies the parameters for this format Parameters Details The printer will send information about the currently selected code page back to the host in the following format Pi Number of data bits P2 Code page P3 Country code Note The KDU automatically sends this command each time power is applied Example UIA 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 153 UM UM Codepage amp Memory Inquiry Description This command will cause the printer to send to the host the currently selected codepage and memory status through the RS 232 port This command also disables software flow control XON XOFF Hardware flow control is not disabled DTR CTS To restart software flow control a reset command or power must be recycled See also the I M U UI and UP commands Syntax UMp P2 P3 Pa P5 P6 P7 P8 Parameters This table identifies the parameters for this format Parameters Details Pi Image buffer size in KBytes P2 Form memory allocation size in KBytes P3 Form memory free in KBytes P4 Graphic memory allocation size in KBytes P5 Graphic memory free in KBytes De External font memory allocation size in KBytes P7 External font memory free in KBytes Pg Appends a response in the UI command data format S
64. customization parameters set by o series commands Parameters set by the following commands are canceled and returned to default operation oH oM oE Syntax o Parameters There are no parameters for this format The o command is a global printer command It can not be issued inside of a form t must be issued prior to issuing a text or bar code command and printing 5 30 07 EPL Programming Guide 14245L 001 Rev A 122 EPL Commands oB OB Cancel Auto Bar Code Optimization Description This command allows the advanced programmer to disable bar code optimization for rotated 90 amp 270 bar codes Syntax oB Parameters Thre are no parameters for this format The oB command is a global printer command e It can not be issued inside of a form t must be issued prior to issuing a bar code command and printing To reapply bar code defaults issue a o small letter oj command See page C 90 for important details on the effects of using the o command Reset the printer with a 9 command with flash firmware printers or cycle printer power to clear the oB command and return the printer to normal operation Important Zebra Technologies Corporation does not warrant support or endorse the use of bar codes generated by the printer after a oB command has been issued Zebra Technologies Corporation does not support this feature other than with the information supplied in this document 1
65. default addr enable setvar This command tells the printer to use it s default address if no address is provided through DHCP or BOOTP If you do not assign an IP address after 2 minutes the 10 100 Internal PS defaults to IP address 192 168 254 254 Format Ul setvar internal wired ip default addr enable value Values on enabled Off disabled Default on Example This set var example shows the value set to on Ul setvar internal wired ip default addr enable on What the set var value is set to is the get var result In this example the get var result is on n 3 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 231 internal wired ip dhcp cid all internal wired ip dhcp cid all Description This printer setting defines the entire client identifier DHCP option 61 if DHCP is enabled on the internal print server and internal wired ip dhcp cid type is setto 0 or 2 The MAC address is used if the type is set to 1 This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This
66. dots P2 Vertical start position Vertical start position Y in dots p3 AZ Selects Aztec bar code Order is not important for parameters p4 pg Include the prefix letter d e m or x to select the parameter followed by a valid numeric value pa d Standard linear bar code Use the B command parameters to populate this parameter The B command s horizontal and vertical start symbol position parameters p and p are not used This p parameter is terminated with the a Z immediately following the standard bar codes DATA parameter close quote Example This is an example of a standard bar code B50 0 0 3 1 2 50 B 1234567890abc J Example This is an example of p portion of the standard bar code of the same bar code symbol 0 3 1 2 50 B 1234567890abc Z ps e Symbol layer and or error correction levels Both layer and error correction effect the symbol size Accepted Values e0 Default checkword level 23 3 el e99 1 to 99 check words e101 e104 Compact symbol with 1 to 4 layers e201 e232 Full symbol with 1 to 32 layers pg Enables the flg n format Enables the 1g n format using the ASCII Escape character 27 decimal Default Value Disabled 14245L 001 Rev A EPL Programming Guide 5 30 07 Parameters py m Enables menu support option EPL Commands 65 b Details Default Value Disabled Pg r Selects an inverse
67. getvar This command instructs the printer to respond with the encryption key Format U1 getvar wlan wep key3 Format For protection a single prints setvar This command instructs the printer to set the encryption key Format Ul setvar wlan wep key3 value Values 10 hexadecimal characters for 40 bit encryption 26 hexadecimal characters for 128 bit encryption Default All zeros Example This setvar example shows the value set to A1B2C3D4F5 Ul setvar wlan wep key3 A1B2C3D4F5 When the set var value is set to A1B2C3D4F5 the getvar result is 5 30 07 EPL Programming Guide 14245L 001 Rev A 308 SGD Wireless Commands wlan wep key4 wlan wep key4 Description This printer setting refers to the fourth indexed WEP encryption key The WEP encryption key is a hexadecimal string value This key should match the wireless network WEP encryption key 4 Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer respond with the encryption key Format Ul getvar wlan wep key4 For protection a single prints setvar This command instructs the printer to set the encryption key Format U
68. identifies the commands for this format Commands Details getvar This command instructs the printer to return whether the timeout checking is enabled on the internal wired print server Format Ul getvar internal wired ip timeout enable setvar This command instructs the printer to enable or disable the timeout checking on the internal wired print server Format Ul setvar internal wired ip timeout enable value Values Off turns off the connection checking on turns on the connection checking Default on ah Example This setvar example shows the value set to on Ul setvar internal wired ip timeout enable on When the setvar value is set to on the getvar result is on 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 241 internal_wired ip timeout value internal wired ip timeout value Description This network setting refers to the number of seconds before the connection times out for the internal wired print server For this to take effect the print server must be reset This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and
69. p Optional parameters Choice 1 Choice2 Indicates a mandatory choice between two or more items You must include one of the items unless all of the items are also enclosed in square brackets NAME The name of a form or graphic in double quote marks DATA The text or bar code data in double quote marks The backslash character designates the following character is a literal and will encode into the data field To Print Enter into data field V CompanyV N code Company code PROMPT An ASCII text field that will be transmitted to the host via the serial interface each time this command is executed Important All commands and alpha character command parameters are case sensitive Basic Command Syntax Each command consists of one or two ASCII case sensitive alpha characters to identify the specific command desired Some commands require one or more additional parameters to supply the printer with sufficient information to complete the command Refer to Figure 1 for the basic command syntax Figure 1 Basic Command Syntax Command Name WRITE TEXT APoPoPoPoPsPoBr DATI Command Parameters Command Specific Data 14245L 001 Rev A EPL Programming Guide 5 30 07 Introduction 24 Each command line must be terminated with a Line Feed LF character Dec 10 Most PC based systems send CR LF when the Enter key is pressed The Carr
70. page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the current version of the wireless radio card firmware Format Ul getvar wlan firmware version LI Example In this example the get var result is the version of Symbol 4137 card for example F3 91 69 Ul getvar wlan firmware version 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 267 wlan ip addr wlan ip addr Description This command allows you to get or set the wireless print servers s IP address This command is supported only on Zebra ZM400 ZM600 and SAM M printers Type getvar setvar Important For a set IP address to take affect the IP protocol must be set to permanent and the print server must be reset Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with its current wireless print server IP address Format U1 getvar wlan ip addr setvar This command instructs the printer to change its current wireless print server IP address upon powering the printer on Format Ul setvar wlan ip addr value Values any valid IP add
71. parameter value data string must be proceeded by its associated command prefix character 14245L 001 Rev A EPL Programming Guide 5 30 07 Parameters Pe S Sets error correction level EPL Commands 75 b Details Error Correction codewords per symbol If level is not specified a level will automatically be assigned as per the following table Accepted Values s1 s8 EC Level EC Codewords Auto Select Level 0 2 1 4 0 31 2 8 32 63 3 16 64 127 4 32 128 255 5 64 256 511 6 128 512 928 7 256 8 512 5 30 07 EPL Programming Guide 14245L 001 Rev A 76 EPL Commands b Parameters p selects data compaction compression method Details Accepted Values 0 or 1 Default Value 0 c0 Auto encoding The printer will switch between the three compaction modes as needed to create the smallest possible symbol for the given data cl Binary mode The printer will encode the symbol in byte compaction mode PDF417 uses an intermediate data type called a codeword to store the characters in the symbol Each codeword typically consumes a fixed size portion of the total symbol More characters inserted into a codeword results in fewer codewords needed to create a symbol This results in a smaller symbol To provide efficient data compaction PDF 417 supports three types of codewords text numeric and binary Auto Encoding c0 data compaction m
72. parameters for this format Parameters FONTNAME One letter font name Details Accepted Values a z lower case Lower Case named fonts minimize soft font memory usage to only store fonts downloaded and have 256 character limit The following use hexadecimal coding for parameter values p Numberofcharacters Accepted Values 00 FF hex 0 255 decimal for 1 to 256 to be downloaded fonts per soft font set P2 Character rotation Accepted Values 00 hex Oand 180 degrees 01 hex 90 and 270 degrees 02 hex Both 0 and 180 degree rotation pair and the 90 and 270 degree rotation pair p3 Font height Accepted Values 00 FF hex Measured in dots and expressed as a hexadecimal number i e 1B hex 27 dots Font height includes accentors and dissenters of characters and need to fit in the character cell 203 dpi printers 256 dots 1 26 in 32 03 mm 300 dpi printers 00 FF hex 256 dots 0 85 in 21 67 mm a 1st Download character map position Accepted Values 00 FF hex b 1st Spacing to next print character Accepted Values 00 FF hex Downloaded character s next printed character position in dots i e Character tracking the space between characters Must be greater than or equal to the character width see parameter cl Dots in a decimal number converted to a hexadecimal number c 1st Downloaded characters width Accepted Values 00 FF hex
73. plus2 as bar code ora combination of several options B50 300 0 3 1 2 50 B Deluxe V01C2 Combo V01 Writes the text Deluxe followed by the contents of variable 01 followed by the contents of counter 2 followed by the text Combo followed by the contents of variable 01 all as a code 39 bar code or a combination of several options B50 300 0 3 1 2 50 B Deluxe VO1C2 Combo V01 J Writes the text Deluxe followed by the contents of variable 01 followed by the contents of counter 2 followed by the text Combo followed by the contents of variable 01 all as a code 39 bar code 5 30 07 EPL Programming Guide 14245L 001 Rev A 54 EPL Commands B Data with the RTC Time amp Date Functions y The Data field can be replaced by or combined with the following variables TT Prints the current time at this position in the predefined format See the TT command for format selection This variable is available only if the printer Time amp Date option is installed TD Prints the current date at this position in the predefined format See the TD command for format selection This variable is available only if the printer Time amp Date option is installed Note Some bar code formats will not support date names or the date or time delimiters used by the printer to separate data parameters Code 128 Bar Code Function Characters The printer supports Code 128 function control characters FCN Multip
74. print head The R command interacts with image buffer setting as follows The R command forces the printer to use the full width of the print head as the width of the image buffer The R command overrides the q commands print width setting Rotate the image buffer with the Z command to establish top and left margins ZT or the bottom and right margins ZB When positioned correctly prevents printing off two 2 edges of the label opposite the 0 0 reference point Syntax Rp p2 Parameters This table identifies the parameters for this format Parameters Details p Horizontal left Horizontal left margin measured in margin dots P2 Vertical top margin Vertical top margin measured in dots measured in dots Note Use the Q and R commands together for the easiest method of positioning form elements in the print image in left aligned table top printers Repeated printing off the edge of the label can cause excessive print head wear 5 30 07 EPL Programming Guide 14245L 001 Rev A 142 EPL Commands s S Speed Select Description Use this command to select the print speed Mobile printers such as the TR 220 ignore this command and automatically set speed to optimize battery use Syntax Sp Parameters This table identifies the parameters for this format Parameters Pz Speed select value 2443 Orion 1 Details Model Value Speed 2722 0 1 0 ips
75. printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier prefix of the internal wired print server Format Ul getvar internal wired ip dhcp cid prefix setvar This command instructs the printer to change the CID prefix of the internal wired print server Format Ul setvar internal wired ip dhcp cid prefix value Values Any text string up to 10 characters if the CID type is ASCII or 20 characters if the CID type is hexadecimal Default Value Example This setvar example shows the value set to PRTOO1 Ul setvar internal wired ip dhcp cid prefix PRTOO1 What the set var value is set to is the get var result In this example the get var result is PRTOOL 5 30 07 EPL Programming Guide 14245L 001 Rev A 234 SGD Wired Commands internal_wired ip dhcp cid_suffix internal wired ip dhcp cid suffix Description This printer setting defines the unique suffix to be used as the client identifier DHCP option 61 if DHCP is enabled on the internal wired 10 100 print server and internal wired ip dhcp cid type i
76. set var value is set to is the get var result In this example the get var result is PRTOOL 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 273 wlan ip dhcp cid suffix wlan ip dhcp cid suffix t Description This printer setting defines the unique suffix to be used as the client identifier DHCP option 61 if DHCP is enabled on the wireless print server and wlan ip dhcp cid type is setto O or 2 Type getvar setvar Important These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier suffix on the wireless print server Format Ul getvar wlan ip dhcp cid suffix setvar This command instructs the printer to change the client identifier suffix value on the wireless print server Format Ul setvar wlan ip dhcp cid suffix value Values The maximum length of a value allowed is 60 ASCII characters when the CID type is ASCII or 120 hexadecimal values when the CID type is hexadecimal Default Value Example This setvar example shows the value set to printer Ul setvar wlan ip dhcp cid suffix printer What the set var value is set to is the get var result In t
77. table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier prefix and suffix of the internal wired print server Format Ul getvar internal wired ip dhcp cid all setvar This command instructs the printer to change the client identifier prefix and suffix of the internal wired print server The prefix gets cleared and the suffix contains the entire client identifer Format Ul setvar internal wired ip dhcp cid all value Values A maximum length of 60 characters if the CID type is ASCII or 120 characters if the CID type is hexadecimal Default Value gt Example This setvar example shows the value set to printer Ul setvar internal wired ip dhcp cid all printer What the set var value is set to is the get var result In this example the get var result is printer 5 30 07 EPL Programming Guide 14245L 001 Rev A 232 SGD Wired Commands internal wired ip dhcp cid enable internal wired ip dhcp cid enable Description This command determines if DHCP option 61 is turned on or off of the internal wired print server This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command For details
78. the ARP cache time out for the internal wired print server Format Ul setvar internal wired ip arp interval value Values 0 30 Default 0 gt Example This setvar example shows the value set to 0 Ul setvar internal_wired ip arp_interval o What the set var value is set to is the get var result In this example the get var result is 0 E 5 30 07 EPL Programming Guide 14245L 001 Rev A 230 SGD Wired Commands internal_wired ip default_addr enable internal wired ip default addr enable Description This command allows you to default the internal wired print server s IP address This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Important For a set IP address to take affect the IP protocol must be set to permanent and the print server must be reset Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to show the status of the setting of internal wired print server s default IP address feature Format Ul getvar internal wired ip
79. the automatically adjusted symbol size i e width and height Parameters p and ps values are maximum values only 0 Upper left corner of bar code Pio x module width in dots Accepted Values 2 9 i e x2 x9 Default Value Auto selects 6 dots Tests data with maximum size limit set by p4 and ps and then the other optional parameters The printer automatically reduces the module width in one dot increments until the data fits within the symbols maximum dimensions and other applied parameters or until 3 dots has failed then reports an error p11 Y set bar height in dots Accepted Values 4 99 i e y4 y99 Default Value 4 times module width p10 P12 maximum row count Maximum limit for the number of rows to be used for auto selecting symbol features P13 1 maximum column count Maximum limit for the number of columns to be used for auto selecting symbol features P14 t truncated flag Accepted Values 0 not truncated 1 truncated See the PDF 417 specification for details 5 30 07 EPL Programming Guide 14245L 001 Rev A 78 EPL Commands b Parameters Details P15 0 rotation Accepted Values 0 0 1 90 2 180 3 270 Settings of 90 amp 270 will cause the symbols maximum height p andwidth ps values to transpose when automatically calculating and generating the symbol i e the height would affect column dimensions
80. the getvar result is the current programming language that the printer is using Ul getvar device languages Table 3 Programming Languages ZPL Zebra Programming Language EPL Eltron Programming Language 5 30 07 EPL Programming Guide 14245L 001 Rev A 182 SGD Printer Settings ip active_network ip active network Description This command displays if the printer is actively connected to wireless external wired or internal wired This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with what the printer is currently connected to internal wired wireless external wired or unknown Table 4 provides details on the potential return values Format Ul getvar ip active network Example In this example the get var will return the current active network the printer is connected to Ul getvar ip active network Table 4 Printer Responses Return Values Details internal wired This is the return value when an internal wired device is detected wireless This is the return value when a wire
81. the printer after aoWcommand has been issued Zebra Technologies Corporation does not support this feature other than with the information supplied in this document 5 30 07 EPL Programming Guide 14245L 001 Rev A 130 EPL Commands O O Hardware Options Description Use this command to select various printer options Options available vary by printer configuration Options selected and enabled in a printer can be verified by checking the printer configuration printout Dump Mode printer status label See the U command on page 146 and the Explanation of the Status Printout on page 34 Mobile printers such as the TR 220 ignore this command Syntax O C p1 D P L S F Parameters This table identifies the parameters for this format Parameters C Enable optional Label Liner Cutter Details The cutter will cut at the end of each form as specified by the Q command Cp Batch print labels and liner cut p p1 Sets the number of labels to print prior to cut If a number between 1 255 is specified for p4 the printer will cut after the specified number of labels have been printed If b is specified for p4 the batch print amp cut feature is enabled This feature uses the P command to control cutter operation D Enable direct Enable Direct Thermal Mode use this option when using Thermal Mode direct thermal media in a thermal transfer printer d Status Not a command this is a st
82. the printer to change the SMTP server address Format U1 setvar ip smtp server addr value Values Any valid IP address Default 0 0 0 0 Example This setvar example shows the value set to 10 10 10 10 Ul setvar ip smtp server addr 10 10 10 10 When the set var value is set to 10 10 10 10 the getvar result is 10 10 10 10 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 195 ip snmp get_community_name ip snmp get community name Description This printer setting is used when making SNMP queries The SNMP client must supply the get community name that matches the printer s get community name in order to query any SNMP data Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to get the SNMP get community name string Format Ul getvar ip snmp get community name For protection a single prints setvar This command instructs the printer to set the SNMP get community name string Format Ul setvar ip snmp get community name value Values A maximum of 19 alphanumeric characters Default public Example This setvar example shows the value s
83. this example the current date is January 15 2000 TS01 01 95 01 00 004 sets the date to Jan 1 1995 and the time to 1 00 a m TS12 31 01 15 31 004 sets the date to Dec 31 2001 and the time to 3 31 p m 14245L 001 Rev A EPL Programming Guide 5 30 07 TI EPL Commands 145 TT Time Recall amp Format Layout Description Use this command to define the time format and print time data The TT variable is inserted within a Text or Bar Code command s DATA parameter to print the time This command works only in printers equipped with the Real Time Clock RTC time and date option Syntax TTp1 p2 p31 Parameters This table identifies the parameters for this format Parameters Details P1 Po P3 h m or s These parameters describe the format of the time display e At lease one parameter must be supplied Each parameter can be any of the values h m or s and are described below h Hours displayed as 2 digits e g 01 m Minutes displayed as 2 digits e g 15 s Seconds displayed as 2 digits e g 00 Default Value h m s power up default format Enable 12 Hour Appending a to the end of the command string selects 12 clock format hour clock mode The times will display with an AM or PM indicator Default no 24 hour clock mode Separator character The separator may be any ASCII character value between 032 and 063 The separator character is printed between the results of eac
84. use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the time of the internal wired print server in seconds before the connection times out Format Ul getvar internal wired ip timeout value setvar This command instructs the printer to set the time of the internal wired print server in seconds before the connection times out Format Ul setvar internal wired ip timeout value value Values 0 through 3600 Default 300 gt Example This setvar example shows the value set to 300 Ul setvar internal wired ip timeout value 300 When the setvar value is set to 300 the getvar result is 300 5 30 07 EPL Programming Guide 14245L 001 Rev A SGD Wired Commands internal_wired mac_addr 242 internal wired mac addr Description This command retrieves the MAC address of the internal wired print server This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifie
85. with the external wired printer server s TCP UDP port number Format Ul getvar external wired ip port setvar This command instructs the printer to set the external wired print server s TCP UDP port number Format Ul setvar external wired ip port value Values 1 65535 excluding any ports currently used by other services such as 21 23 80 and 515 Default 9100 Example This setvar example shows the value set to 9100 Ul setvar external wired ip port 9100 When the setvar value is set to 9100 the getvar result is 9100 5 30 07 EPL Programming Guide 14245L 001 Rev A SGD Wired Commands external_wired ip protocol 224 external wired ip protocol Description This command configures the IP addressing method used by the external wired print server This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command returns the IP addressing method used by the external print server Format Ul getvar external wired ip protocol setvar This command instructs the printer to configure the IP addressing method
86. 0 draw a diagonal line P14 print one label will produce this label 5 30 07 EPL Programming Guide 14245L 001 Rev A PE EPL Commands LW LW Line Draw White Description Use this command to draw white lines effectively erasing previous information Syntax LWp P2 P3 Pa Parameters This table identifies the parameters for this format Parameters p Horizontal start position Details Horizontal start position X in dots P2 Vertical start position Vertical start position Y in dots p3 Horizontal length Horizontal length in dots p4 Vertical length Vertical length in dots panang Example No LO50 100 400 2041 LO50 200 400 20 1 LO50 300 400 20 1 LW200 50 20 4004 p1 J will produce this label clear image buffer draw black line draw another black line draw another black line draw a white line over all 3 black lines print 1 label 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 119 M Memory Allocation Description Printers except LP 2348 and LP 2348 Plus with firmware version 4 32 and above ignore this command Use this command to set the size of form memory The reminder of the form storage memory will be shared by soft fonts and graphics data Syntax Mp P2 P3 Parameters This table identifies the parameters for this format Parameters Details p Parameter ignored Parameter ignored but required to process Represents Im
87. 012345678905 WARE IHRIALL T I 01 00098765432105 or any other 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 59 B Example 2 No B100 100 0 RL 4 4 40 B 1234567890 B400 300 0 RT 4 4 40 B 1234567890 B500 900 0 RS 4 4 54 B 1234567890 B500 900 1 RS 4 4 54 B 1234567890 B500 900 2 RS 4 4 54 B 1234567890 B500 900 3 RS 4 4 54 B 1234567890 B100 1350 0 RL 4 4 40 B 9876543210 Pi will produce this label WI 1 MAM URTA I 01 00012345678905 01 00012345678905 LO o o 00 LO dt e N T e e e m o wr G0682957E71000 10 aT I I 01 00012345678905 l G06819546Z1000 10 WUA I HAHA 01 00098765432105 5 30 07 EPL Programming Guide 14245L 001 Rev A EPL Commands ot b 2D Bar Code Aztec Specific Options Description Use this command to print an Aztec two dimensional bar code symbol The symbols are square on a square grid with a square central bullseye finder Data is encoded in a series of layers that circle around the bullseye pattern Each additional layer completely surrounds the previous layer thus causing the symbol to grow in size as more data is encoded Supported Printer Models 2844 Available as a firmware download from the www zebra com website Syntax bp D Po P3 p4 ps pe p7 pg DATA Parameters This table identifies the parameters for this format Parameters p Horizontal
88. 1 setvar wlan kerberos kdc value Values 0 32 ASCII characters Default krbtgt gt Example This set var example shows the value set to krbtgt Ul setvar wlan kerberos kdc krbtgt When the setvar value is set to krbtgt the getvarresultis krbtgt 5 30 07 EPL Programming Guide 14245L 001 Rev A 284 SGD Wireless Commands wlan kerberos password wlan kerberos password Description This printer setting refers to the Kerberos password The password must correspond to a user profile established on the Kerberos KDC server in use Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the current Kerberos password Format Ul getvar wlan kerberos password For protection a single prints setvar This command instructs the printer to set the Kerberos password Format Ul setvar wlan kerberos password value Values 0 32 alphanumeric characters Default password gt Example This setvar example shows the value set to password Ul setvar wlan kerberos password password When the set var value is set to password the getvar result is 14245L 001 Rev A
89. 1D 2 10 N Codabar K 1 10 Y EAN8 E80 2 4 N EANS 2 digit add on E82 2 4 N EANS 5 digit add on E85 2 4 N EANI3 E30 2 4 N EANI3 2 digit add on E32 2 4 N EAN13 5 digit add on E35 2 4 N German Post Code 2G 3 4 N Interleaved 2 of 5 2 1 10 Y Interleaved 2 of 5 with mod 10 check digit 2C 1 10 Y Interleaved 2 of 5 with human readable check digit 2D 1 10 Y Postnet 5 9 11 amp 13 digit P N Planet 11 amp 13 digit PL N Japanese Postnet J UCC EAN 128 IE 1 10 N UPC A UAO 2 4 N UPC A 2 digit add on UA2 2 4 N UPC A 5 digit add on UAS 2 4 N UPC E UEO 2 4 N UPC E 2 digit add on UE2 2 4 N UPC E 5 digit add on UE5 2 4 N UPC Interleaved 2 of 5 2U 1 10 Y Plessey MSI 1 with mod 10 check digit L MSI 3 with mod 10 check digit M 5 30 07 EPL Programming Guide 14245L 001 Rev A 51 52 EPL Commands B Bar Code Table Notes 1 Hyphens maybe used in data as a data separator and will be ignored 2 Use ASCII 06 to delimit variable length fields 3 Japanese Postal Code accepts alpha numeric characters It truncates the data after 20 characters and pads up to 20 with a pad character 4 The data for a Deutsche Post Code 128 barcode consists of 12 characters BBNNNNNNNNDE where B is any character in the B character set N is any decimal digit 0 9 and DE are the literal characters DE Germany A 1D bar code type creates a standard Code 128 symbol but the firmware calculate
90. 2 90 DATA2 90 a3 90 b3 90 c3 90 DATA3 90 an 90 Last Download Character bn 90 Last Spacing To Next Print Character en 90 Last Downloaded Character s Width DATAn 90 Character Bitmap p3 x cn bytes bit map data The number of individual character maps downloaded will be double the characters in the font set p1 14245L 001 Rev A EPL Programming Guide EPL Commands 93 ES P Example 1 This is an example of measuring a soft font size Reference Point 10 Dots 4 Inter character Spac 8 Dots actually white dots Parameter Dots Data Enteres as Hexadecimal P3 12 OC hex b 10 OA hex e 8 08 hex 5 30 07 EPL Programming Guide 14245L 001 Rev A 94 EPL Commands ES Example 2 This is an example of soft fonts programming code The typical soft font downloads command strings to the printer The following example was generated with the CAL3 software 00000000 00000010 00000020 00000030 00000040 00000050 00000060 00000070 00000080 00000090 000000A0 000000B0 000000C0 000000D0 000000E0 000000F0 00000100 OD OA A CR amp LF 1A A P3 00 83 EO 38 00 EO 1c 00 38 00 C1 00 38 00 80 41 H EE 80 OF 00 00 NG 01 70 ic 00 FO
91. 245L 001 Rev A kal EPL Commands AUTOFR AUTOFR Automatic Form Printing Description This special form process allows you to detach the printer from the computer and print in a standalone mode The EPL2 printer reserves the form name AUTOFR to allow the printer to automatically start a form when the printer is initialized power up This feature can be used in many ways including the following Feeda single label in peel mode and print multiple labels set to the number of labels on the roll Have a form with a variable and enter the variable with a scanner terminal weight scale circuit analyzer or any other device capable of sending ASCII character data Mobile printers such as the TR 220 ignore this command Syntax FK AUTOFR or FS AUTOFR Parameters There are no parameters for this command Example Download a form to the printer with the name AUTOFR pai Line Feed to initialize the printer FK AUTOFR J Form Kill delete any existing AUTOFR FS AUTOFR J Form Save save file from here to FE at the bottom V00 8 L l Variable field definition Q254 20 1 Label height followed by gap width 82 Speed 2ips D74 Density setting ZB Print direction ZT flips it 180 degrees A340 20 0 4 1 2 N QUANTITY Fixed text line B265 75 0 3 2 4 101 B V00 Bar code definition PALI Print 1 label Automatically FE Form End Line Feed Note AUTOFR treats any incoming data as a var
92. 38 00 3C 00 45 00 07 EF 38 42 00 EO 1C 00 00 OF 00 00 OF 00 4B 03 01 83 EO 70 17 FO 1F 00 70 43 00 00 38 00 00 22 00 EF co LE 00 03 IG FE 38 ic 19 78 38 00 TG 61 NG 00 07 EF 1c ir 00 CO qe 00 03 1E 00 00 07 OD OA CR amp LF 22 00 01 01 FO 70 70 iF 00 FO 00 00 00 co OD OA 4 CR amp LF 00 c co Le 00 00 1C FF 38 LF TE 38 38 00 F8 HE 00 07 00 NG VE 00 co 1C EE 00 TG 00 0c 03 01 01 70 FO EF 70 LE 00 EO 01 00 00 1c FE 53 00 Cr co 3c 00 CO 1C EE 38 LP FF 36 38 00 FO pie 00 OE 00 1E iF 00 EO NG FF CO 1C 00 OE 01 61 00 03 00 78 EO FF 70 1C 00 CO 03 00 00 NG FF 22 00 83 EO 38 00 EO rc 00 38 TE FF 18 38 00 EO 03 P1 EB 80 OF 00 OE 1C 00 FO RC FF EO 3C 00 NG 00 00 Pa 00 03 FF 38 00 01 EO 1C 00 00 07 00 00 OE TE EK a ES a 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 95 ES Example 3 This is an example of font bitmap data format The black and white bitmap that represents the font must be converted into ASCII hexadecimal code The 0 font format has dot converted to data bytes reading from left to right
93. 4 FE 4 FI 4 ends form store sequence prints list of stored forms 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 103 GG GG Print Graphics Description Use this command to print a PCX format graphic that has been previously stored in printer memory Syntax GGpj p2 N NAME Variable Data Parameters This table identifies the parameters for this format Parameters Details p Horizontal start Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots NAME or Variable This is the graphic name used when the graphic was stored Data Graphic This name can be supplied via variable data V00 V99 name The name may be up to 8 characters long e Graphic names stored by the printer are case sensitive and will be stored exactly as entered with the GM command line i e GRAPHIC1 graphic and graPHic1 are three different graphics when stored into the printer or when retrieved by the user Example This example FK TESTFORM delete form TESTFORM FS TESTFORM begins the form store sequence of the form TESTFORM V00 8 N Enter Graphic Name GG50 50 V00 J FE ends form store sequence FR TESTFORM J retrieves the form named TESTFORM PJ Download variables LOGO1 Graphic name to be recalled and printed P14 Print one label with graphic LOGO1 5 30 07 EPL Programming
94. 4245L 001 Rev A EPL Programming Guide 5 30 07 OE EPL Commands oE 123 Line Mode Font Substitution Description This command is a Page Mode EPL2 command that allows the printer to set alternate Line Mode font character sets The fonts are activated by the oE command and are intended for EPL1 emulation Mobile printers such as the TR 220 ignore this command Syntax oEp P2 P3 Pa P5 Parameters This table identifies the parameters for this format Parameters p 5x7 bitmap font Details 5 x 7 bitmap font Normal CCSET4 Line Mode EPL1 Compatibility Font AO Total character area is 8 x 11 dots P2 5x7 bitmap font 5 x 7 bitmap font Bold CCSET4 Line Mode EPL1 Compatibility Font AO Total character area is 8 x 11 dots P3 5x7 bitmap font 5 x 7 bitmap font Doubled CCSET4 Line Mode EPL1 Compatibility Font AO Total character size is 8 x 11 dots Pa 14 x 22 bitmap font 14 x 22 bitmap font CCSET1 Line Mode EPL1 Compatibility Font A Total character area is 16 x 26 dots ps 10x 18 bitmap font 10 x 18 bitmap font CCSET3 Line Mode EPL1 Compatibility Font A Total character area is 12 x 22 dots e Parameters pl p5 are preloaded soft fonts e Parameters pl p5 must be all be lower case alpha soft fonts See the ES command on page 91 for more details on soft fonts The EPL2 font sets 2 amp 4 can be restored as the default Line Mode fonts by sending the o
95. 44 0 1494 768244 E cseurope zebra com Customer Service For printers parts media and ribbon please call your distributor or contact us T 65 6858 0722 F 65 6858 0836 EPL Programming Guide 14245L 001 Rev A 18 About This Document Document Conventions Document Conventions The following conventions are used throughout this document to convey certain information Alternate Color online only Cross references contain hot links to other sections in this guide If you are viewing this guide online in pdf format you can click the cross reference blue text to jump directly to its location Command Line Examples Command line examples appear in Courier New font For example type ZToo1s to get to the Post Install scripts in the bin directory Files and Directories File names and directories appear in Courier New font For example the Zebra lt version number gt tar file and the root directory Icons Used Important Advises you of information that is essential to complete a task Note Indicates neutral or positive information that emphasizes or supplements important points of the main text Example Provides an example often a scenario to better clarify a section of text 14245L 001 Rev A EPL Programming Guide 5 30 07 Introduction This section contains information about the basic features command syntax and terminology of the EPL2 programming language for Zebra s desktop printe
96. 53 15 0 wlan wpa psk A E53 15 0 14245L 001 Rev A EPL Programming Guide 5 30 07 Character References This section has character references Resident Fonts 1 5 Page Mode supports 5 different font sizes numbered 1 5 Each font can be expanded both horizontally and vertically All fonts are non proportional mono spaced The ASCII value of each character is dependent on the I command character set code page selection Figure 7 Resident Fonts Example ABCDEFGHI JKLMNOPORSTLUVUXT Zabedefghi Jkinnopqrstuvuxyz 0123456789 i ux ts 1 ABCDEFGH JKLMNOPGRSTUVMWXYZabcdaf ghi jklmnoparstuvuxyz 0123456789 Gi 5X amp 7 1 ABCDEFGHIJKLHMNOPQRSTUVUXYZabcedef ghi jk lmnopqrstuvwxyz 0123456789 GH X amp 52 1 4 ABCDEFGHI JKLMNOPORSTUVWXYZabcdef ghi jklmnoparst 0123456789 eH Z amp Rx c57 5 ABCDEFGHI JKLMNOPORST 0123456789 3 amp 05 30 2007 EPL Programming Guide 14245L 001 Rev A 318 Character References Default Character Map Code Page 437 Default Character Map Code Page 437 Fonts 1 4 are represented by the shaded and unshaded cells and Font 5 only supports shaded cells See the The electronic manual version on the user s CD includes links to the individual code pages Figure 8 Code Page 437 w NIM X EC c ee OH Tos Euro Character Pa
97. 7 The Americas rrr 17 Europe Africa Middle East and India iilii 17 DUCI azcoc RM EET 17 Document Conventions 0c cette 18 LINEN uusxasscoseuddxcresz2s2e rsi 6acdudkuer e 2 33 deen ROC D OR 19 What s New in this Document 000000 eee es 19 Command Conventions 0c cee 20 Basic Command Syntax liliis 20 Command Editor easan ama ac a erre 21 Sending Commands Directly to the Printer llle ssl 21 Sending Command Programming Files to the Printer 4 23 Transferring files with the Firmware Downloader liliis sells 23 Downloading a File in the DOS Enviroment liliis eese 24 Placing Elements in the Print Image llli ne 25 Text FONtS sc bes ee nk RERO AUR eee RR UR AURA AUR CS CR RR CREDE EE A me OR eS 26 Language Character Sets Fonts 1 5 00 000 cee eee 29 Asian Character Sets Fonts 8 amp 9 aee 29 Chinese Character Set ccc ree 29 Chinese Fonts 8 amp 9 Double Byte Ideographic Characters 30 Japanese Character Sets ses 30 Japanese Fonts 8 amp 9 Double Byte Ideographic Characters 30 Korean Character Sets ects 31 Korean Font 8 Double Byte Characters 0000 c eee eee 31 5 30 07 EPL Programming Guide 14245L 001 Rev A 4 Contents Bar Godes etn ganas Eek eed pete ausos aS aed NAH e 31 QR Code Bar Code 0 0
98. 7 ip telnet enable ip telnet enable Description This printer setting refers to the TELNET port 23 protocol Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the TELNET status Format U1 getvar ip telnet enable setvar This command instructs the printer to turn TELNET on or off Format Ul setvar ip telnet enable value Values Off disables telnet protocol on enables telnet protocol Default on gt Example This setvar example shows the value set to on Ul setvar ip telnet enable on When the setvar value is set to on the getvar result is on 5 30 07 EPL Programming Guide 14245L 001 Rev A 198 SGD Printer Settings ip snmp enable ip snmp enable Description This printer setting refers to the SNMP protocol Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the prin
99. A Alphanumeric 0 9 A Z a z and space K Kanji Shift JIS character ranges 8140 9FFC and E040 EAA4 Hex B Binary The data field has reserved characters that normally can not be used within the data string they are and The backslash character designates the following character is a literal and will encode into the data field Refer to the following examples To Print Enter into data field Company Company code code NI 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 83 C Counter Description The counter C command defines one of 10 automatic counters used in consecutive numbering applications i e serial numbers Counters must be defined after variables For Numeric Serialization Only The counter function does not support Alpha or Alpha Numeric Serialization The C command is used in forms that require sequential numbering When initializing counters they must be defined in order e g CO first C1 second Field justification p3 affects the printing of counter data When L R or C are selected the counter field is the width of p2 value Data will justify within the counter p2 field per the selected p3 The N parameter will print the minimum number of characters To print the contents of the counter the counter number is referenced in the DATA field of the A ASCII text or B Bar Code commands Syntax Cpi
100. A power cycle reset or UB command will clear this setting Normal default operation for the printer is to resume printing if the empty roll is replaced with new roll or ribbon and finish print any labels in the process of printing prior to a media out condition including batch print jobs Syntax UA Parameters There are no parameters for this format Example UA l 5 30 07 EPL Programming Guide 14245L 001 Rev A 148 EPL Commands UB UB Reset Label Counter Mode Description Use this command to clear the UA command and restore the default setting to allow the printer to resume printing a batch job if a paper empty occurs The page mode EPL2 printer by default will resume printing if the empty roll is replaced with new roll or ribbon and finish a batch print job Syntax UB Parameters There are no parameters for this format paaa Example UB 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 149 UE UE External Font Information Inquiry Description This command will cause the printer to send information about external fonts currently stored in the printer back to the host The printer will send the number of external fonts stored and each font s name height and direction to the host through the RS 232 port Syntax UE Parameters There are no parameters for this format Example UEH will produce HHH number of external fonts A XXX Y first font A fontname
101. Commands Details getvar This command instructs the printer to respond with subnet mask Format Ul getvar ip netmask setvar This command instructs the printer to change the subnet mask Format Ul setvar ip netmask value Values Any valid subnet mask Default 255 255 255 0 gt Example This setvar example shows the value set to 255 255 255 0 Ul setvar ip netmask 255 255 255 0 When the setvar value is set to 255 255 255 0 the getvar result is 1255 255 255 0 5 30 07 EPL Programming Guide 14245L 001 Rev A 260 SGD Wireless Commands ip port ip port Description This printer setting refers to the port number that the TCP print service is listening on Normal TCP communications from the host should be directed to this port Type getvar setvar t Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the TCP UDP port number Format Ul getvar ip port setvar This command instructs the printer to set the TCP UDP port number Format Ul setvar ip port value Values 1 65535 excluding any ports currently used by other services such as 21 23 80 and 515 Default 9100 gt
102. D Printer Setting Commands 177 Overview do Command Do commands are used to instruct the printer to perform predefined actions e must be terminated by a space character or a CR LF Ox0D 0x0A Some Do commands require additional settings which must be enclosed in double quotes Important The values must be specified in lower case 5 30 07 EPL Programming Guide 14245L 001 Rev A 178 SGD Printer Setting Commands Command Structure Command Structure It is important to understand the structure of the command and its components A command structure illustration is provided for each command in this guide gt Example This is an example of a command structure illustration U1 setvar ip addr value 1 2 3 1 Command always preceded with an exclamation point and must be specified in lower case A space resides between the and U1 and between U1 and the command setvar or getvar 2 Attribute always in double quotes and must be specified in lower case 3 Chosen value always in double quotes Only applicable for setvar and do This command must be terminated by a space character or a CR LF Ox0D 0x0A Note Some RF cards do not support all of the SGD commands How to Send Multiple SGD Commands For any getvar setvar or do command if you issue the syntax without the 1 and use the END command followed by a space multiple SGD commands are sent simultaneously LL Example
103. EPL Programming Guide 2007 ZIH Corp The copyrights in this manual and the software and or firmware in the label printer described therein are owned by ZIH Corp Unauthorized reproduction of this manual or the software and or firmware in the label printer may result in imprisonment of up to one year and fines of up to 10 000 17 U S C 506 Copyright violators may be subject to civil liability This product may contain EPL EPL2 ZPL ZPL I and ZebraLink programs Element Energy Equalizer Circuit E and Monotype Imaging fonts Software ZIH Corp All rights reserved worldwide ZebraLink and all product names and numbers are trademarks and Zebra the Zebra logo ZPL ZPL II Element Energy Equalizer Circuit and E Circuit are registered trademarks of ZIH Corp All rights reserved worldwide All other brand names product names or trademarks belong to their respective holders For additional trademark information please see Trademarks on the product CD Proprietary Statement This manual contains proprietary information of Zebra Technologies Corporation and its subsidiaries Zebra Technologies It is intended solely for the information and use of parties operating and maintaining the equipment described herein Such proprietary information may not be used reproduced or disclosed to any other parties for any other purpose without the express written permission of Zebra Technologies Corporation Product Impr
104. EPL Programming Guide 5 30 07 SGD Wireless Commands 285 wlan kerberos realm wlan kerberos realm Description This printer setting refers to the Kerberos realm an administrative domain with its own Kerberos server KDC Type getvar setvar Important If you are using a Windows 2000 Server the realm must be all upper case For details see the Windows 2000 Server example below Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the current Kerberos realm Format Ul getvar wlan kerberos realm setvar This command instructs the printer to change the Kerberos realm Format Ul setvar wlan kerberos realm value Values 0 64 alphanumeric characters Default kerberos Example This setvar example shows the value set to zebra Ul setvar wlan kerberos realm zebra When the set var value is set to zebra the getvar result is zebra Example This set var example shows the value set to ZEBRA on a Windows 2000 server U1 setvar wlan kerberos realm ZEBRA When the set var value is set to ZEBRA the get var result is ZEBRA 5 30 07 EPL Programming Guide 14245L 001 Rev A 286 SGD Wir
105. Example This example selects density 5 D5 14245L 001 Rev A EPL Programming Guide 5 30 07 dump EPL Commands 87 dump Enable Dump Mode Description This command allows the advanced programmer to force a user diagnostic data dump mode Sending the dump command to the printer allows the programmer to compare actual data sent to printer with the host program Send data to the printer after the dump command has been issued to evaluate program and printer control data The printer will process all data bytes into ASCII character data range 0 255 decimal 00 FF hexadecimal Press the printer s Feed button until Out of Dump is printed or power cycle the printer to terminate the dump mode Syntax dump Parameters There are no parameters for this format Set the image buffer width with the q command to match the media width prior to issuing the dump command Use the Dump Mode Character Map on page 319 to interpret the dump mode data characters printed on the labels back into ASCII data Press the Feed button to view dump data that exceeds a single label s print area Repeat to view more dump data as required Pressing the Feed button after the dump data is finished printing will cause the printer to exit the dump mode Graphics data dump may be large and require multiple labels to print Example dump 5 30 07 EPL Programming Guide 14245L 001 Rev A 88 Chae EI EI Print Soft Font Info
106. Example This setvar example shows the value set to 9100 Ul setvar ip port 9100 When the setvar value is set to 9100 the getvar result is 9100 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 261 wlan adhocautomode wlan adhocautomode Description This printer setting refers to enabling or disabling the adhoc auto mode Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the adhoc auto mode status Format Ul getvar wlan adhocautomode setvar This command instructs the printer to set the adhoc auto mode Format Ul setvar wlan adhocautomode value Values on adhoc auto mode enabled off adhoc auto mode disabled Default off gt Example This setvar example shows the value set to on Ul setvar wlan adhocautomode on When the setvar value is set to on the getvar result is on 5 30 07 EPL Programming Guide 14245L 001 Rev A 262 SGD Wireless Commands wlan adhocchannel wlan adhocchannel Description This printer setting refers to specifying the wireless channel for adhoc channel Type getvar setvar Note Thes
107. F hex are allowed Quotes ASCII 34d and backslashes ASCII 92d must be uniquely handled The backslash 1 character designates the following character is a literal and will encode into the data field Refer to the following examples To Print Company code Enter into data field Company code n Within forms further limitations include that a NULL ASCII 0 character may not appear within bar code DATA and entry limitations do not provide for a way to enter linefeed characters into variables The programmer should rely on the symbology s specification to insure format compliance and proper implementation See the AIM web site for specifications at http www aimglobal org P Example 1 This Aztec Bar Code example uses default values for all parameters 5b0 0 A 0123456789ABCDEFGHIJKLMNOPORSTUVWXYZ gt Example 2 This Aztec Bar Code example specifies an element size of 9 triple the default b0 0 A d9 0123456789ABCDEFGHIJKLMNOPORSTUVWXYZ 5 30 07 EPL Programming Guide 14245L 001 Rev A 62 EPL Commands b HC Example 3 This Aztec Bar Code example specifies a checkword level of 98 50 0 A 0e98 0123456789ABCDEFGHIJKLMNOPORSTUVWXYZ Example 4 This Aztec Bar Code example specifies a compact symbol with 4 layers 50 0 A 6104 0123456789ABCDEFGHIJKLMNOPOQRSTUVWXYZ Example 5 This Aztec Bar Code example specifies a full symbol
108. Guide 14245L 001 Rev A 104 EPL Commands Gl GI Print Graphics Information Description This command will cause the printer to print a list of all graphics stored in memory Syntax GI Parameters There are no parameters for this command f Example This example will print a graphics list GIJ Graphics information LOGO Graphics memory left 0O3K 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 105 GK GK Delete Graphics Description Use this command to delete graphics from memory Syntax GK NAME Parameters This table identifies the parameters for this format Parameters Details NAME By entering the name of a graphic that graphic will be deleted from memory e Graphic names stored by the printer are case sensitive and will be stored exactly as entered with the GM command line i e LOGOT logo1 and LoGo1 are three different graphics when stored into the printer or when retrieved by the user e Deleting a single graphic requires that the GK FORMNAME command string be issued twice for each form deleted Some label generation programs re issue graphics graphic delete and store every time a label is printed which will reduce flash memory life we Wild card By including an wild card ALL graphics will be deleted from memory The GK does not need to be issued twice to delete all graphics gt Example 1 This example deletes the
109. IFE EXCEEDED Represents a fixed data field for a message of 39 characters or less The message DATA is bound by quotes See the EPL2 programming ASCII Text A and the Character Set Selection commands for details on printing text Example oL40 Sets the threshold to 40km frequency and message are default oL 5 Sets the frequency to 5 labels threshold and message are default oL Replace the print head Sets the message to Replace the print head threshold and frequency are default 05 30 2007 EPL Programming Guide 14245L 001 Rev A 324 2746e Print Odometer oLn oLn Disable Print Head Life Reminder Description Use this command to deactivate the print head life reminder reporting Use the URR command to check the Print Head Life Reminder settings Syntax oLn Parameters There are no parameters for this format 14245L 001 Rev A EPL Programming Guide 05 30 2007 2746e Print Odometer 325 oLy oLy Enable Print Head Life Reminder Description Use this command to activate the print head life reminder reporting Use the URR command to check the Print Head Life Reminder settings Syntax oLy Parameters There are no parameters for this format 05 30 2007 EPL Programming Guide 14245L 001 Rev A 326 2746e Print Odometer URH URH Print Head History Report Description Use this command to print or report via the serial or USB interface a print head history report of the distance pr
110. L Programming Guide 14245L 001 Rev A 22 Introduction 4 Click on the Printer Tab B zebra TLP3842 Properties General Sharing Ports Advanced Security Printer About Zebra TLP3842 483 Printer Fonts Options LU E Hi kg naem aaa Printer Tab g Tools Error control Disable Click to expand Advanced 5 Click on the plus sign in front of Advanced to expand the selections available 6 Click on the Tools button m Direct Command for Printer m Configuration Print Configuration Storage Memory Print Graphics List Print Soft Fonts List Print Forms List e a 7 Click in Direct Command for Printer and begin typing EPL Page Mode printer commands Press the Send button to send a single command Do not use the Enter key on the key board it is the same thing as pressing the OK button to exit the Tools window 14245L 001 Rev A EPL Programming Guide 5 30 07 Introduction 23 Sending Command Programming Files to the Printer Page Mode programming files can be sent to the printer from Windows operating systems by using the Zebra Firmware Downloader found on the user s CD or at www zebra com In the DOS enviroment use the Copy command at the command prompt The easiest method is to use the Zebra Firmware Downloader to transfer files to the printer Transferring files with the Firmware Downloader 1 Install the printer
111. Macro PDF bar code symbols The printer will automatically change from PDF417 to Macro PDF bar code mode if the data sent to the printer exceeds the maximum amount supported by the PDF417 symbol The oH command is used to place the addition Macro PDF symbols needed for the continuation data The printer will automatically optimize the symbol for readability of data and use the minimum number of symbols when using Macro PDF The symbol s geometry is adjusted typically reducing the size of the symbol per the defined parameters The printer will use the largest module size bar width and height and minimize the number of rows and columns Syntax bp P2 P3 Pa PsL pel p7 Pg pol Pio p11 p12 E P43 p14 L pis DATA Parameters This table identifies the parameters for this format Parameters Details p Horizontal start Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots p3 P Must be P for PDF 417 bar codes Pa www Maximum Maximum print width in dots print width ps hhh Maximum Maximum print height in dots print height The programmer should rely on the symbology s specification to insure format compliance and proper implementation See the AIM web site for specifications at http www aimglobal org r3 Note The following parameters may be omitted and default values will automatically be inserted Each
112. Mode Print Sample o 14245L 001 Rev A EPL Programming Guide 5 30 07 Printer Configuration 35 Determining Printer Firmware Version The printer version numbers are a code used to document product function and the feature support level of the printer The latest firmware version and updates can be obtained from our web site Programming Mode Configuration Flash based printers are by default configured for Page EPL2 mode operations The operator must convert the printer to Line Mode prior to the initial use of Line Mode This is done via a hardware select procedure with the Feed button during printer power up See the OEPLI command on page 132 for details on switching between line and page modes via programming The following direct thermal printers support Line Mode EPL1 emulation e LP2824 e LP2844 3 Note The Line Mode and Page Mode configuration setting is retained after reset has been issued or power has been cycled Manually Setting Line Mode The Line Mode capable printer utilizes the Feed button during printer power up to toggle between the printer personality modes Line and Page EPL2 1 With printer power off press and hold the Feed button while turning on the printer and then release the button when the LED starts blinking red 2 When the indicator LED starts flashing green immediately press and hold the Feed button 3 Release the Feed button when the LED turns a steady amber orange color
113. NAA KAG e RICH KG Naa EA RO GaSe ee eae ee KNANG 192 jp smtp enable isc aaa 2 coh L4 PILA qpuque s pne Rad re pagg ds 193 ip smtp server addr eR 194 ip snmp get_community_name 0 0 cee n 195 ip snmp set community name anaana 196 ip telnet enable 2 0 tee teens 197 Ip snmp enable 2 312 ehe ere oeiiebaga dad DUE d qan 198 eBros nri AA AA ERLE e p e Da baag A A E E a 199 ip udp enable PA AAP AA AA kena ade Pes 200 media printmode 0 0 cee tees 201 odometer headclean 1 teed 203 odometerheadnew 4 ee n hrs 204 odometer label_dot_length 0 0 0 0 0c a 205 odometer media marker count1 0 0 0 ee eee eens 206 odometer media marker count2 eee eee eee 207 odometer total print length 0 0 cee ete 208 5 e SGD Wired Commands i22 sd dd id won R Ra REOS RES Adr E Rl 209 OVGIVIOW oi 2 45 esiu deca gef Pie ey ie hele ead meri PSG ma DUDA NA 210 setvar Command aaa 5 6 LEER ERE awe eed RR ER UM RR ROR R 210 getvar Command iu uestre ue aL eee here eee boi UR Par Rd 210 do Commarid sess sull eri wed xum e Roe aa a ha XU RESI RE a ee 211 Command Structure 1 need 212 How to Send Multiple SGD Commands 000 eee eee 212 external wired ip addr 0 tte eee 213 external wired ip arp interval teed 214 external wired ip default addr enable illii 215 external wired ip dhcp cid all lise 216 external wire
114. P3 Rotation Characters are organized vertically from left to right and then rotated to print Accepted Values O normal no rotation 1 90 degrees 2 180 degrees 3 270 degrees Rotation for Asian Printers Only Characters are organized horizontally from top to bottom and then rotated to print Asian printers support both horizontal and vertical character rotation Accepted Values Asian Printers Only 4 normal no rotation 5 90 degrees 6 180 degrees 7 270 degrees 5 30 07 EPL Programming Guide 14245L 001 Rev A 42 EPL Commands A Parameters p4 Font selection Details Description Value 203 dpi 300 dpi 1 20 3 cpi 6 pts 8 x 12 dots 25 cpi 4 pts 12 x 20 dots 2 16 9 cpi 7 pts 10 x 16 dots 18 75 cpi 6 pts 16 x 28 dots 3 14 5 cpi 10 pts 12 x 20 dots 15 cpi 8 pts 20 x 36 dots 4 12 7 cpi 12 pts 14 x 24 dots 12 5 cpi 10 pts 24 x 44 dots 5 5 6 cpi 24 pts 32 x 48 dots 6 25 cpi 21 pts 48 x 80 dots A Z Reserved for Soft Font storage a z Reserved for printer driver support for storage of user selected Soft Fonts 6 Numeric Only 14 x 19 dots Numeric Only 14 x 19 dots 7 Numeric Only 14 x 19 dots Numeric Only 14 x 19 dots Asian Printers 8 Simplified Chinese Japanese Korean 203 dpi fonts 24 x 24 dots 300 dpi Double byte fonts 36 x 36 dots 300 dpi Single byte fonts 24 x 26 dots 9 Traditional Chinese
115. Page Mode Image buffer size 0245K 3 Fmem 0 bytes amp o for Form storage mmo ou Gmem 0 lt q G Amount of memory used and memory available li for Graphics storage Emem 29600 eo H Amount of memory used and memory available Available 100959 60 for Soft fonts I8 0 001 rY JF WY O Total free memory available for Forms Fonts 4 DOO R0 0 ZT UN lt _ ____ or Graphics q832 Q1022 029 4 o J Currently selected Character Set I and Image Buffer mode setting r Option d Ff uU Q9 rY Double Buffering Enabled oEW X y 24 amp rN Double Buffering Disabled 16 23 31 lt O K Currently selected Print Speed S Cover T 143 C 166 Q9 Heat Density D Reference Point R Print Orientation Z and Error Status U L Currently selected Form Width q and Length Q Current Hardware and Software Option status Current AutoSense Through Web Gap Sensor Now in DUMP MODE values The three numbers represent Press Feed to exit amp 1 Backing Transparent point 2 Set point 3 Label Transparent point Head Up Open Sensor settings Current Date and Time set in Real Time Clock Thess values will only be displayed if your printer is equipped with the Real Time Clock feature Q Current Dump Mode Status Date 10 05 94 lt q P Time 01 00 00 4 amp Q zs Dump
116. SGD Printer Settings odometer headnew odometer headnew Description This printer setting refers to the head replaced odometer count This counter tracks how many inches and centimeter passed through the printer since the head was last replaced This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to retrieve the values for the head new counter Format Ul getvar odometer headnew setvar This command instructs the printer to reset the head new counter Format Ul setvar odometer headnew value Values O resets the head new counter Default must be an accepted value or it is ignored gt Example This example shows how to get the odometer head new how to reset it and how to confirm the settings changed 1 To see the current settings type Ul getvar odometer headnew Something similar to this is shown 1489 INCHES 3784 CENTIMETERS 2 To reset the these values to 0 type Ul setvar odometer headnew o 3 To confirm this settings were reset type Ul getvar odometer headnew If the resetting was successful
117. SS Stacked and RSS Truncated The printer does not support RSS Expanded or two dimensional composite bar codes Printer Models 3842 and 2844 _ Available as a firmware download from the www zebra com website Syntax Bp 1 P2 P3 P4 P5 P6 P7 P8 DATA Parameters This table identifies the parameters for this format Parameters P Horizontal start position Details Horizontal start position X in dots Vertical start position P2 Vertical start position Y in dots P3 Rotation Accepted Values O normal no rotation 1 90degrees 2 180 degrees 3 270 degrees P4 RSS 14 Bar Code selection Value Description ae nice R14 Basic RSS 14 96 33 RL Limited 74 10 RS Stacked 50 13 RT Truncated 96 13 ps Narrow bar width Narrow bar width in dots Accepted Values 1 10 The narrowest module will be this number of dots Symbol Width is the value of ps times the applicable bar code Width Multiplier listed in the table for the selected RSS 14 bar code type p4 This overall symbol width value includes the required symbol quite zone pg Wide bar width Wide bar width in dots Accepted Values 2 py Barcode height Bar code height in dots 14245L 001 Rev A EPL Programming Guide 5 30 07 Parameters Pg Print human readable code EPL Commands 57 B Details Accepted Values B yes N no DATA Fixed data field
118. Sana getvar ip dhcp cid prefix 3 END 1 The command portion of the string does not use the 1 after the U Commands issued after the first command do not require the U 3 The string of commands is terminated by the word END with a space after the word and by a carriage return line feed 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 247 card inserted card inserted Description This command indicates whether the wireless radio card is or is not inserted Type getvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command instructs the printer to respond with the wireless radio card status It s inserted or it s not inserted Format Ul getvar card inserted Example In this example the getvar result is Inserted Ul getvar card inserted 5 30 07 EPL Programming Guide 14245L 001 Rev A 248 SGD Wireless Commands card mac_addr card mac addr Description This command retrieves the MAC address of the wireless radio card Type getvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syn
119. Setvar commands are used to configure printer settings to specific values by setting them in the printer e must be terminated by a space character or a CR LF 0xOD 0x0A Important The setvar command and attributes must be specified in lower case getvar Command Getvar commands are used to get the current value of the printer settings e must be terminated by a space character or CR LF 0xO0D 0x0A The printer responds with the printer setting of if the printer setting does not exist usually due to incorrect spelling of the printer setting it has not been configured yet Important The printer settings and attributes must be specified in lower case 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 211 Overview do Command Do commands are used to instruct the printer to perform predefined actions e must be terminated by a space character or a CR LF 0x0D 0x0A Some Do commands require additional settings which must be enclosed in double quotes Important The values must be specified in lower case 5 30 07 EPL Programming Guide 14245L 001 Rev A 212 SGD Wired Commands Command Structure Command Structure It is important to understand the structure of the command and its components A command structure illustration is provided for each command in this guide gt Example This is an example of a command structure illustration U1 setvar ip addr
120. The data in this field must comply with the selected bar code s specified format The backslash character designates the following character is a literal and will encode into the data field Refer to the following examples Value Description Max Numeric Value R14 Basic RSS 14 9999999999999 RL Limited 1999999999999 RS Stacked 9999999999999 RT Truncated 9999999999999 5 30 07 EPL Programming Guide 14245L 001 Rev A 58 EPL Commands B Data with the RTC Time amp Date Functions The Data field can be replaced by or combined with the following variables TT Prints the current time at this position in the predefined format See the TT command for format selection This variable is available only if the printer RTC Time amp Date option is installed TD Prints the current date at this position in the predefined format See the TD command for format selection This variable is available only if the printer RTC Time amp Date option is installed Because the RSS 14 bar code symbols only support numeric data the time and date data recalled by the TD and TT commands must not include delimiters i e or delimiters gt Example 1 No B100 100 0 RL 4 4 40 B 1234567890 B100 300 0 R14 4 4 40 B 1234567890 B100 500 0 RS 4 4 52 B 1234567890 B100 700 0 RL 4 4 40 B 9876543210 J Po will produce this label i BUUU UR 00012345678905 1 00012345678905 ll 01 00
121. These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier prefix and suffix Format Ul getvar ip dhcp cid all setvar This command instructs the printer to change the CID prefix and suffix Format Ul setvar ip dhcp cid all value Values A maximum length of 60 characters if the CID type is ASCIL or 120 characters if the CID type is hexadecimal Default Value Example This setvar example shows the value set to printer Ul setvar ip dhcp cid all printer What the set var value is set to is the get var result In this example the get var result is printer 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 253 ip dhcp cid_enable ip dhcp cid enable Description This command determines if DHCP option 61 is turned on or off Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instruc
122. able Type getvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command instructs the printer to respond with the current signal strength Format Ul getvar wlan signal strength p Example In this example the getvar result is 93 Ul getvar wlan signal strength 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 299 wlan station_name wlan station name Description This printer setting refers to the station name Type setvar getvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the station name value Format Ul getvar wlan station_name setvar This command instructs the printer to set the station name Format Ul setvar wlan station name value Values A maximum of 32 alphanumeric characters Default ZEBRA gt Example This set var example shows the value set to ZEBRA Ul setvar wlan station_name
123. ack Line Between Perforation The Q command would be 0100 24424 EPL Commands 139 Q Pi io B JIP 5 30 07 EPL Programming Guide 14245L 001 Rev A 140 EPL Commands r r Set Double Buffer Mode Description Use this command to disable or reenable the double buffer image label printing The double buffer feature is a automatically tested and set by the q and Q commands Mobile printers such as the TR 220 ignore this command and automatically set the printer to single buffer mode Syntax rp Parameters This table identifies the parameters for this format Parameters Details p Enable disable Accepted Values double buffer mode N Disable double buffer mode Y Re enable the double buffer mode if the printer memory supports the image buffer size set by Q and q parameters Note The rN command must follow the q and Q commands in a form label program Verify the image buffer status with the U command s See Explanation of the Status Printout on page 34 for a sample of the Dump Mode Printout 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 141 R Set Reference Point Description Use this command to move the reference point for the X and Y axes All horizontal and vertical measurements in other commands use the setting for R as the origin for measurements Use the R command as an alternative to sending the q command to position center labels that are narrower than the
124. ad The print odometer can assist with printer maintenance and scheduling The printer has the ability to report serial number distance printed by the print head and total distance printed by the printer The Real Time Clock RTC option adds the ability to record the date with the print odometer data The printer has the ability to report when the properly maintained print head has reached the end its usable life cycle By default this feature is disabled and must be activated with EPL2 programming commands The end of print head life message can also be customized to add service contact information 05 30 2007 EPL Programming Guide 14245L 001 Rev A 322 2746e Print Odometer ELP2 Odometer Commands ELP2 Odometer Commands The print odometer data is accessed and controlled via EPL2 Page Mode programming commands The odometer commands are URH command Prints or reports via serial or USB interfaces a print head history report for up to ten print heads URL command Prints or reports via serial or USB interfaces the current print head or total print distance of media run on the printer URR command Prints or reports via serial or USB interfaces a Print Head Life Reminder status report The report may include a custom message stored by the oL command to be displayed when a reminder is issued default is PRINTHEAD LIFE EXCEEDED the distance needed to activate print head life reminder warning label and the frequency of r
125. age buffer size in whole KBytes P2 Form s memory size Form s memory size in whole KBytes The parameter p2 form memory size inversely effects the size of the shared graphics soft fonts memory P3 Parameter ignored Parameter ignored but required to process Graphics and soft font memory size in whole Kbytes If the M command is issued then all three parameters must be present FA Note Available memory and the current allocation of memory can be displayed with the U L command or an AutoSense procedure see the printer s user manual for details 5 30 07 EPL Programming Guide 14245L 001 Rev A 120 ioe N N Clear Image Buffer Description This command clears the image buffer prior to building a new label image Syntax N Parameters There are no parameters for this format Considerations Do not use the N command within stored forms All printer configuration commands should be issued prior to issuing the N command to begin building the image for printing within the image buffer Always send a Line Feed LF prior to the N command to ensure that previous data in the command buffer has cleared and the printer is initialized and ready to accept commands Example a activates command processing Nu Clears the image buffer 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 121 o Cancel Software Options Description This command allows the user to cancel most printer
126. amming Guide 14245L 001 Rev A 200 SGD Printer Settings ip udp enable ip udp enable Description This printer setting refers to the UDP socket protocol Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands _ Details getvar This command instructs the printer to respond with the UDP status Format U1 getvar ip udp enable setvar This command instructs the printer to turn UDP on or off Format Ul setvar ip udp enable value Values Off disables UDP protocol on enables UDP protocol Default off gt Example This setvar example shows the value set to on Ul setvar ip udp enable on When the setvar value is set to on the getvar result is on 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 201 media printmode media printmode Description This printer setting determines the action the printer takes after a label or group of labels has printed This command is only supported on Zebra ZM400 ZM600 printers Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD comma
127. amming Guide 5 30 07 SGD Wireless Commands 291 wlan private_key_password wlan private key password Description This printer setting allows the setting of the optional private key password Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the value of the private key password Format Ul getvar wlan private key password For protection a single prints setvar This command instructs the printer to set the private key password Format Ul setvar wlan private key password value Values A maximum of 32 alphanumeric characters Default gt Example This setvar example shows the value set to password Ul setvar wlan private key password password When the set var value is set to password the getvar result is N4 5 30 07 EPL Programming Guide 14245L 001 Rev A 292 SGD Wireless Commands wlan roam interval wlan roam interval Description This printer setting refers to specifying the wireless roam interval Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For d
128. ample shows the value set to on Ul setvar ip pop3 enable on When the setvar value is set to on the getvar result is on 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 187 ip pop3 password ip pop3 password Description This printer setting refers to the POP3 mailbox password This only applies if ip pop3 enable is set to on Type getvar setvar Note These are key reference links for this command t e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the POP3 password Format Ul getvar ip pop3 password For protection a single prints setvar This command instructs the printer to change the POP3 password Format Ul setvar ip pop3 password value Values A maximum of 20 alphanumeric characters Default m Example This setvar example shows the value set to password Ul setvar ip pop3 password password When the setvar value is set to password the getvar result is 5 30 07 EPL Programming Guide 14245L 001 Rev A 188 SGD Printer Settings ip pop3 poll ip pop3 poll Description This printer setting refers to how frequent in seconds the printer queries a POP3 mailbox for new mai
129. and to set the form and gap length or black line thickness when using the transmissive gap sensor black line sensor or for setting the printer into the continuous media print mode The Q command will cause the printer to recalculate and reformat image buffer Syntax Qp p2 p3 Parameters This table identifies the parameters for this format Parameters Details p Label length Default Value Set by the AutoSense of media measured in dots Accepted Values 0 65535 Distance between edges of the label or black line marks e For continuous mode the p parameter sets the feed distance between the end of one form and beginning of the next P2 Gap length or Accepted Values thickness of black 16 240 dots for 203 dpi printers line 18 240 dots for 300dpi printers Gap Mode By default the printer is in Gap mode and parameters are set with the media AutoSense Black Line Mode Set p to B plus black line thickness in dots See the Gap mode range Continuous Media Mode Set p2 to 0 zero The transmissive gap sensor will beused to detect the end of media p3 Offset length Required for black line mode operation measured in dots Optional for Gap detect or continuous media modes Use only positive offset values AutoSense routine does not detect black line or continuous media All EPL2 printers have a transmissive gap sensor designed to detect the top of each label or tag It does this in one of two ways
130. ands external_wired ip dhcp cid_all external wired ip dhcp cid all Description This printer setting defines the entire client identifier DHCP option 61 if DHCP is enabled on the external print server and external wired ip dhcp cid_type is set to 0 or 2 The MAC address is used if the type is set to 1 This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This feature works with the ZebraNet 10 100 External Print Server firmware version 1 1 5 Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier prefix and suffix of the external wired print server Format Ul getvar external wired ip dhcp cid all setvar This command instructs the printer to change the client identifier prefix and suffix of the external wired print server The prefix gets cleared and the suffix contains the entire client identifier Format Ul setvar external wired ip dhcp cid all value Values A maximum length of 60 characters if the CID type is ASCIL or 120 characters if the CID type is hexadecimal Default Value Example This setvar example shows th
131. aracter mode Example A50 0 0 8 1 1 N Example JIS lt Shift gt amp 5 lt Shift gt In this example Shift represents the ASCII value 28 decimal lt Shift gt amp enters JIS text mode e Shift exits JIS text mode returns to Shift JIS text mode Variable Data and Counter Functions The Data field can be replaced by or combined with the following commands Vnn Prints the contents of variable nn at this position where nn is a 2 digit number from 00 to 99 For more information refer to the V command on page 162 TEE e Cn Prints the contents of counter n at this position where n is a one digit number from 0 to 9 For more information refer to the C command on page 83 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 45 A gt Example A50 0 0 1 1 1 N DATA Writes Text A50 50 0 2 1 1 N V01J Writes contents of variable 01 A50 100 0 3 1 1 N C14 Writes contents of counter 1 A50 100 0 3 1 1 N C1 24 Writes contents of counter 1 plus 2 Data with the RTC Time amp Date Functions The Data field can be replaced by or combined with the following variables TT Prints the current time at this position in the predefined format See the TT command for format selection This variable is available only if the printer Time amp Date option is installed TD Prints the current date at this position in the predefined format See the TD command for fo
132. at civil war testing whether that nation or any nation so conceived and so dedicated can long endure Wo O b80 200 P 400 300 p40 440 20 f1 x3 y10 r60 15 ABCDEFGHI JK1234567890abcdefghijk Po will produce this label ith lib ABCDEFGHIJK123456789 Oabedef ghi jk The second symbol has been set to print human readable data with the pg parameter p40 440 20 and is not part of the PDF417 symbol 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 81 b 2D Bar Code QR Code Specific Options Description Japanese printer models only Use this command to generate QR Code bar code symbols with a single command See the AIM web site for QR Code specifications at http www aimglobal org Syntax bp po p3 P4 9 DATA Parameters This table identifies the parameters for this format Parameters p Horizontal start position Details Horizontal start position X in dots P2 Vertical start position Vertical start position Y in dots p3 Q Must be Q for QR Code Parameters p4 through pg are optional and may be omitted Default values will automatically be inserted when a parameter is omitted Each parameter value must be proceeded by its associated command prefix character The parameters p through pg can be inserted into the command string in any order prior to the DATA and following p3 Commas between parameters p4 through pg are not required
133. atus only Out of box default Direct Thermal Mode setting used in a 2844 2824 or 3842 thermal transfer printer s and is displayed in the Dump Mode status printout Changing the printer to thermal transfer mode or when the printer detects a transfer ribbon will cause this option parameter to permanently be removed from the status printout P Enable label taken Enable label taken sensor for the Label Dispense Peel sensor Mode L Enable printer s Feed button Enable the printer s Feed button for Tap to Print operation in the Label Dispense Peel Mode The printer will present each label and wait for a tap of the Feed button before printing the next label Use this mode when printing multiple copies of liner free labels 14245L 001 Rev A EPL Programming Guide 5 30 07 Parameters S Reverse sensor operation EPL Commands 131 O Details Reverse the Transmissive Gap Sensor s normal operation Fp Form Feed Setting Example ou OCH OD OCb P54 p Sets the type of operation the feed button f Default normal operation Tap to feed r Reprint last label printed i Ignore the feed button disables all options enables cutter only labels are cut after each label is printed disables all other options enables direct thermal mode on thermal transfer printers disables all other options labels are cut after a batch of five has printed disables all other opt
134. ax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the LPD status Format U1 getvar ip lpd enable setvar This command instructs the printer to turn LPD on or off Format Ul setvar ip lpd enable value Values off disables LPD protocol on enables LPD protocol Default on LL Example This setvar example shows the value set to on Ul setvar ip lpd enable on When the setvar value is set to on the getvar result is on 5 30 07 EPL Programming Guide 14245L 001 Rev A 186 SGD Printer Settings ip pop3 enable ip pop3 enable Description This printer setting determines if the printer queries a POP3 mailbox for mail Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the POP3 status Format Ul getvar ip pop3 enable setvar This command instructs the printer to turn POP3 on or off Format Ul setvar ip pop3 enable value Values Off disables POP3 On enables POP3 Default on gt Example This setvar ex
135. ax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the wireless transmit rate Format Ul getvar wlan tx rate setvar This command instructs the printer to set the wireless transmit rate Format Ul setvar wlan tx rate value Values 1 2 5 5 11 all Default ali gt Example This set var example shows the value set to a11 Ul setvar wlan tx_rate all When the set var value is set to all the getvar resultis all 5 30 07 EPL Programming Guide 14245L 001 Rev A 302 SGD Wireless Commands wlan username wlan username Description This printer setting refers to the generic user name that is used by the wireless securities that need a user name Type getvar setvar Important Kerberos has its own user name field Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with a generic user name for the wireless securities that need a user name Format U1 getvar wlan username setvar This command instructs the printer to set a generic user name for
136. ay to enter linefeed characters into variables The programmer should rely on the symbology s specification to insure format compliance and proper implementation See the AIM web site for specifications at http www aimglobal org 5 30 07 EPL Programming Guide 14245L 001 Rev A EPL Commands SIE b 2D Bar Code Data Matrix Specific Options Description Use this command to print Data Matrix two dimensional bar code symbols The printer will automatically interpret and encode data into Data Matrix bar code symbols using the ECC 200 data quality format Individual module size columns and rows parameters can be specified or the printer can automatically calculate and set one or all of these parameters The symbol is made of square modules arranged within a rectangular shape which includes a perimeter scan recognition pattern The scan recognition pattern produced by the EPL2 printer also includes a quiet zone one module wide on all outside edges of the bar code to ensure data integrity Printer Models 3842 and 2844 Available as a firmware download from the www zebra com website Syntax bp p2 p3 P4 LL ps pel L p51 DATA Parameters This table identifies the parameters for this format Parameters Details p Horizontal start Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots p3 D Selects Data Matrix bar code
137. ble 7 SGD Command Syntax Key Internal Wired External Wired B Wireless M SGD Command Support Printer and Firmware Compatibility SGD Commands S4M ZM400 ZM600 wlan ip port A E53 15 0 wlan ip protocol A E53 15 0 wlan ip timeout enable A ES3 15 0 wlan ip timeout value A ES3 15 0 wlan keep alive enable M E53 15 0 wlan keep alive timeout M E53 15 0 wlan kerberos kdc A E53 15 0 wlan kerberos password A ES3 15 0 wlan kerberos realm A E53 15 0 wlan kerberos username A E53 15 0 wlan mac_addr M E53 15 0 wlan operating mode A ES3 15 0 wlan password A E53 15 0 wlan preamble A ES3 15 0 wlan private key password A E53 15 0 wlan roam interval A E53 15 0 wlan roam signal A ES3 15 0 wlan security A E53 15 0 wlan signal noise M E53 15 0 wlan signal quality A E53 15 0 wlan signal strength A ES3 15 0 wlan station name AM E53 15 0 wlan tx power M E53 15 0 wlan tx rate M E53 15 0 wlan username A E53 15 0 wlan wep auth type A E53 15 0 wlan wep index A E53 15 0 wlan wep key format M E53 15 0 wlan wep key1 A E53 15 0 wlan wep key2 A ES3 15 0 wlan wep key3 A E53 15 0 5 30 07 EPL Programming Guide 14245L 001 Rev A 315 316 SGD Command Support Printer and Firmware Compatibility Table 7 SGD Command Syntax Key Internal Wired External Wired Bl Wireless W SGD Commands S4M ZM400 ZM600 wlan wep key4 A E
138. ccc tees 32 Programming Sequences Affect Graphic Results 0 aa 32 2s Printer Configuration 45533 x ne KAKAW ian bee eae a e RE apo eed 33 Explanation of the Status Printout 000 cee eee 34 Determining Printer Firmware Version cece eee eee eee 35 Programming Mode Configuration 00 00 e eee eee 35 Manually Setting Line Mode 0 ccc eee 35 Media Detection 0 0000 cc eee 36 35 EPL Commands cese wawa ko EO X UND PG Qo wo Re Eee Rede 37 Memory and Command Usage 2 2 37 Command Description Memory Page ess 38 A ASCII Textus iie reb ER odes SER ER RR CREATURE des CR dela has 41 Variable Data and Counter Functions aasa aaaea 44 Data with the RTC Time amp Date Functions 00 eee eee eee 45 A Simple Expressions in Data Fields 00000 eee 46 Asian Character Font Sets 0 000 cece ete eee 47 AUTOFR Automatic Form Printing 0c 48 B Bar Code hese hsls eeu Db IY KAG DANE Ree EG Pees ex niet 50 B RSS 14 Bar Code Specific Options 0 0 ee 56 Data with the RTC Time amp Date Functions 00 cece eee eee 58 b 2D Bar Code Aztec Specific Options ee 60 b 2D Bar Code Aztec Mesa Specific Options 0 eee ee 64 b 2D Bar Code Data Matrix Specific Options cee ee 66 Automatic Data Matrix Bar Code Generation 00 eee eee eee 68 b 2D Bar Code Max
139. ccepted Values 0 9 dots Default Value 0 dots or no space p Space in dots between Asian characters i Command Parameter Set to Default 0 dots 1 Character 1 Character i Command Parameter Set to 8 8 dots 1 Character i 8 1 Character a to aa i SS 5 30 07 EPL Programming Guide 14245L 001 Rev A 110 EPL Commands I Character Set Selection Description Use this command to select the appropriate character set for printing and KDU display Syntax Ip Po P3 Parameters This table identifies the parameters for this format Parameters Details p Number of data bits Accepted Values 8 8 bit data 7 7 bit data 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 111 Parameters Details pa Printer Codepage Language 8 Bit Data 7 Bit Data Support P2 Code Page Description P2 Description 0 DOS 437 English US 0 USA 1 DOS 850 Latin 1 1 British 2 DOS 852 Latin 2 2 German Cyrillic I Slavic 3 DOS 860 Portuguese 3 French 4 DOS 863 French 4 Danish Canadian 5 DOS 865 Nordic 5 Italian 6 DOS 857 Turkish 6 Spanish 7 DOS 861 Icelandic 7 Swedish 8 DOS 862 Hebrew 8 Swiss 9 DOS 855 Cyrillic 10 DOS 866 Cyrillic CIS 1 11 DOS 737 Greek 12 DOS 851 Greek 1 13 DOS 869 Greek 2 A Windows 1252 Latin 1 B Windows 1250 Latin 2 C Windows 1251 Cyrillic D Windows 1253 Greek E Windows 1254 Turk
140. character C in a command string is used for both the Cut Immediate C and Counter Command function Cpl which can only be used within a form The Cut Immediate Command C can not be used in a form The C command Cut Immediate can not be used with the KDU Mobile printers such as the TR 220 ignore this command Syntax c Parameters There are no parameters for this command Example CJ Note Use only cut label liner backing or tag stock Label adhesive will build up on the cutter blade and cause the cutter to operate poorly or jam if the labels are cut along with the label liner Use the C command Cut Immediate 5 times without media loaded to perform a self cleaning of the cutter blade 5 30 07 EPL Programming Guide 14245L 001 Rev A 86 EPL Commands D D Density Description Use this command to select the print density The density command controls the amount of heat produced by the print head More heat will produce a darker image Too much heat can cause the printed image to distort Syntax Dp Parameters This table identifies the parameters for this format Parameters Details p Density setting Accepted Values 0 15 Default Value 2443 Orion and 2884 10 All other printers 7 Note 0 is the lightest print and 15 is the darkest 3 Note The density and speed commands can dramatically affect print quality Changes in the speed setting typically require a change to the print density UU
141. characters are mapped to hexadecimal address range A1 AO to FOFF hex First byte 161 A1h and second byte 160 AOh to first byte 253 FDh and second byte 255 FFh is the decimal grouped byte range Korean Font 8 Double Byte Characters Bar Codes The Korean font characters are mapped to double byte hexadecimal address range Al A0 to FDFF hex See the following pages for the character maps 203 dpi printers 300 dpi printers All bar codes supported by the EPL2 language have associated industry specifications that the programmer should be aware of and adhere to The programmer needs to consider bar code features and requirements when choosing and using a bar code for different applications Some of the features and requirements that need consideration are listed below Data used by the application are per the bar code specification numbers only alphanumeric alphanumeric and special characters etc Minimum and maximum number of characters allowed or required per bar code Density or magnification of a given bar code type White area required around bar codes the Quiet Zone The bar code must print within the image buffer printable area of the label 5 30 07 EPL Programming Guide 14245L 001 Rev A 32 Introduction E Note Bar Code Orientation Tip To help ensure that generated bar codes are readable by the widest variety of bar code readers print bar codes in the Picket Fence orientation versus the La
142. ciated Symbols Accepted Values 1 8 for both x or y Default Value Not used DATA Mode dependent data format Mode dependent data is bounded by quotation marks Maximum of 2 KBytes of data Mode Data Format 2 amp 3 cl co pc Ipm 4 amp 6 lpm c1 Class Code 3 digits required co Country Code 3 digits required Mode 2 Numeric Characters Mode 3 International Characters up to 6 characters pc Postal Code Mode 2 5 or 9 characters All Numeric including USA Postal ZIP 5 or 9 char For less than 9 characters the printer will pad the field with 0 s Mode 3 International Any alphanumeric character up to 6 characters lpm Low priority message data ASCII printable characters up to 84 characters per symbol any 256 character map The programmer should rely on the symbology s specification to insure format compliance and proper implementation See the AIM web site for specifications at http www aimglobal org 5 30 07 EPL Programming Guide 14245L 001 Rev A 72 EPL Commands b Example No b20 20 M 300 840 93065 1692 This is MaxiCode but not MaxiCode formatted data P1 will produce Using AIM Specified MaxiCode Data Formatting The EPL printer can use and automatically decode the AIM ITS International Technical Standards MaxiCode data format The printer detects the message start header gt RS field separator GS and the end of message mark
143. command without a parameter 5 30 07 EPL Programming Guide 14245L 001 Rev A 124 EPL Commands oH OH Macro PDF Offset Description Use this command to place addition secondary associated Macro PDF symbols for the continuation of data greater than a single PDF 417 bar code can store This command must precede any PDF 417 bar code commands in order to print Macro PDF multiple bar code symbols from a single b command s data field Syntax oHp p Parameters This table identifies the parameters for this format Parameters Details p Horizontal offset Horizontal offset position X in dots of the next Macro PDF position bar code symbol P2 Vertical offset Vertical offset position Y in dots of the next Macro PDF bar position code symbol 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 125 oH gt Example Nu q784 Q1215 241 RO 0A oHO 5004 Nu b80 100 P 700 600 x2 y7 1100 x100 f0 s5 NI Fourscore and seven years ago our fathers lt lt the rest of Lincoln s Gettysburg Address HERE gt gt and that government of the people by the people for the people shall not perish from the earth u A Po will produce this label 5 5 30 07 EPL Programming Guide 14245L 001 Rev A 126 EPL Commands oM OM Disable Initial Esc Sequence Feed Description This command disables the automatic label calibration routine
144. d for the first variable in the expression will be used to format the result If the result is of a greater length than the defined character length then the result field will contain X s e A syntax error will be generated during form storage if the constant value is too large e Ifan error occurs during the evaluation of the expression the resultant field will be filled with X s 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 47 A Example FK 1 l FK 1 l FS 1 l V00 10 N Enter current mileage l A100 100 0 4 1 1 N Current mileage is V0O miles l A100 200 0 4 1 1 N Change oil at V00 3000 miles l FEA ad FK 2 l FK 2 l FS 2 l V00 10 N Enter current mileage l V01 10 N Enter interval mileage l A100 100 0 4 1 1 N Current mileage is V0O miles l A100 200 0 4 1 1 N Mileage interval is V01 miles l A100 200 0 4 1 1 N Change oil at VOO VO1 miles l FEA a FK 3 J FK 3 J FS 3 V00 10 N Enter value 1 J V01 10 N Enter value 2 J V02 10 N Enter value 3 l A100 200 0 4 1 1 N Answer V01 123 4V00 10 V02 l FEA Asian Character Font Sets Asian language support is an optional feature and requires a special version of the printer PCBA to support the large Asian character sets The Asian character maps and special features of the A command that support the character sets can be found starting on page 29 5 30 07 EPL Programming Guide 14
145. d ip dhcp cid enable 0 0 cee eee 217 external_wired ip dhcp cid_prefix 20 0 cee eee 218 external wired ip dhcp cid suffix 0 0 0 sees 219 external wired ip dhcp cid type 1 0 RR 220 external wired ip gateway 0000 n 221 external wired ip netmask lseeseeeeeee res 222 external_wired ip port 0 0 0 0 ee m es 223 5 30 07 EPL Programming Guide 14245L 001 Rev A 8 Contents external wired ip protocol tee e 224 external wired ip timeout enable ee eee 225 external wired ip timeout value ee 226 external wired mac addr eee n 227 internal wired ip addr 0 ce eee 228 internal wired ip arp interval 0 0 ce tees 229 internal_wired ip default_addr enable 0 0000 eee 230 internal_wired ip dhcp cid_all 1 2 0 ce eee 231 internal_wired ip dhcp cid_enable 0 0 eee 232 internal_wired ip dhcp cid_prefix 2 0 0 ee eee 233 internal_wired ip dhcp cid_suffix 0 2 0 ce eee 234 internal_wired ip dhcp cid_type 0 ce a 235 internal_wired ip gateway 0 0 ee eR Rn 236 internal wired ip netmask tees 237 internal_wired ip port 2 0 ttt 238 internal wired ip protocol 0 0 2 ee III 239 internal wired ip timeout enable cc a 240 internal_wired ip timeout value 2 6 tee 241 internal wired mac addr lilii 242 6 SGD Wireless Commands
146. d of the A ASCII text or B Bar Code commands Note If the starting value of a counter is 1 then no leading zero padding will be added If the starting value is 01 then the counter will be padded up to the maximum number of digits p2 with zeros pa a Example 1 CO 10 L 1 Enter Serial Number l Ch Example 2 Saving and Protecting Consecutive Numbers in Nonvolatile Memory This feature is useful when the counter field represents a serial number or others types of numbers that should never be repeated This feature allows for automatic retrieval and increment or decrement of the previous counter value used every time a form is retrieved and printed By placing one minus sign as the first character of the prompt the prompt will appear only once after the form is retrieved thereby protecting the integrity of the data gt Example 3 Single Digit Summation with Counters Add or subtract a single digit from the recalled counter value in a form If form recalled counter CO had a value of 3 then processing CO 1 would yield a value of 4 and C0 2 would yield a value of 1 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 85 C Cut Immediate t Description This command allows the printer to initiate an immediate media cut without a form print operation The printer must have the cutter option installed The C command Cut Immediate can not be used inside of a form The initial
147. dder orientation bo Horizontal Dots X axis gt Height of xL m y axis Picket Fence Orientation n00 n0 34 0 Ladder Orientation TAA Direction Of Feed QR Code Bar Code The QR Code bar code is only offered with Japanese Character bar code printer configurations Programming Sequences Affect Graphic Results Graphic elements can interact and the resultant image can be affected by other commands Structure command sequences to reduce the chances of unexpected print results The printer will process lines text boxes and most bar codes in command sequence The printer then processes the printer control processes counters variable data Postnet and then graphics last 14245L 001 Rev A EPL Programming Guide 5 30 07 Printer Configuration This section covers interpreting your printer s configuration setup and setting basic modes To determine your printer s configuration and operating mode do one of the following Print a configuration label using the control panel e Print a configuration label by sending the U command to the printer Use the AutoSense feature The primary functions that AutoSense provides are adjustment of the Media Sensor in the printer to the media in use the programming mode page EPL2 or line EPL1 emulation mode the printer s serial interface settings the printer s configuration status including printer options
148. de Specific Options dez ie tee ee eee eee eee eee Ek Stewed s 56 Serial Port Setup maa ganaa ana tes rA ERR EG hah eeed Meme eee se ges ke RU RUE 167 Set Double Buffer Mode 0 0 0 0 cc ee RR RR 3 e rn 140 Set Formi Length accuse 4 ace edhe ede ea Pee EEE a E PA 137 Set Label Widlli i sss eR KANI ake we ae wie Gen ROSE RU Se genet Bees 135 SetiLine M0de ocu zu que eo a PEO eee Bae had eee BEE 132 Set Printer to Factory Defaults 00 0 tee 172 Set Real Time Glock pk bI Sh ad RANG ed Sie nd oe 144 Set Reference Point acc ook ER NG WAL Euer we eet Die P NENG ala Rer kad 141 Simple Expressions in Data Fields 00 0 e ete 46 Speed SSO D HQ 142 Store Form iios EAE na kk aa sued adde XGA Pee Sea ee Ee ets 102 Store Gaps oues aite d du naw E re agre pe Ua rep E e qeu dob eee uie ed ps 106 Store Soft FONU nss eosdem dide ANT Ide Adel UG ANDES DL GG BAD REG RR UEM eds 91 Time Recall amp Format Layout 22 22 zero baa Unsa ada kasing Ee heeds topes 145 User Defined Error Status Character aa 90 Windows Mode 0 cc RR rrr 164 5 30 07 EPL Programming Guide 13979L 002 Rev A 14 Functional Table of Contents for EPL Commands 13979L 002 Rev A EPL Programming Guide 5 30 07 About This Document This section provides you with contact information document structure and organization and additional reference documents Contents Who Should Use This
149. e Description This command refers to the printer s firmware version This command is only supported on Zebra ZM400 ZM600 printers Type getvar Note These are key reference links for this command t e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command returns the printer s firmware version Format U1 getvar appl name D Example In this example the get var returns the printer s firmware version Ul getvar appl name 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 181 device languages device languages Description This command identifies the programming language that the printer is currently using This command is only supported on Zebra ZM400 ZM600 printers Type getvar Note These are key reference links for this command t 2 e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command retrieves the programming language that the printer is currently using Table 3 shows the possible response values Format Ul getvar device languages Example In this example
150. e DATA and entry limitations do not provide for a way to enter linefeed characters into variables The programmer should rely on the symbology s specification to insure format compliance and proper implementation See the AIM web site for specifications at http www aimglobal org Table 2 Data Matrix Symbol Geometries Raws Columnes Numeric Alpha numeric Compressed Capacity Capacity_ data size_ 8 18 10 6 5 8 32 20 13 10 10 10 6 3 3 12 12 10 6 5 12 26 32 22 16 12 36 44 31 22 14 14 16 10 8 16 16 24 16 12 16 36 64 46 32 16 48 98 72 49 18 18 36 25 18 20 20 44 31 22 22 22 60 43 30 24 24 72 52 36 26 26 88 64 44 1 Paired digits represent the best case compression Adjacent digit pairs can be encoded into eight bits 2 The implied cmopressibility requires the data be composed of either all lowercase or all uppercase characters with digits and spaces allowed 3 Any ASCII character 0 127 can be encoded one to one extended ASCII 128 255 requires an additional two byte overhead 5 30 07 EPL Programming Guide 14245L 001 Rev A 68 EPL Commands b Table 2 Data Matrix Symbol Geometries Rows Calamna Numeric Alpha numeric Compressed Capacity Capacity_ data size_ 32 32 124 91 62 36 36 172 127 86 40 40 228 169 114 44 44 288 214 144 48 48 348 259 174 52 52 408 304 204 64 64 560 418 280 72 72 736 550 368
151. e RR Rod 294 wian signal_ NOS Eeee uode rcEe merece rupe qui pP RE RR dui eee ie 296 wlan signal quality snae ERE RR Rx IRI RRRRPRREQUERREEIfes 297 wlan signal strength llle mn 298 wlan station name 0 0 rrr re 299 wlan power m rh hr 300 WIANAX rale GG DRAKE KNA KAN BALANG mann han 455 c0nu bao are 301 Wlanusemame sx 542 cc Ue Re BAG KG KE BP AN eee NT NENA HA Da PRAAN 302 wlan wep auth type eR I e m 303 wlan wep index hm hh 304 Wlan Wep Key T acris pese p eee ki a ius eens es Pub eta d s n Aa 305 Wlan Wep key2 ep btn ee PAGA KK hn ha NG LAGE BANG bide eee ERROR 306 Wlan Wep KeyS3 sec cxeSoGuaned ied bine oben dee Seb Dh Idee de perg 307 wlan wep key4 0 cee ete tees 308 5 30 07 EPL Programming Guide 14245L 001 Rev A 10 Contents wlan wep key format 0 isses m 309 Wlari Wpa psK xxx eosdem pp eR eee wea Ped SRA ewe eee awe ER a a 310 A SGD Command Support vicccctcierciveestaeidceeee nee eiie sedan 311 Printer and Firmware Compatibility llle 312 B Character References Xa a ba duxi RR OR AORCRORG A COR enue NA 317 Default Character Map Code Page 437 0 eee 318 E ro Character isa cuadro baa Ra Sed eon e dos or obe sags 318 Dump Mode Character Map 0 cece tte 319 C 227466 Print Odometer cece decd KKK KAR sdadcecbiniadieos eee n on aci 321 ELP2 Odometer Commands 000 cece eee eee 322 oL Print Head Life Reminder Control
152. e adhesive that may interfere with the proper operation of the cutter Only cut label liner and tag stock and do not exceed the specified media density and thickness of the cutter If the cut position causes the label just printed to be cut increase the cut position index value 2100 If the cut position causes the label following the one just printed to be cut decrease the cut position index value 100 Syntax fp Parameters This table identifies the parameters for this format Parameters Details Cut position index measured in dots Accepted Values 070 to 130 Accepted Values 100 P1 Cut position index 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 97 fB fB Adjust Backup Position Description Use this command to provide precision tear peel and cut placement to fine tune the media positioning to compensate for differences in media and handling requirements Mobile printers such as the TR 220 ignore this command Syntax fp Parameters This table identifies the parameters for this format Parameters Details Media position offset measured in dots Accepted Values 0 255 Default Value 0 p Media position offset 5 30 07 EPL Programming Guide 14245L 001 Rev A 98 EPL Commands FE FE End Form Store Description This command is used to end a form store sequence Syntax FE Parameters There are no parameters for this format ata Example The form store sequ
153. e are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the wireless channel for adhoc channel mode Format U1 getvar wlan adhocchannel setvar This command instructs the printer to set the wireless channel for adhoc channel mode Format Ul setvar wlan adhocchannel value Values Decimal value between 1 and 16 inclusive Default 1 Example This setvar example shows the value set to 1 U1 setvar wlan adhocchannel 1 When the setvar value is set to 1 the getvar result is 1 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 263 wlan associated wlan associated Description This command refers to if the printer is or is not associated with an access point AP Type getvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with yes or no which identifies if it is associated with the AP
154. e external wired print server s IP address This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Type getvar setvar Important For a set IP address to take affect the IP protocol must be set to permanent and the print server must be reset Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to show the status of the setting of external wired print server s default IP address feature Format Ul getvar external wired ip default addr enable setvar This command tells the printer to use it s default address if no address is provided through DHCP or BOOTP If you do not assign an IP address after 2 minutes the 10 100 Internal PS defaults to IP address 192 168 254 254 Format Ul setvar external wired ip default addr enable value Values on enabled off disabled Default on gt Example This setvar example shows the value set to on Ul setvar external wired ip default addr enable on What the set var value is set to is the get var result In this example the get var result is on n 5 30 07 EPL Programming Guide 14245L 001 Rev A 216 SGD Wired Comm
155. e issued twice to delete all forms Example 1 This example deletes the AFORM form A second delete is requierd for flash printers FK AFORM J FK AFORM J Example 2 This example deletes all forms FK d 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 101 FR FR Retrieve Form Description Use this command to retrieve a form that was previoiusly stored in memory Syntax FR FORMNAME Parameters This table identifies the parameters for this format Parameters Details FORMNAME This is the form name used when the form was stored The namemay be up to 8 characters long Form names stored by the printer are case sensitive and will be stored exactly as entered on the FS command line i e FORMTI form and FoRm1 are three different forms when stored into the printer or when retrieved by the user Hp Example This example retrieves the form named TESTI FR TESTI Note To print a list of the forms currently stored in memory use the F1 command 5 30 07 EPL Programming Guide 14245L 001 Rev A FS 102 EPL Commands FS Store Form gt Description This command begins a form store sequence All commands following FS will be stored in form memory until the FE command is received ending the form store process Delete a form prior to updating the form by using the FK command If a form with the same name is already stored in memory iss
156. e shows the value set to 1 Ul setvar internal wired ip dhcp cid type 1 What the set var value is set to is the get var result In this example the get var result is 1 n 5 30 07 EPL Programming Guide 14245L 001 Rev A SGD Wired Commands internal_wired ip gateway 236 internal wired ip gateway Description This command instructs the printer to change the internal wired print servers gateway address This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Important This setting refers to the gateway address A set value is ignored if the IP protocol is not set to permanent Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the internal wired printer servers gateway address Format Ul getvar internal wired ip gateway setvar This command instructs the printer to change the internal wired printer servers gateway address Format Ul setvar internal wired ip gateway value Values Any valid gateway address Default 0 0 0 0
157. e value set to printer Ul setvar external wired ip dhcp cid all printer What the set var value is set to is the get var result In this example the get var result is printer 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 217 external wired ip dhcp cid enable external wired ip dhcp cid enable Description This command determines if DHCP option 61 on the external wired print server is turned on or off This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This feature works with the ZebraNet 10 100 External Print Server firmware version 1 1 5 Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the status of the client identifier of the external wired print server Format Ul getvar external wired ip dhcp cid enable setvar This command instructs the printer to set the status of the client identifier of the external wired print server Format Ul setvar external wired ip dhcp cid enable value Values off client identifier is turned off on client identifier is turned on Default off gt
158. ee the UI command on page 152 Example UMA 5 30 07 EPL Programming Guide 14245L 001 Rev A 154 EPL Commands UN UN Disable Error Reporting Description Cancels US command Syntax UN Parameters There are no parameters for this format 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 155 UP UP Codepage amp Memory Inquiry Print Description This command will cause the printer to print and send the currently selected codepage and memory status to the host through the RS 232 port This command also disables software flow control XON XOFF Hardware flow control is not disabled DTR CTS To restart software flow control a reset command or power must be recycled See also the I M U UI and UM commands Syntax UP The printer will send information about the currently selected code page and memory status back to the host followed by printing the current printer configuration For an example of the configuration printout see the U command The format of data sent to the host is as follows UPP P2 P3 P4 P5 P6 P7 P8 Po Parameters This table identifies the parameters for this format Parameters Details Pi Image buffer size in KBytes P2 Form memory allocation size in KBytes P3 Form memory free in KBytes Pa Graphic memory allocation size in KBytes Ps Graphic memory free in KBytes Pg External font memory allocation size in KBytes P7 Externa
159. eless Commands wlan kerberos username wlan kerberos username Description This printer setting refers to the Kerberos user name The user name must correspond to a user profile established on the Kerberos KDC server in use Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the current Kerberos user name Format Ul getvar wlan kerberos username setvar This command instructs the printer to change the Kerberos user name Format U1 setvar wlan kerberos username value Values 0 32 alphanumeric characters Default user gt Example This set var example shows the value set to user Ul setvar wlan kerberos username user When the set var value is set to user the getvar result is user 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 287 wlan mac_addr wlan mac addr Description This command retrieves the MAC address of the wireless print server This command is supported only on Zebra ZM400 ZM600 printers Type getvar Note These are key reference links for this command t e For details on SGD command structure see Command Structu
160. eminder labels after the reminder is on and in effect oL oLn and oLy commands Set and control the print head life exceeded reminder label s parameters and reporting status See the URR command description above 14245L 001 Rev A EPL Programming Guide 05 30 2007 2746e Print Odometer 323 oL oL Print Head Life Reminder Control Description Use this command to customize the print head life reminder report See the URR command to check the settings and status Syntax OL p P2 p3 Parameters This table identifies the parameters for this format Parameters Details No parameters Resets the parameters to their default values for print head life reminder reporting p Reminder Threshold Sets the distance to be printed before a reminder label warning can be issued Omitting or setting the value to Owill reset it to the default value of 50 kilometers Default Value 50 kilometers Accepted Values 1 255 1 1 kilometer P2 Frequency of Sets the number of labels to be printed prior to issuing Reminder another reminder label Omitting the parameter will reset it to the default The 0 value causes the printer with the reminder enabled and in effect to report a Reminder Message at power up error recovery after a media out condition a reset or after Cancel has been pressed on the printer Default Value 0 labels Accepted Values 1 255 1 1 label printed P3 Message DATA Default Value PRINTHEAD L
161. ence is started with the FS command FS FORMNAME J FEJ 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 99 FI FI Print Form Information Description This command will cause the printer to print a list of all forms stored in memory Syntax FI Parameters There are no parameters for this format Example This command will print a forms list FIJ Form information 1 TESTFORM Form memory left 004 9K 5 30 07 EPL Programming Guide 14245L 001 Rev A 100 EPL Commands FK FK Delete Form Description this command is used to delete forms from memory Syntax FK FORMNAME Parameters This table identifies the parameters for this format Parameters Details FORMNAME By entering the name of a form that form will be deleted from memory The namemay be up to 8 characters long Form names stored by the printer are case sensitive and will be stored exactly as entered on the FS command line i e FORMTI form1 and FoRm1 are three different forms when stored into the printer or when retrieved by the user Deleting a single form requires the FK FORMNAME be issued twice for each form to be deleted Some label generation programs re issue forms form delete and store every time a label is printed which reduces flash memory life we Wild card By including an wild card ALL forms will be deleted from memory The FK does not need to b
162. er RS EOT data control strings The hexadecimal ASCII data control strings are in the following table See the EPL2 dump mode character map in Appendix A Control String Hexadecimal Code Message Start Header gt RS 5B 29 3E 1E Field Separator GS 1D End Of Message Marker RS EOT 1E 04 Syntax bp1 p2 M p4 AIM MaxiCode Data 14245L 001 Rev A EPL Programming Guide 5 30 07 P EPL Commands 73 b Example 5b20 400 M m2 001 840 93065 1692 Rg 01Gg98XXXZZFDAAFGgSHIPGS309GgGg1 1Gg10Gg Note 1 This programming example represents actual data used to format a single AIM compliant MaxiCode symbol as programmed by a major international and domestic shipping company 2 The shipper has explicitly set the MaxiCode symbol for Mode 2 This can be omitted by the programmer and the printer will auto select the mode per the rules on page 70 3 The shipper has used the character to pad the symbol s data A scanner reads back all the Data within the quotation marks including the characters following the End of Message Marker Eorp 4 All of the data fields in the Low Priority Message are not used in the example Some are left empty with the field delimiting Gg character used as a format field holder 5 30 07 EPL Programming Guide 14245L 001 Rev A 74 EPL Commands b b 2D Bar Code PDF417 Specific Options Description Use this command to print PDF 417 and
163. erhead can not exceed 1500 bytes KDU Support Internally stored variable data fields are reset after cycling printer power or sending a reset command or pressing the Cancel 5 30 07 EPL Programming Guide 14245L 001 Rev A 164 EPL Commands W W Windows Mode Description This command is used to disable re enable the Windows command mode When enabled the printer will accept Windows mode escape sequences to print data When disabled escape sequences will be ignored The Windows mode escape sequences are only used by the optional Windows printer driver When working with a main frame or other non Windows host this mode can be disabled to prevent erratic operation Syntax Wp Parameters This table identifies the parameters for this format Parameters Details p Windows Mode Accepted Values Enabled Y enabled N disabled Default Value N disabled 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 165 xa xa AutoSense Description This command is used to have the printer detect the label and gap length and set the sensor levels This command will not enter into the Dump mode or print the printer configuration label Syntax xa Parameters There are no parameters for this format f Example In this example the printer will feed labels and measure the labels to set the Q values label amp gap length and the sensor levels The printer is at Top of Form TOF and ready to print xa
164. ernal wired ip default addr enable E53 15 0 internal wired ip dhcp cid all E53 15 0 internal wired ip dhcp cid enable E53 15 0 14245L 001 Rev A EPL Programming Guide 5 30 07 Table 7 SGD Command Syntax Key Internal Wired External Wired B Wireless M SGD Command Support Printer and Firmware Compatibility SGD Commands S4M ZM400 ZM600 internal_wired ip dhcp cid_prefix E53 15 0 internal_wired ip dhcp cid_suffix E53 15 0 internal_wired ip dhcp cid_type E53 15 0 internal_wired ip gateway E53 15 0 internal_wired ip netmask E53 15 0 internal_wired ip port E53 15 0 internal_wired ip protocol E53 15 0 internal_wired ip timeout enable E53 15 0 internal_wired ip timeout value E53 15 0 internal_wired mac_addr E53 15 0 ip active network GEN Es3 15 0 ip addr M E53 15 0 ip arp interval GN E53 15 0 ip bootp enable GEN Es53 15 0 ip dhcp cid all E53 15 0 ip dhcp cid enable E53 15 0 ip dhep cid prefix E53 15 0 ip dhcp cid suffix E53 15 0 ip dhcp cid type ES53 15 0 ip dhcp enable GEN Es3 15 0 ip ftp enable GEN Es3 15 0 ip gateway ES3 15 0 ip http enable GEN Es3 15 0 ip Ipd enable EN Es3 15 0 ip netmask A E53 15 0 ip pop3 enable GEN E53 15 0 ip pop3 password GEN Es53 15 0 ip pop3 poll GEN Es3 15 0 ip pop3 server addr GEN E53 15 0 ip pop3 username GEN Es53 15 0 ip port A E53 15 0 ip primary ne
165. ers to the first indexed WEP encryption key The WEP encryption key is a hexadecimal or string value This key should match the wireless network WEP encryption key 1 Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the encryption key Format Ul getvar wlan wep keyl For protection a single prints setvar This command instructs the printer to set the encryption key Format Ul setvar wlan wep key1 value Values 10 hexadecimal characters for 40 bit encryption 26 hexadecimal characters for 128 bit encryption Default All zeros gt Example This setvar example shows the value set to A1B2C3D4F5 Ul setvar wlan wep keyl A1B2C3D4F5 When the set var value is set to A1B2C3D4F5 the getvar result is 5 30 07 EPL Programming Guide 14245L 001 Rev A 306 SGD Wireless Commands wlan wep key2 wlan wep key2 Description This printer setting refers to the second indexed WEP encryption key The WEP encryption key is a hexadecimal string value This key should match the wireless network WEP encryption key 2 Type getvar setvar Note These are key reference links for this command
166. esettable counters track how much media has passed through the printer in both inches or centimeters This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note Here are some reference links for this command For details on the command structure of SGD commands see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to return the current value of the first count1 user resettable counter in both inches and centimeters Format Ul getvar odometer media marker count1 setvar This command instructs the printer to reset the first user resettable counter Format Ul setvar odometer media marker count1 value Values O reset the counter Default must be an accepted value or it is ignored Example This example shows how to get the first user resettable counter how to reset it and how to confirm the settings have changed 1 To see the current settings type Ul getvar odometer media_marker_count1 Something similar to this is shown 8516 INCHES 21632 CENTIMETERS 2 To reset the these values to 0 type Ul setvar odometer media marker count1 O 3 To confirm these settings were reset type Ul getvar odometer media marker count1 If the resetting was successful
167. et to ascii the getvar result is ascii 5 30 07 EPL Programming Guide 14245L 001 Rev A 310 SGD Wireless Commands wlan wpa psk wlan wpa psk Description This printer setting specifies the pre shared key PSK value to use when the WPA authentication is set to PSK Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the pre shared key Format Ul getvar wlan wpa psk For protection a single prints setvar This command instructs the printer to set the pre shared key Format Ul setvar wlan wpa psk value Values 64 hexadecimal digits Default 64 zeros 00000000 gt Example This setvar example shows the value set to 00000000 Ul setvar wlan wpa psk 00000000 When the set var value is set to 00000000 the getvar result is 14245L 001 Rev A EPL Programming Guide 5 30 07 A SGD Command Support This appendix provides you with details identifying which SGD commands can be used with the wired and wireless print server interfaces 5 30 07 EPL Programming Guide 14245L 001 Rev A 312 SGD Command Support Printer and Firmware Compatibility
168. et to public Ul setvar ip snmp get community name public When the set var value is set to public the getvar result is v 5 30 07 EPL Programming Guide 14245L 001 Rev A 196 SGD Printer Settings ip snmp set_community_name ip snmp set community name Description This printer setting is used when changing SNMP data remotely To alter any SNMP data the SNMP client must supply the set community name that matches the printer s set community name Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to return the printer s SNMP set community name string Format Ul getvar ip snmp set community name For protection a single returns setvar This command instructs the printer to set the SNMP set community name string Format Ul setvar ip snmp set community name value Values A maximum of 19 alphanumeric characters Default public Example This setvar example shows the value set to public Ul setvar ip snmp set community name public When the set var value is set to public the getvar result is 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 19
169. et to on Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the POP3 server address Format Ul getvar ip pop3 server addr setvar This command instructs the printer to change the POP3 server address Format U1 setvar ip pop3 server addr value Values Any valid POP3 server address Default 0 0 0 0 gt Example This set var example shows the value set to 10 3 5 10 Ul setvar ip pop3 server addr 10 3 5 10 When the set var value is set to 10 3 5 10 the getvar result is 10 3 5 10 5 30 07 EPL Programming Guide 14245L 001 Rev A 190 SGD Printer Settings ip pop3 username ip pop3 username Description This printer setting refers to the POP3 user name This only applies if the ip pop3 enable is set to on Type getvar setvar Note These are key reference links for this command d e For details on SGD command structure see Command Structure on page 178 e For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer t
170. etails on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the specified roam interval Format U1 getvar wlan roam interval setvar This command instructs the printer to set the wireless roam interval Format Ul setvar wlan roam interval value Values Decimal values between 5 and 255 inclusive Default 20 D Example This setvar example shows the value set to 20 Ul setvar wlan roam interval 20 When the set var value is set to 20 the getvar result is 20 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 293 wlan roam signal wlan roam signal Description This printer setting refers to specifying the wireless roam signal Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the specified wireless roam signal Format Ul getvar wlan roam signal setvar This command instructs the printer to set the wireless roam signal Format Ul setvar wlan roam signal value Values Decimal values betwee
171. etails on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the time of the external wired print server in seconds before the connection times out Format Ul getvar external wired ip timeout value setvar This command instructs the printer to set the time of the external wired print server in seconds before the connection times out Format Ul setvar external wired ip timeout value value Values O through 3600 Default 300 gt Example This setvar example shows the value set to 300 Ul setvar external wired ip timeout value 300 When the setvar value is set to 300 the getvar result is 300 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 227 external_wired mac_addr external wired mac addr Description This command retrieves the MAC address of the external wired print server This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Type getvar Note These are key reference links for this command t e For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command i
172. etection by the transmissive gap sensor See the printer s user manual for printer specific sensor adjustment control 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands This section contains a complete alphabetical listing of all EPL commands Memory and Command Usage The printer stores configuration settings fonts graphics logos and label form files into printer memory The Command Reference includes a Memory column with the following terms Image commands are use to assemble the printed label image in the print image buffer Form commands are only used within forms Session commands place the configuration setting in temporary RAM memory The setting reverts to the printer default when the printer has power cycled or is reset Stored memory commands will check for differences with the existing command setting prior to validating a memory write operation The printer s non volatile flash memory has a limited number of write cycles 100 000 plus Writes to memory commands are commands that do not check to see if a setting file font character or graphic is already present or if that condition is already set These commands are rarely used in forms except as a printer initialization and function oriented configuration 5 30 07 EPL Programming Guide 14245L 001 Rev A 38 EPL Commands Command Description Memory Page Command Description Memory Page
173. ethod is set by default and provides the best compaction If Binary data compaction c1 is selected the symbol will typically be larger Binary data compaction may help to minimize the amount of time it takes a system to scan and decode the data encoded within the symbol Data Type Compaction Byte by Byte Text 2 Characters per codeword Numeric 2 93 Characters per codeword Binary 1 2 Bytes per codeword Text compaction can be used for uppercase lowercase numbers space carriage return tab line feed and the following characters amp d 496 2 QI lot With text compaction up to two characters can be encoded in a single codeword e Numeric compaction can be used for numbers only Up to 2 93 characters can be encoded in a single codeword Byte compaction can be used for any character But the flexibility comes at a price byte compaction encodes only 1 2 characters per codeword pg PXXX yyy mm print human readable This parameter is a non standard implementor of the PDF417 and is only recommended for troubleshooting purposes Additional variables p p parameter identifier xxx horizontal start location yyy vertical start location mm maximum characters per line 14245L 001 Rev A EPL Programming Guide 5 30 07 Parameters Pg Bar code origin point EPL Commands 77 b Details Accepted Values 0 or 1 Default Value 1 f1 Center of bar code as defined by
174. executed by the printer upon receiving the first escape command sequence from the Windows printer driver The printer normally measures a single label and sets the top of form prior to printing the first label after a power up reset The Windows printer driver issues escape sequences when printing This command s primary use is to save preprinted forms such as serialized labels tags or tickets Mobile printers such as the TR 220 ignore this command Syntax oM This command must be issued prior to printing with the Windows driver s or any other Escape esc mode printing operation To reinitialize label calibration issue a o 111 dec or 6F hex command Parameters There are no parameters for this format 14245L 001 Rev A EPL Programming Guide 5 30 07 OR EPL Commands 127 oR Character Substitution Euro Description This command allows the advanced programmer to substitute the Euro currency character for any ASCII character in printer resident font numbers 1 4 The second function this command supports is the zero character style toggling between a plain zero character and a zero with a slash Character substitution settings are stored in the printers non volatile flash memory The original character can be restored by sending the oR command without a parameter Syntax oR p p2 Parameters This table identifies the parameters for this format Parameters Details p E If the p parameter is not p
175. f Ul setvar wlan ip dhcp cid enable off What the set var value is set to is the get var result In this example the get var result is TOE EPL Programming Guide 14245L 001 Rev A 272 SGD Wireless Commands wlan ip dhcp cid_prefix wlan ip dhcp cid prefix Description This printer setting defines the prefix to be prepended to the DHCP client identifier option 61 when DHCP is enabled on the wireless print server and wlan ip dhcp cid_type is set to 0 or 2 This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier prefix of the wireless print server Format Ul getvar wlan ip dhcp cid prefix setvar This command instructs the printer to change the CID prefix of the wireless print server Format Ul setvar wlan ip dhcp cid prefix value Values Any text string up to 10 characters if the CID type is ASCII or 20 characters if the CID type is hexadecimal Default Value Example This setvar example shows the value set to PRTOO1 Ul setvar wlan ip dhcp cid prefix PRTOO1 What the
176. f the CID type is ASCIL or 120 characters if the CID type is hexadecimal Default Value Example This setvar example shows the value set to printer Ul setvar wlan ip dhcp cid all printer What the setvar value is set to is the getvar result In this example the getvar result is printer 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 271 wlan ip dhcp cid_enable wlan ip dhcp cid enable Description This command determines if DHCP option 61 is turned on or off of the wireless print server This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the status of the client identifier of the wireless print server Format Ul getvar wlan ip dhcp cid enable setvar This command instructs the printer to set the status of the client identifier of the wireless print server Format Ul setvar wlan ip dhcp cid enable value Values off client identifier is turned off on client identifier is turned on Default off Example This setvar example shows the value set to of
177. ff BOOTP is a method for acquiring an IP address netmask and gateway automatically on printer power up It requires a BOOTP server on the local network Type getvar setvar Note If you are using static IP addressing the IP protocol must be set to permanent Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the current BOOTP setting Format U1 getvar ip bootp enable setvar This command instructs the printer to turn BOOTP on or off Format Ul setvar ip bootp enable value Values off printer does not use BOOTP to get the IP address on printer uses BOOTP to get the IP address Default on gt Example This setvar example shows the value set to on Ul setvar ip bootp enable on When the setvar value is set to on the getvar result is on 5 30 07 EPL Programming Guide 14245L 001 Rev A 252 SGD Wireless Commands ip dhcp cid all ip dhcp cid all t Description This printer setting defines the entire client identifier DHCP option 61 if the DHCP is enabled and ip dhcp cid type is set to 0 or 2 The MAC address is used if the type is set to 1 Type getvar setvar Note
178. fies the commands for this format Commands Details getvar This command instructs the printer to respond with the external wired print server s subnet mask Format Ul getvar external wired ip netmask setvar This command instructs the printer to change the external wired print servers s subnet mask Format Ul setvar external wired ip netmask value Values Any valid subnet mask Default 255 255 255 0 gt Example This setvar example shows the value set to 255 255 255 0 Ul setvar external_wired ip netmask 255 255 255 0 When the setvar value is set to 255 255 255 0 the getvar result is 255 255 255 0 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 223 external_wired ip port external wired ip port Description This printer setting refers to the external wired print server s port number that the TCP print service is listening on Normal TCP communications from the host should be directed to this port This command is only supported on Zebra ZM400 ZM600 and SAMTM printers running E53 15 xZ or later Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond
179. from left to right The Asian printers support the standard Latin fonts with the single character map code page 437 for all five 5 fonts The Asian characters are 16 bit or double byte mapped characters The printed Asian character is dependent on the double byte ASCII values The Latin English etc font sets are 8 bits per or single byte ASCII character maps Note Only one 1 Asian language is supported by a printer Each Asian language rj character set is a separate printer firmware version Asian printers with flash firmware can be reprogrammed for a different Asian language but we do not recommend this for normal use Chinese Character Set The printer automatically recognizes single byte characters and double byte characters The single byte font characters are mapped to hexadecimal address range 00 to 7F hex 0 127 decimal for 203 dpi printers and 00 to FF hex 0 255 decimal for 300 dpi printers The double byte font characters are mapped to hexadecimal address range A1A0 to F7FF hex First byte 161 A1h and second byte 160 AOh to first byte 247 F7h and second byte 255 FFh is the decimal grouped byte range 5 30 07 EPL Programming Guide 14245L 001 Rev A Introduction 30 Chinese Fonts 8 amp 9 Double Byte Ideographic Characters The Chinese ideographic font characters are mapped to double byte hexadecimal address range A1AO0 to F7FFhex See the following pages for the codepage character mapp
180. ge mode printing supports the Euro character with a character substitution command the oR command The Font 5 character set does not support the typical implementation of the Euro character position at 213 decimal D5 hexadecimal 14245L 001 Rev A EPL Programming Guide 05 30 2007 Dump Mode Character Map Figure 9 Dump Mode Character Map 0123456 78S9ABCDEF 99 4 Do DEI AK Pai te HAN HEZ 0123456759 p ABCDEFGHIJKLMNO PQRSTUVWXYZ 4_ abcdef ghi jk lmno porstuvuxyz A Guess aac Ec i AA effoooauyoUg 0xf i unNs39cbeeo4WM i aai J AAO l2 cY4 Li PASA iho SDEEE11 5117 E KNSE O12 0123456 78SABCDEF Character References Dump Mode Character Map AMYOWDOD JO 01 43 0 N E C The printer s Dump Mode is used to troubleshoot programming The printer will print all data as sent in Dump Mode Characters shown below 05 30 2007 EPL Programming Guide 14245L 001 Rev A 319 320 Character References Dump Mode Character Map 14245L 001 Rev A EPL Programming Guide 05 30 2007 2746e Print Odometer The 2746e printer includes additional hardware for a print odometer to assist with printer maintenance and maintenance scheduling The print head as a consumable item wears out and may need periodic replacement to maintain print quality The printer also needs regular cleaning and print head conditioning to maximize the service life of the printer and it s print he
181. gin for Text Object v Text Object P355 2x Horizontal Multiplier e Rotated 90 HAH t 5 6 Point o l Origin for pa Text Object P375 D 2x Vertical Multiplier t S Point of UM Origin for Text Object p 75 Direction Of Feed Point of Origin for Text Object Rotated 270 p 74 14245L 001 Rev A EPL Programming Guide 5 30 07 Introduction 29 Language Character Sets Fonts 1 5 The Latin based language and Greek character support is controlled and enabled with the command on page 110 The default language set is the English DOS codepage 437 Characters such as the Euro symbol can be substituted using the oR command on page 127 Asian Character Sets Fonts 8 amp 9 The Page Mode EPL2 programming language supports up to two 2 font sets of a single Asian language as well as the standard EPL2 Latin Multilingual fonts 1 5 and downloadable soft fonts A Z and a z Asian language support is an optional feature and requires a special version of the printer PCBA to support the large Asian character sets The flash based printers support up to five different Asian language character ideogram sets See the A command on page 41 for the detailed list of of fonts For Asian language firmware updates publications and support options see www zebra com All fonts can be expanded both horizontally and vertically The Asian fonts can also be printed from top to bottom or in the Latin character orientation
182. graphic logo A second delete is requierd for flash printers GK LOGO I GK LOGO 4 Example 2 This example deletes all graphics GK ow ad 5 30 07 EPL Programming Guide 14245L 001 Rev A 106 EPL Commands GM GM Store Graphics Description Use this command to store PCX graphics files in memory Syntax GM NAME p carriage return DATA Parameters This table identifies the parameters for this format Parameters NAME Graphic name Details This is the grahpic name that will be used when retrieving the stored graphic The name may be up to 8 characters long e Graphic names stored by the printer are case sensitive and will be stored exactly as entered with the GM command line i e LOGOT logo1 and LoGo1 are three different graphics when stored into the printer or when retrieved by the user e Deleting a single graphic requires that the GK FORMNAME command string be issued twice for each form deleted Some label generation programs re issue graphics graphic delete and store every time a label is printed which will reduce flash memory life p File size in bytes Use the DOS DIR command to determine the exact file size DATA Graphic data Graphic data in 1 bit black amp white PCX binary data format file A graphic will not store if sufficient memory is not allocated to graphic memory See the M command for details on adjusting and confi
183. guring memory to store graphics forms and soft fonts Verify the proper storage of the graphic with the GI command 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 107 GM Example 1 GK LOGO1 1 deletes graphic LOGO1 Required GK LOGO1 second delete graphic Required GM LOGO1 584 Prepares printer to receive graphic LOGO1 DATA Data string in PCX format If using a DOS system the PCX format file T data portion can be sent to the printer using the DOS COPY command For example if you have a PCX file named LOGO1 PCX in your current directory the appropriate command would be COPY LOGO1 PCX PRN b After downloading the GI command can be used to verify that the graphic was successfully stored Paan Example 2 First create a text file STOREIT TXT with an ASCII text editor as follows GK WORLD J GK WORLD J GM WORLD 2004 Where WORLD is the name of the graphic and 2004 is the size in bytes of the PCX file DO NOT add extra linefeeds to the STOREIT TXT file Next at the DOS prompt type COPY STOREIT TXT WORLD PCX PRN b or use the Zebra Firmware Downloader from Windows OS download the STOREIT TXT and WORLD PCX in sequence to the printer 5 30 07 EPL Programming Guide 14245L 001 Rev A 108 EPL Commands GW GW Direct Graphic Write Description Use this command to load binary graphic data directly into the Image Buffer memory for immediate print
184. h of the supplied parameters Example If the current time is 1 25 p m TTh m s l 01 25 00PM TTh mJ 13 25 TTh 01 PM When printing the following N TTh m s A100 500 0 4 1 2 N Current Time TT A100 600 0 4 1 2 N IHrJ TT 60 A100 700 0 4 1 2 N 12hrs TT 720 Pla the result will be similar to this Current Time 01 25 35PM 1Hr 02 25 35PM 112Hrs 01 25 35PM 5 30 07 EPL Programming Guide 142451 001 Rev A 146 co U U Print Configuration General Description Use this command to print the current printer configuration for page mode printing The printout is the same the Dump Mode printout initiated by the printer s AutoSense routine The printer does not enter Dump Mode See Explanation of the Status Printout on page 34 for a description of this printout Syntax U Parameters There are no parameters for this format gt Example The configuration label below is produced by this command UH UKO1935HLU V4 59 Serial port 96 N 8 1 Page Mode Image buffer size 0245K Fmem used 0 bytes Gmem used Emem used 29600 Available 100959 18 0 001 rY JF WY S4 D10 R ZT UN q832 01016 24 Option D Ff oEv u x y z 06 11 18 Cover T2143 C 166 14245L 001 Rev A EPL Programming Guide 5 30 07 UA EPL Commands 147 UA Enable Clear Label Counter Mode Description This command sets the printer to clear empty the print buffer if a media out condition is detected
185. hcp cid type 1 What the setvar value is set to is the getvar result In this example the getvar result is 1 n 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 275 wlan ip gateway wlan ip gateway Description This command instructs the printer to change the wireless print server s gateway address This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note This setting refers to the gateway address A set value is ignored if the IP protocol is not set to permanent Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the wireless printer server s gateway address Format Ul getvar wlan ip gateway setvar This command instructs the printer to change the wireless printer server s gateway address Format Ul setvar wlan ip gateway value Values Any valid gateway address Default 0 0 0 0 gt Example This setvar example shows the value set to 10 3 5 1 Ul setvar wlan ip gateway 10 3 5 1 When the set var value is set to 10 3 5 1 the getvar resultis 10 3 5 1 5 30 07 EPL Programming Guide 14245L 001 Rev A 276 SGD
186. he head clean odometer count This counter tracks how many inches and centimeters have passed through the printer since the head was last cleaned This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to retrieve the values for the head clean counter Format U1 getvar odometer headclean setvar This command instructs the printer to reset the head clean counter Format U1 setvar odometer headclean value Values O reset the head clean counter Default must be an accepted value or it is ignored Example This example shows how to get the odometer head clean how to reset it and how to confirm the settings changed 1 To see the current settings type Ul getvar odometer headclean Something similar to this is shown 1489 INCHES 3784 CENTIMETERS 2 To reset the these values to 0 type Ul setvar odometer headclean 0 3 To confirm this settings were reset type Ul getvar odometer headclean If the resetting was successful this is shown O INCHES O CENTIMETERS EPL Programming Guide 14245L 001 Rev A 204
187. he label is 1 mm Printing closer than 1 mmn to the top or bottom edge of the label may cause the printer to advance unwanted labels or cause the printer to go into error condition 5 30 07 EPL Programming Guide 14245L 001 Rev A 26 Introduction Text Fonts The standard EPL2 printer has five 1 5 resident mono spaced dot fonts Fonts A Z and a z upper and lower case alpha characters are reserved for downloading soft fonts Figure 3 Character spacing First Character of Text String Reference Point 8 Dots 1 Character Width r 4 Inter character Space actually white dots Control text height in horizontal dots and width in vertical dots with the horizontal and vertical multipliers The text is oriented first and then the A command s font multipliers and font rotation are applied a Note The reference point of the first character in a text string is not affected by the font size multiplier values 14245L 001 Rev A EPL Programming Guide 5 30 07 Introduction 27 The standard Latin font 1 5 and soft font characters are dot mapped differently than the Asian font 8 amp 9 characters The Asian character does not have a built in inter character gap The Latin characters include a single dot border around each character Total Charac
188. her line p1 print one label will produce this label 5 30 07 EPL Programming Guide 14245L 001 Rev A 116 EPL Commands LO LO Line Draw Black Description Use this command to draw black lines overwriting previous information Syntax LOpj p2 P3 Pa Parameters This table identifies the parameters for this format Parameters Details p Horizontal start Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots p3 Horizontal length Horizontal length in dots p4 Vertical length Vertical length in dots umm Example N clear image buffer LO50 200 400 204 draw a line LO200 50 20 4004 draw another line P14 print one label will produce this label 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 117 LS LS Line Draw Diagonal Description Use this command to draw diagonal black lines overwriting previous information Syntax LSpj P2 P3 Pa Ps Parameters This table identifies the parameters for this format Parameters Details p Horizontal start Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots p3 Horizontal length Horizontal length in dots p4 Vertical length Vertical length in dots ps Vertical end position Vertical end position Y in dots gt Example No Clear image buffer LS10 10 20 200 20
189. hese are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to return the SMTP status Format U1 getvar ip smtp enable setvar This command instructs the printer to turn SMTP on or off Format Ul setvar ip smtp enable value Values Off disables SMTP on enables SMTP Default on gt Example This setvar example shows the value set to on Ul setvar ip smtp enable on When the setvar value is set to on the getvar result is on 5 30 07 EPL Programming Guide 14245L 001 Rev A 194 SGD Printer Settings ip smtp server_addr ip smtp server addr Description This printer setting refers to the IP address of the SMTP server used for sending email Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the current SMTP server address Format Ul getvar ip smtp server addr setvar This command instructs
190. his example the get var result is printer EPL Programming Guide 14245L 001 Rev A 274 SGD Wireless Commands wlan ip dhcp cid_type wlan ip dhcp cid type Description This printer setting defines the type of client identifier DHCP option 61 that will be sent if DHCP is enabled on the wireless print server A value of 1 means the type of Ethernet and the printer s MAC address will be used A value of 0 or 2 means the client identifier sent will be wlan ip dhcp cid prefix concatenated with wlan ip dhcp cid suffix This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier type for the wireless print server Format Ul getvar wlan ip dhcp cid type setvar This command instructs the printer to enable synthetic client identifier for the wireless print server Format Ul setvar wlan ip dhcp cid type value Values O ASCII string 1 wireless radio card s MAC address 2 HEX value Default Value 1 Example This setvar example shows the value set to 1 Ul setvar wlan ip d
191. iCode Specific Options eee ee 70 Using AIM Specified MaxiCode Data Formatting 0200005 72 b 2D Bar Code PDF417 Specific Options 0 0 cee eee 74 PDF 417 General Information 0 00 cee eee 78 PDF 417 Symbol Geometry 000 0 cee eee 79 Automatic PDF 417 Bar Code Generation cece eee 79 b 2D Bar Code QR Code Specific Options llle 81 C COUNTE cerei oed beta hades ped d Sia dda pid Ba d eed ordo ds 83 C Cut Immediate csse m xr x EE RR Cx RR RU URGERE Rx RR A 85 IB B 4 APP 86 dump Enable Dump Mode 0 eet tetas 87 EI Print Soft Font Information 0 0000 eee 88 EK Delete Soft Font 0000 tee eee 89 eR User Defined Error Status Character 0000 ee 90 ES Store Soft Font ssa scu RR La dete delsi als geet RU AIR SEE E eda d 91 14245L 001 Rev A EPL Programming Guide 5 30 07 Contents E Gut POSILIOI nisse BANDA bbb soe eee hs KANG Bes RD ae ee NONA vx 96 EB Adjust Backup POSION 24 000eeee sG o44 Sa KONDI RE ee Rede RoR a TE YEE EY 97 FE End Form Store 2 a aeiee Aa ee ee ee ee eee ee ee ee ee RR a 98 FI Print Form Information 00000 tenes 99 FK Delete Form 000 cc hrs 100 FR Retrieve Form 0 000 cc eee eee 101 FS Store FOIM z2iee ikcese wen ae ened ease ERANA G AE a a nen sede ee a 102 GG Print Graphics 0 00 tee eee 103 GI Print Graphics Information
192. iable intended for printing If you send the printer a memory partition command the label will print and if you send a delete command the label will also print So while you are testing AUTOFR it is best to use another name for the form Once you are satisfied with the form rename it AUTOFR before you download it There is no need to specify a file extension 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 49 AUTOFR Isolating Data from the Input Device Place the printer in the diagnostic dump mode and send from your data input device All characters the device sends will be printed on the label If nothing prints nothing is arriving check pin outs and serial settings Disabling AUTOFR Send a XOFF data character 13 hex or ASCII 19 or a NUL 00 hex or ASCII 0 to the printer The form may now be deleted from the printer Removing AUTOFR The programmer must send a Delete Form FK command to the printer after disabling AUTOFR FK AUTOFR A FK AUTOFR J 5 30 07 EPL Programming Guide 14245L 001 Rev A 50 EPL Commands B B Bar Code Description Use this command to print standard bar codes Syntax Bpi t P2 f P3 P4 L Ps 1 P6 L P7 Pg 1 DATA Parameters This table identifies the parameters for this format Parameters P Horizontal start position Details Horizontal start position X in dots P2 Vertical start position Vertical start position Y in dots
193. iage Return CR character is ignored by the printer and cannot be used in place of LF Command Editor One method to create command files is through an ASCII based text editor In the DOS environment MS DOS EDIT or BRIEF are good choices In the Windows environment TextPad for Windows is a good choice and is available for download of a free evaluation copy at www textpad com Sending Commands Directly to the Printer The easiest method available in the Microsoft Windows environment is to use the Zebra Universal Printer Driver ZUD for sending single EPL Page Mode commands to the printer This method supports all of the printer interfaces If you have successfully installed the printer and its printer driver you can use the following procedure 1 Find and open your printer in the Windows Start gt Settings gt Printers and Faxes selection Programs C3 Documents 4 Search ki Network Connections gt B Printers and Faxes gl Taskbar and Start Menu Help and Support g Run Log Off 9 shut Down oe 2 In the newly opened Printers and Faxes window left click a single time to select your printer and then right click to open a menu window Printers and Faxes File Edit View Favorites Tools Help OX LZ Address Printers and Faxes EEE Name El Add Printer EXZebra TLP3842 3 Click on the Properties menu selection Status Comments Offline Ready 5 30 07 EP
194. ide 5 30 07 EPL Commands 135 q Set Label Width Description Use this command to set the width of the printable area of the media Syntax ap This table identifies the parameters for this format Parameters Details The q command will cause the image buffer to reformat and position to match the selected label width p p The width of the label measured in dots Figure 5 Image Buffer Positioning Center Aligned Printers Print Head po KPA PAA q Center Alignment Figure 6 Image buffer Positioning Left Aligned Printers Left Alignment Edge 5 30 07 EPL Programming Guide 14245L 001 Rev A 136 EPL Commands q o Notes For all EPL desktop printers this command will automatically set the left margin according to the following rules print head width label width 2 The q value affects the available print width Minimizing the q value will maximize the print length and print speed double buffering If the R Command Reference Point is sent after this command the image buffer will be automatically reformatted to match the width of the print head and is offset by the R command specified image buffer starting point nullifying the q command Example q416 1 sets label width to 416 dots wide 14245L 001 Rev A EPL Programming Guide 5 30 07 Q EPL Commands 137 Q Set Form Length Description Use this comm
195. ies uo ER UR RERO ERE eee eee eds 110 Character Substitution Euro coin cong bees P RESRARYG ERG ee SOG e HERE eee CEA A 127 Clear Image Buffer xeu ub annann 120 Code Comment Line 2252444293 5225994 EXE T Dark E SG Rs haha med Eois d edad 174 Codepage amp Memory Inquiry 0 000 tees 153 Codepage amp Memory Inquiry Print llle 155 Configuration Iri EVE cade Edd HERES ait ek p ERE CREE Hees BAWA 156 Counter AP ene ae eens ceo ee na eee Ks 83 Customize Bar Code Parameters 2 41 2229 RR AR ERG KADETE ERE REESE 128 Cut Immediate AA PAA E EE EE E EE 85 CUL POSION P Tr EEETUUUMTTMST 96 Date Recall amp Format Layout 2 code wc eo uke aaa 143 Define Variable 2 nau ances AA 162 Delete POM kaaa e Em AGAHAN DAKILA KNA ad aei epa KA bead PAD a adiri s 100 5 30 07 EPL Programming Guide 13979L 002 Rev A 12 Functional Table of Contents for EPL Commands Delete Graphis es rekert tida aas Ege Ek aa aE a bidutagtens ta beeare TAGA GA 105 Delete SOW Font lt iceteahane sd fades bee ALAGA Na ah enet hewessendbeeee sea he wadts 89 DEMI DP 86 Direct Graphic Writ s sisri epski eens di btk pies E CERTE ERRARE EE ERE ES 108 Disable Error Reporting ii waa sce ke Sheds Gee ees BISE 54 EROR RO RO GALA ACE Ges 154 Disable Initial Esc Sequence Feed i223 ke ie 9RREREPe4R RAE RREIPA S E Rd 126 Disable Print Head Life Reminder 00 cece eee 324 Disable Top Of Form Backup seosctuso uoces EROR RR ee ee hae ENERGY hawk 112
196. image of the bar code Selects an inverse image of the bar code sometimes known as reverse video or a negative image Po b Intra Symbol Barrier Width Specifies the width of the barrier in narrow bar widths between the Aztec and standard linear bar code areas Accepted Values 1 9 Default Value 4 for EAN 13 and UPC A 2 for all other supported standard linear bar codes P10 S Symbol Symmetry Must preceed the p11 c parameter Default Value Regular stacked Value e even symmetry P11 C Selects an inverse image of the bar code Enables the f1g n format using the ASCI Escape character 27 decimal Default Value Disabled DATA ASCII data or Binary data bytes Any combination of data strings time fields TT date fields TD variables and or counters the latter two within forms only that resolve to a valid string of characters Within literal strings all ASCII characters 0 255 dec 00 FF hex are allowed Quotes ASCH 34d and backslashes ASCII 92d must be uniquely handled The backslash character designates the following character is a literal and will encode into the data field Refer to the following examples To Print Enter into data field Vv Company Company code code V Within forms further limitations include that a NULL ASCII 0 character may not appear within bar code DATA and entry limitations do not provide for a w
197. ing Theprinter does not store graphic data sent directly to the image buffer The graphic data is lost when the image has finished printing power is removed or the printer is reset Commands that size Q and q or clear N and M the image buffer will also remove graphic image data Syntax GWp P2 P3 Pa DATA Parameters This table identifies the parameters for this format Parameters P Horizontal start Details Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots P3 Width of graphic Width of graphic in bytes Eight 8 dots one 1 byte of data p4 Length of graphic Length of graphic in dots or print lines DATA Raw binary data without graphic file formatting Data must be in bytes Multiply the width in bytes p3 by the number of print lines p for the total amount of graphic data The printer automatically calculates the exact size of the data block based upon this formula 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 109 i Asian Character Spacing Description Places an adjustable inter character space between Asian font characters fonts 8 and 9 only The inter character spacing gets multiplied with the text string by the selected font s horizontal and vertical multiplier values Syntax ip Parameters This table identifies the parameters for this format Parameters Details A
198. ings e Simplified 203 dpi printers e Simplified 300 dpi printers Traditional 300 dpi printers Japanese Character Sets The printer automatically recognizes single byte characters and double byte characters in the Shift JIS codepage The single byte font characters are mapped to hexadecimal address range 00 to 7F hex 0 127 decimal for 203 dpi printers and 00 to FF hex 0 255 decimal for 300 dpi printers The double byte font characters are mapped to the hexadecimal address ranges in the following table Codepage nda From To Reference 1st byte 2nd byte 1st byte 2nd byte JIS 2120 7424 33 21h 32 20h 116 74h 36 24h Shift JIS 8140 9FFC 129 81h 64 40h 159 9Fh 252 FCh E040 EAA4 224 E0h 64 40h 234 EAh 164 A4h Japanese Fonts 8 amp 9 Double Byte Ideographic Characters The Japanese ideographic font characters are mapped to double byte hexadecimal addresses See the following electronic document Acrobat format pages for codepage character maps 203 dpi printers JIS 203 dpi printers Shift JIS 300 dpi printers JIS 300 dpi printers Shift JIS 14245L 001 Rev A EPL Programming Guide 5 30 07 Introduction 31 Korean Character Sets The printer automatically recognizes single byte characters and double byte characters The single byte font characters are mapped to hexadecimal address range 00 to 7F hex 0 127 decimal The double byte font
199. inted by the last twenty 20 recorded print heads or the last ten 10 recorded print heads if the RTC is in use Syntax URH p Po Parameters This table identifies the parameters for this format Parameters are optional and maybe entered and any order Parameters Details p Report Method Sends information back to the host via the serial port and the device last active bi directional interface p Printer s Serial Default Value s P2 Units m Millimeters i Inches Example default HEAD LIFE HISTORY FOR S N XXXXXXXXXX ee SERIAL NUMBER MISMATCH DISTANCE 001 XXX XXX XXX XXX days 002 XXX XXX XXX XXX days 003 XXX XXX XXX XXX days 004 XXX XXX XXX For units with the RTC option installed The SERIAL NUMBER MISMATCH line prints when the serial number stored in the RTC does not match the serial number stored on the printer s main PCBA One or both the PCBA or RTC has been changed in this unit and the odometer data does not accurately represent printer usage The last print head record does not include the number of days in service 14245L 001 Rev A EPL Programming Guide 05 30 2007 2746e Print Odometer 327 URL URL Read Print Odometers Description Use this command to print or report via the serial or USB interface latest active print odometer data stored in printer memory Report printer usage for one or both of the following The current distance printed b
200. inter s default setting is disabled error reporting If enabled use the UN command to disable error reporting Syntax UT Parameters There are no parameters for this format 5 30 07 EPL Programming Guide 14245L 001 Rev A 160 EPL Commands U U Host Prompts Motor Temperature Description This command will cause the printer to send to the host the motor temperature status through the mobile printer s serial port This command applies to Mobile Printers Only TR 220 The printer will send motor temperature in 2 C increments to the host via the serial port The printer uses the data format of NNdeg C where NN equals the motor temperature Range Reported Degrees Celsius 24NN60 Syntax U Parameters There are no parameters for this format mai Example In this example the command is sent to the printer and the printer responds with a motor temperature of 24 deg C Use 14245L 001 Rev A EPL Programming Guide 5 30 07 US EPL Commands 161 US Host Prompts Battery Status t Description This command will cause the printer to send to the host the battery charge status This command applies to EPL Mobile Printers Only TR 220 The printer will send information about battery charge status in increments of 10 percent The printer uses the data format of VccNNN where NNN represents the battery s charge level Note EPL Mobile printers suspend all new printing operations including printer to host co
201. ions Sets the number of labels to print before the cut 5 30 07 EPL Programming Guide 14245L 001 Rev A 132 EPL Commands OEPL1 OEPL1 Set Line Mode Description This command is used to switch the printer operating mode from Page Mode EPL2 to Line Mode EPL1 emulation Line Mode configuration setting is retained after reset has been issued or power has been cycled Mobile printers such as the TR 220 ignore this command Syntax OEPL1 Parameters There are no parameters for this format Example OEPL1 l Returning to Page Mode The Line Mode command EPL2 can be sent to the printer to return the printer to Page EPL2 Mode operation The EPL2 command is preceded by an ESCape 27 dec or 1Bh character and followed by a line feed LF 10 dec or OA hex a carriage return CR 13 dec or OD hex or CR LF Example EPL2 l 14245L 001 Rev A EPL Programming Guide 5 30 07 ai EPL Commands 133 P Description Use this command to print the contents of the image buffer Note The P command cannot be used inside of a stored form sequence For automatic printing of stored forms use the PA command Syntax Pp p2 Parameters This table identifies the parameters for this format Parameters Details p Number of label sets Accepted Values 1 to 65535 P2 Number of copies of Accepted Values 1 to 65535 each labael Number of copies of each label used in combinati
202. is command instructs the printer to set a generic password for the wireless securities that need a password Format Ul setvar wlan password value Values A maximum of 32 alphanumeric characters Default password Example This setvar example shows the value set to password Ul setvar wlan password password When the setvar value is set to password the getvar result is 5 30 07 EPL Programming Guide 14245L 001 Rev A 290 SGD Wireless Commands wlan preamble wlan preamble Description This printer setting selects the radio preamble length to be used Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the current preamble length Format Ul getvar wlan preamble setvar This command instructs the printer to set the preamble length Format Ul setvar wlan preamble value Values long enables long preamble short enables short preamble Default long gt Example This setvar example shows the value set to long Ul setvar wlan preamble long When the set var value is set to Long the getvar result is long 14245L 001 Rev A EPL Progr
203. is port This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the wireless printer server s TCP UDP port number Format U1 getvar wlan ip port setvar This command instructs the printer to set the wireless print server s TCP UDP port number Format Ul setvar wlan ip port value Values 1 65535 excluding any ports currently used by other services such as 21 23 80 and 515 Default 9100 Example This setvar example shows the value set to 9100 Ul setvar wlan ip port 9100 When the setvar value is set to 9100 the getvar result is 9100 5 30 07 EPL Programming Guide 14245L 001 Rev A 278 SGD Wireless Commands wlan ip protocol wlan ip protocol Description This command configures the IP addressing method used by the wireless print server This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the synta
204. ish F Windows 1255 Hebrew P3 KDU Countyr Code 8 bit data only KDU Country Code 8 bit only 032 Belgium 049 Germany 027 S Africa 002 Canada 031 Nether ds 034 Spain 045 Denmark 039 Italy 046 Sweden 358 Finland 003 Latin Am 041 Swizerl d 033 France 047 Norway 044 U K 351 Portugal 001 U S A The default setting is 18 0 001 See Appendix B Character References for EPL2 standard font character samples 5 30 07 EPL Programming Guide 14245L 001 Rev A 112 EPL Commands JB JB Disable Top Of Form Backup Description This command disables the Top Of Form Backup feature when printing multiple labels At power up Top Of Form Backup will be enabled Syntax JB Parameters Thre are no parameters for this format pamana Example JB 3 Note With the JB command enabled the first label will backup to the Top Of Form before printing This preserves the first label which has stopped approximately one half inch from the print head This is the label s tear away point as set by the previous print operation 14245L 001 Rev A EPL Programming Guide 5 30 07 JC EPL Commands 113 JC Disable Top Of Form Backup All Cases Description This command disables the Top Of Form Backup feature for all operations Use this command for liner less printing and special media cutting modes This command only is available in the 2824 2844 and 3842 desktop printer models at this time Syntax JC Parameters Th
205. ith the host The host parameters must then be changed to resume communication Syntax Yp P2 P3 P4 Parameters This table identifies the parameters for this format Parameters Details p Baud rate Py Description 38 38 400 baud 38K 19 19 200 baud 96 9 600 baud 48 4 800 baud 24 2 400 baud 12 1 200 baud pa Parity Accepted Values O Odd parity E Even parity N No parity P3 Data bits Accepted Values 7 Seven data bits 8 Eight data bits Pa Stop bits Accepted Values 1 One stop bit 2 Two stop bits Example This example sets 19 200 baud odd parity 7 data bits and 1 stop bit Y19 0 7 14 5 30 07 EPL Programming Guide 14245L 001 Rev A 168 EPL Commands Z Z Print Direction Description Use this command to select the print orientation Syntax Zp Parameters This table identifies the parameters for this format Parameters Details P Print orientation Accepted Values T Printing from top of image buffer B Printing from bottom of image buffer Default Value T Note The top of the image buffer prints first and is viewed by the operator as printing upside down 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 169 Z gt Example This example will produce the results shown below No ZT GG10 10 WORLD A10 200 0 3 1 1 N This Graphic Was Printed With Orientation Set To ZT l Plo No ZB GG10
206. l This only applies if the ip pop3 enable is set to on Type getvar setvar Note A poll value of less then thirty seconds is not recommended The printer is unresponsive for several seconds when polling for email depending on data transfer time from the server to the printer Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the POP3 poll frequency in seconds Format U1 getvar ip pop3 poll setvar This command instructs the printer to change the POP3 poll interval A value of 0 causes the printer to only query the POP3 mailbox one time on printer power up or following a network reset Format Ul setvar ip pop3 poll value Values 0 through 65535 Default 0 Example This setvar example shows the value set to 0 Ul setvar ip pop3 poll wou When the setvar value is set to 0 the getvar result is 0 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 189 ip pop3 server_addr ip pop3 server addr Description This printer setting refers to the POP3 server IP address that the printer contacts when checking for new mail This only applies if ip pop3 enable is s
207. l font memory free in KBytes Pg Appends a response in the UI command data format See the UI command on page 152 Example Up 5 30 07 EPL Programming Guide 14245L 001 Rev A 156 EPL Commands UQ UQ Configuration Inquiry Description Use this command to send the printer configuration information back to the host via the serial port The printer will send the printer configuration line by line in ASCII to the host through the RS 232 port The information matches the configuration information printed in final phase of the printer s AutoSense routine the Dump Mode Printout or the U command printout The information and number of lines of data sent by the printer will vary from printer to printer depending upon the type of printer and options installed Syntax UQ Parameters There are no parameters for this format gt Example UQH 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 157 US US Enable Error Reporting Description Use this command to enable the printer s status reporting feature e Serial Port e Ifan error occurs the printer will send a NACK 0x15 followed by the error number to the computer e Ifno errors occur the printer will echo ACK 0x6 after each label is printed or removed if in dispense peel mode e If paper or ribbon empty occurs the printer will send through the serial port a 07 and Pnnn where nnn is the number of labels remaining to p
208. l setvar wlan wep key4 value Values 10 hexadecimal characters for 40 bit encryption 26 hexadecimal characters for 128 bit encryption Default All zeros Example This setvar example shows the value set to A1B2C3D4F5 Ul setvar wlan wep key4 A1B2C3D4F5 When the set var value is set to A1B2C3D4F5 the getvar result is 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 309 wlan wep key_format wlan wep key format Description This printer setting specifies the format for the WEP key Type getvar setvar Important This printer setting should proceed any of the wep key settings if you select a non default value Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the WEP key format Format Ul getvar wep key format setvar This command instructs the printer to set the WEP key format Format Ul setvar wlan wep key format value Values ascii WEP key is set by ASCII string hex WEP key is a Hex string Default hex Example This setvar example shows the value set to ascii Ul setvar wlan wep key format ascii When the set var value is s
209. le FCN s TTs TDs and DATA strings can be concatenated allowing them to be inserted anywhere within the symbol FCN2 FCN3 and FCN4 are illegal in Code 128 mode C p4 1C and will result in a syntax error Please refer to the Code 128 standard for a description of function characters FNC1 through FNC3 Standard Code 128 can encode all 128 standard ASCII characters O 127 Function character FCN4 provides a means of also encoding extended ASCII characters 128 255 It directs the reader to add 128 to the value of each affected character before transmitting it Two consecutive FCN4s toggle between standard and extended ASCII mode for all succeeding data characters until the end of the symbol or until another pair of FCN4s is encountered This is referred to as latching into extended ASCII mode or latching into standard ASCII mode A single FCN4 toggles between standard and extended ASCII mode for only a single following data character This is referred to as shifting into extended ASCII mode or shifting into standard ASCII mode Both code sets A and B are needed to represent the entire extended ASCII character set just as both sets are needed to represent the standard ASCII character set FCN4s can be inserted manually if necessary or desired by following the syntax described above The printer will however insert them automatically if extended ASCII characters are encountered in the DATA It will do so in the m
210. led 82 AutoSense or Sensor Failure 83 Illegal Interrupt occurred 84 Excessive Media Feeding Requires Intervention Press Feed or Reset command 5 30 07 EPL Programming Guide 14245L 001 Rev A 174 EPL Commands NG Code Comment Line Description This command signals the printer to ignore the following data All data between the line initiating semicolon character and the next line feed LF character which terminates all command lines will be ignored Supported by firmware versions 4 30 and above Syntax Comment Data Example The phrase This is used for xxxX XX is ignored by the printer This is used for xxxXXX l 14245L 001 Rev A EPL Programming Guide 5 30 07 4 SGD Printer Setting Commands This chapter provides a high level overview of printer setting Set Get Do SGD commands SGD commands are available in printers with firmware versions E53 15 x or later MEI Important These are important points to note when using EPL ZPL and SGD commands SGD commands are case sensitive EPL ZPL and SGD commands should be sent to the printer as separate files Certain settings can be controlled by EPL ZPL and SGD Configuration changes made in EPL or ZPL can affect configuration changes made in SGD Changes made with one command type EPL ZPL and SGD will affect the data returned to the host in response to EPL ZPL and getvar commands The command type EPL
211. less device is detected external wired This is the return value when an external wired device is detected unknown This is the return value if the printer has not established a network connection on any of the devices if you don t have any of the network devices plugged in ifthe printer is trying to establish a connection for example when wireless is going through the association process 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 183 ip ftp enable ip ftp enable Description This printer setting refers to the FTP protocol setting This command tells the printer to turn FTP on or off Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the FTP status Format U1 getvar ip ftp enable setvar This command instructs the printer to turn FTP on or off Format Ul setvar ip ftp enable value Values Off disables FTP On enables FTP Default on gt Example This setvar example shows the FTP status set to on Ul setvar ip ftp enable on When the setvar value is set to on the getvar result is that the FTP status is on
212. lue set to 10 14 4 235 Ul setvar ip addr 10 14 4 235 What the set var value is set to is the get var result In this example the get var result is L0O 14 4 235 5 30 07 EPL Programming Guide 14245L 001 Rev A 250 SGD Wireless Commands ip arp_interval ip arp interval VJ Description This printer setting allows you to specify the ARP Address Resolution Protocol interval or the ARP cache time out Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the ARP interval or the ARP cache time out value in seconds Format Ul getvar ip arp interval setvar This command instructs the printer to change the ARP interval or the ARP cache time out Format Ul setvar ip arp interval value Values 0 30 Default 0 Example This setvar example shows the value set to 0 Ul setvar ip arp interval o What the set var value is set to is the get var result In this example the get var result is LL 0 7 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 251 ip bootp enable ip bootp enable Description This printer setting turns BOOTP on or o
213. mmunication until the battery charge level is greater than 10 Print jobs or forms single label or batch operations will continue processing until finished The mobile printer will accept new commands and print after the battey charge is greater than 10 Syntax US Parameters There are no parameters for this format Jl Example In this example the command is sent to the printer and the printer responds with Vcc90 Usa 5 30 07 EPL Programming Guide 14245L 001 Rev A 162 EPL Commands V V Define Variable Description Use this command to define variable data for the text and bar code data fields in stored forms Variable data can be combined with fixed data or other data types counter date etc in text or bar code data fields Use this command in forms that require unique data on each label When initializing variables They must be defined in order e g VOO first V01 second They must be the next entries after the FS FORMNAME command They must be located before any counter variables Variables must not contain the NULL character 0 dec 00 hex The NULL character is an illegal text character To print the contents of the variable the variable number is referenced in the DATA field of the A ASCII text or B Bar Code commands The field justification parameter effects the way the variable will be printed When L of R are selected the variable value will be printed left or right justified in a
214. mory Allocation Writes 119 N Clear Image Buffer Image 120 o Cancel Customized Settings Writes 121 oB Cancel Customize Bar Code Writes 122 oE Line Mode Font Substitution Writes 123 oH Macro PDF Offset Image 124 oM Disable Initial Esc Sequence Feed Stored 126 oR Character Substitution Euro Writes 127 ow Customize Bar Code Parameters Writes 128 O Options Select Stored 130 OEPL1 Set Line Mode Writes 132 P Print 133 PA Print Automatic Form 134 q Set Form Width Stored 135 Q Set Form Length Stored 137 Transmissive Gap Sensor Black Line Sensorl Continuous Stock r Set Double Buffer Mode Stored 140 R Set Reference Point Stored 141 S Speed Select Stored 142 T Define Date Layout amp Print Date Writes 143 TS Set Real Time Clock Stored 144 TT Define Time Layout amp Print Time Writes 145 U Print Configuration 146 UA Enable Clear Label Counter Mode Session 147 UB Reset Label Counter Mode Writes 148 UE External Font Information Inquiry 149 UF Form Information Inquiry 150 UG Graphic Information Inquiry 151 UI Host Prompts Codepage Inquiry Session 152 5 30 07 EPL Programming Guide 14245L 001 Rev A 39 40 EPL Commands Command Description Memory Page Command Description Memory Page UM Codepage amp Memory Inquiry Session 133 UN Disable Error Reporting Stored 154 UP Codepage amp Memory Inquiry Print 155 UQ Configuration Inq
215. mware version Rs 266 wlan ipsaddr aa AA a a E la m HERR Rh m HR NA ee p A 267 wlan ip arp interval RR RII I 268 wlan ip default addr enable 00 cece rh 269 wian ip dhcp cid_all 0 eee 270 wian ip dhcp cid_enable 0 aaan 271 Wlan p dhcp eid prefix s s conus ph Na grey x NES rc beaks ri dir See AED AUS 272 wlan p dhep cid Suffbc a paan PAKA e Rem cren paana enes e Ep EE E IY X wx Rok 273 wlari ip dhcp cld type dicen Rode eni iay Dum xe RE RARE RES ue es 274 wlan ip gateway eer rr 275 wlan ip netmask xxu REB E eee eee Mey ewe Renee ag aed RC Mee e 276 IE PPP 277 wlan ip protocol eR m mme 278 wlan ip timeout enable RA e 279 wlan ip timeout value saes Rr 280 wlan keep alive enable sisse I I 281 wlan keep alive timeout 0 0 2 RH 282 wlan kerberos kdC 1 m m 283 wlan kerberos password eh re 284 wlan kerberos realm l l hr 285 wlan kerberos username hr 286 wlanimac addi can teere be aee Ka ee wee qa cau e ee 287 wlan operating mode mr 288 Wlan password ssim BbLreicoRR EG nz RODEO MEGORRE TN RPE E RE ERR nena 289 wlan preamble 2 4 rie RR Redde dgcR Ru bud ed bend dar eU EE qug fes 290 wlan private key password 0 0c eect I 291 wlan roam interval llle hr 292 wlariroamt signal erso teranu id ba ew Beh clad PR aa he Ph Uhh mh LA 293 Wah SeCUIILY a ccc ea eee keke eee eee ee Rene
216. n 1 and 75 inclusive Default 50 gt Example This set var example shows the value set to 50 Ul setvar wlan roam signal 50 When the set var value is set to 50 the getvar result is 50 5 30 07 EPL Programming Guide 14245L 001 Rev A 294 SGD Wireless Commands wlan security wlan security Description This printer setting allows you to specify both the wireless encryption type and authentication type in one command Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 Note When using certificate files Zebra printers support using Privacy Enhanced Mail PEM formatted certificate files using the client certificate and private key as two files each downloaded separately using exportable PAC files for EAP FAST These certificate files can only be sent using ZPL not SGD The ZPL command to use when sending these certificate files is the DY command 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 295 wlan security This table identifies the commands for this format Commands _ Details getvar This command instructs the printer to return the name and not the type If an invalid security mode is entered the printer returns Invalid Mode Format U1 getvar wlan security
217. n area with a width defined by p parameter Syntax Vp p2 p3 PROMPT Parameters This table identifies the parameters for this format Parameters Details Pz Variable number Variable reference numbers are sequential and must be input into a form in ascending order Accepted Values 00 to 99 P2 Maximum number of This is the maximum number of characters allowed in the characters variable field Accepted Values 1 to 99 p3 Field Justification Accepted Values L Left R Right C Center N No Justification ma Note Right and center justification does not apply to soft fonts 14245L 001 Rev A EPL Programming Guide 5 30 07 Parameters PROMPT ASCII text field EPL Commands 163 V Details An ASCII text field that will be transmitted to the host via the serial interface each time this command is executed Use the prompt to ask for a value to be entered for the variable KDU Options Example V00 15 N Enter Having the first character of the prompt a single minus sign will cause the prompt to display only once after form retrieval The KDU allows a maximum of 40 characters for entry into a variable data field and display Accepted Values 1 to 40 for KDU Range p5 but not to exceed a total of 1500 bytes for all variables Product Name J Note The maximum amount of data stored as variable data including counter variables and data reference ov
218. nds SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the the currently set media print mode Format Ul getvar media printmode setvar This command instructs the printer to change the media print mode Format Ul setvar media printmode value Values tear off T peel off p rewind R applicator A cutter C delayed cutter D reserved L reserved U Xx These values are only supported on the Zebra ZM400 ZM600 printer gt Example This setvar example shows the value set to T Ul setvar media printmode T What the set var value is set to is the get var result In this example the get var result is tear Off For more details on how each setvar value relates to the getvar responses see Table 5 Setvar Getvar Relation on page 202 5 30 07 EPL Programming Guide 14245L 001 Rev A 202 SGD Printer Settings media printmode If the setvar is set to Table 5 Setvar Getvar Relation Then the getvar response and front panel display is mapa TEAR OFF up PEEL OFF RY REWIND A APPLICATOR NG CUTTER D DELAYED CUT LY RESERVED AT RESERVED 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 203 odometer headclean odometer headclean Description This printer setting refers to t
219. nds Details getvar This command instructs the printer to respond with the network mode value Format Ul getvar wlan operating mode setvar This command instructs the printer to set the network operating mode Format U1 setvar wlan operating mode value Values adhoc printer will try to associate with a network device infrastructure printer will try to associate with an access point Default infrastructure gt Example This setvar example shows the value set to infrastructure Ul setvar wlan operating mode infrastructure When the setvar value is set to infrastructure the getvar result is infrastructure 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 289 wlan password wlan password Description This printer setting refers to the generic password that is used by the wireless securities that need a password Type getvar setvar Important Kerberos has its own password field Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with a generic password for wireless securities Format Ul getvar wlan password For protection a single prints setvar Th
220. network Format Ul getvar wlan signal noise gt Example In this example the getvar result is the current signal noise value Ul getvar wlan signal noise 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 297 wlan signal_quality wlan signal quality t Description This command instructs the printer to return the current signal quality of the wireless network Values below 4046 represent a poor signal quality and radio communication is not reliable Type getvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command instructs the printer to return the current signal quality of the wireless network Format Ul getvar wlan signal quality p Example In this example the getvar result is the current signal quality value Ul getvar wlan signal quality 5 30 07 EPL Programming Guide 14245L 001 Rev A 298 SGD Wireless Commands wlan signal_strength wlan signal strength Description This command returns the signal strength of the connection to the access point as a percentage value between zero not connected and 100 strongest signal Values below 40 represent a very poor signal and radio communication is not reli
221. nstructs the printer to respond with the MAC address of the external wired print server Format Ul getvar external wired mac addr op Example In this example the get var result is the MAC address of the external wired print server Ul getvar external wired mac addr 5 30 07 EPL Programming Guide 14245L 001 Rev A 228 SGD Wired Commands internal_wired ip addr internal wired ip addr es W Description This command allows you to get or set the internal wired print servers s IP address This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Important For a set IP address to take affect the IP protocol must be set to permanent and the print server must be reset Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with its current internal wired print server IP address Format Ul getvar internal wired ip addr setvar This command instructs the printer to change its current internal wired print server IP address upon powering the pri
222. nter on Format U1 setvar internal wired ip addr value Values any valid IP address Default 0 0 0 0 Note The setvar value of this command can be affected by the internal wired ip dhcp enable command Example This setvar example shows the value set to 10 14 4 235 Ul setvar internal wired ip addr 10 14 4 235 What the setvar value is set to is the getvar result In this example the getvar result is 710 14 4 235 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 229 internal_wired ip arp_interval internal wired ip arp interval Description This print server setting allows you to specify the ARP Address Resolution Protocol interval or the ARP cache time out for the internal wired print server This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the ARP interval or the ARP cache time out value for the internal wired print server Format Ul getvar internal wired ip arp interval setvar This command instructs the printer to change the ARP interval or
223. o respond with the POP3 user name Format U1 getvar ip pop3 username setvar This command instructs the printer to change the POP3 user name Format Ul setvar ip pop3 username value Values A maximum of 20 alphanumeric characters Default D Example This setvar example shows the value set to user Ul setvar ip pop3 username user When the setvar value is set to user the getvar result is user 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 191 ip primary_network ip primary network Description This command allows you to set the primary network to either wired or wireless This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar setvar d Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the name of the current primary network device Format Ul getvar ip primary network setvar This command instructs the printer to set the current network device Format U1 setvar ip primary network value Values 1 wired 2 wireless Default wired gt Example This setvar example shows the value set to wired Ul se
224. on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the status of the client identifier of the internal wired print server Format Ul getvar internal wired ip dhcp cid enable setvar This command instructs the printer to set the status of the client identifier of the internal wired print server Format Ul setvar internal wired ip dhcp cid enable value Values off client identifier is turned off on client identifier is turned on Default off Example This setvar example shows the value set to off Ul setvar internal wired ip dhcp cid enable off What the set var value is set to is the get var result In this example the get var result is of f LL 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 233 internal wired ip dhcp cid prefix internal wired ip dhcp cid prefix Description This printer setting defines the prefix to be prepended to the DHCP client identifier option 61 when DHCP is enabled on the internal wired print server and internal wired ip dhcp cid type issetto 0 or 2 This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600
225. on with counters to print multiple copies of the same label Example Pid prints one label set P2 14 prints 2 label sets of one label each P5 21 prints 5 label sets of 2 labels each 5 30 07 EPL Programming Guide 14245L 001 Rev A e EPL Commands PA PA Print Automatic Description Use this command in a stored form sequence to automatically print the form as soon as all variable data has been supplied Syntax PAp p2 Parameters This table identifies the parameters for this format Parameters Details P Number of label sets Can be variable data Accepted Values 1 to 9999 P2 Number of copies of Can be variable data the same labael Accepted Values 1 to 9999 gt Example FK 1 l FS 1 l V00 10 N prompt 4 V01 1 N prompt 4 V02 4 N prompt 4 A24 24 0 4 1 1 N VOO PAVO1 V02 FEJ FR T5 2x This Is Text l 3 1 24 Sets the number of copies of each label used in combination with counters to print multiple copies of the same label This value is only set when using counters delete form named 1 start form store sequence define variable 00 define variable 01 define variable 02 write a line of text including variable print 1 label automatically end form store sequence retrieve form 1 get variables data for V00 data for V01 pl number of sets data for V02 p2 number of copies 14245L 001 Rev A EPL Programming Gu
226. ons e must be terminated by a space character or a CR LF 0x0D 0x0A Some Do commands require additional settings which must be enclosed in double quotes Important The values must be specified in lower case 5 30 07 EPL Programming Guide 14245L 001 Rev A 246 SGD Wireless Commands Command Structure Command Structure It is important to understand the structure of the command and its components A command structure illustration is provided for each command in this guide gt Example This is an example of a command structure illustration U1 setvar ip addr value 1 2 3 1 Command always preceded with an exclamation point and must be specified in lower case A space resides between the and U1 and between U1 and the command setvar or getvar 2 Attribute always in double quotes and must be specified in lower case 3 Chosen value always in double quotes Only applicable for setvar and do This command must be terminated by a space character or a CR LF Ox0D 0x0A Note Some RF cards do not support all of the SGD commands How to Send Multiple SGD Commands For any getvar setvar or do command if you issue the syntax without the 1 and use the END command followed by a space multiple SGD commands are sent simultaneously LL Example This syntax shows how you can send multiple getvar commands 1 U getvar ip telnet enable getvar ip dhcp enable
227. ost efficient manner possible e If up to 4 contiguous extended ASCII characters are encountered it will shift into extended ASCII mode by inserting a single FCN4 before each one If 5 or more contiguous extended ASCII characters are encountered it will latch into extended ASCII mode by inserting two FCN4s before them While latched into extended ASCII mode it will apply the same rules if standard ASCII characters are encountered 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 55 B Thus the preferred way to encode extended ASCII characters is to simply embed them in the DATA and let the printer manage the encoding task For best results the code set should also not be specified i e p4 1 FCN4 s should be manually inserted only in systems where extended ASCII characters cannot be transmitted to the printer Important It is illegal to mix automatic and manual modes within the data for a single symbol i e an extended ASCII character encountered in the data after an will be considered a syntax error Likewise an FCN4 after an extended ASCII character will also be considered a syntax error 5 30 07 EPL Programming Guide 14245L 001 Rev A 56 EPL Commands B B RSS 14 Bar Code Specific Options Description Use this command to print RSS 14 bar code family bar codes for numeric data The printer supports a subset of the RSS bar code family set The subset includes basic RSS 14 RSS Limited R
228. our command file for download to your printer Downloading a File in the DOS Enviroment To execute the file use the editor s print command or from the DOS prompt use the COPY command to send the file directly to the printer This method does not support USB or Ethernet printer interfaces An example of the use of the COPY command is COPY FILENAME EXT LPT1 or COPY FILENAME EXT COM1 For more information on the use of the COPY command refer to your DOS software manual Configure the COM port to match the printer s serial port setting typically set to defaults See the Y command in section 2 for details 14245L 001 Rev A EPL Programming Guide 5 30 07 Introduction 25 Placing Elements in the Print Image Image elements are located in the image print buffer on an X Y grid expressed in dots The X value represents the width and the Y value represents the height of the grid The point of origin the starting point for a non rotated object is the upper left corner As an object rotates the point of origin rotates with the object These image buffer properties are depicted graphically in the following illustration Figure 2 Sample Format 1 q dots Kh AA x axis Point of Point of Origin for Origin for Text Object Text Object Rotated 90 Point of dots Origin for BarCode Object Point of Origin for Text Object Direction Of Feed Rotated 270 The minimum non printing margin on all edges of t
229. ovements Continuous improvement of products is a policy of Zebra Technologies Corporation All specifications and designs are subject to change without notice Liability Disclaimer Zebra Technologies Corporation takes steps to ensure that its published Engineering specifications and manuals are correct however errors do occur Zebra Technologies Corporation reserves the right to correct any such errors and disclaims liability resulting therefrom Limitation of Liability In no event shall Zebra Technologies Corporation or anyone else involved in the creation production or delivery of the accompanying product including hardware and software be liable for any damages whatsoever including without limitation consequential damages including loss of business profits business interruption or loss of business information arising out of the use of the results of use of or inability to use such product even if Zebra Technologies Corporation has been advised of the possibility of such damages Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages so the above limitation or exclusion may not apply to you Part Number 14245L 001 A Contents About This DOCUINEN 6 46400 ERA KE e ee e E EEA 15 Who Should Use This Document 00000 c eee eee 16 How This Document Is Organized 0 0 c et eee 16 CONACIS 555c22cnsd bate bend beeee betauw bene dg EESEREESSRRREUERU Meee eet 17 lio cc 1
230. r This command instructs the printer to respond with the wlan keep alive timeout interval value Format Ul getvar wlan keep alive timeout setvar This command instructs the printer to configure the frequency at which the printer sends the wlan keep alive packet Format U1 setvar wlan keep alive timeout value Values 5 to 300 seconds Default 15 gt Example This set var example shows the value set to 15 Ul setvar wlan keep alive timeout 15 When the set var value is set to 15 the getvar result is 15 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 283 wlan kerberos kdc wlan kerberos kdc t Description This printer setting refers to the Kerberos Key Distribution Center KDC The KDC is a trusted server which maintains a database with account information for all security principals users for a particular site or administrative domain realm Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the current Kerberos KDC Format Ul getvar wlan kerberos kdc setvar This command instructs the printer to change the Kerberos KDC Format U
231. re are no parameters for this format Example JCA 5 30 07 EPL Programming Guide 14245L 001 Rev A 114 EPL Commands JF JF Enable Top Of Form Backup Description This command enables the Top Of Form Backup feature and presents the last label of a batch print operation Upon request initiating the printing of the next form or batch the last label backs up the Top Of Form before printing the next label Syntax JF Parameters Thre are no parameters for this format pasya Example JF 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 115 LE LE Line Draw Exclusive OR Description Use this command to draw lines with an Exclusive OR function Any area line image or field that this line intersects or overlays will have the image reversed or inverted sometimes known as reverse video or a negative image In other words all black will be reversed to white and all white will be reversed to black within the line s area width and length Syntax LEp p5 pa p4 Parameters This table identifies the parameters for this format Parameters Details p Horizontal start Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots p3 Horizontal length Horizontal length in dots p4 Vertical length Vertical length in dots Example N clear image buffer LE50 200 400 20 draw a line LE200 50 20 400 J draw anot
232. re key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the wlan keep alive enable setting Format Ul getvar wlan keep alive enable setvar This command instructs the printer to send a LSAP link service access point packet to the access point on an user controllable interval Format U1 setvar wlan keep alive enable value Values on turns on keep alive Off turns off keep alive Default on Example This set var example shows the value set to on Ul setvar wlan keep alive enable on When the setvar value is set to on the getvar result is on 5 30 07 EPL Programming Guide 14245L 001 Rev A 282 SGD Wireless Commands wlan keep_alive timeout wlan keep alive timeout Description This printer setting manages the interval at which the LSAP link service access point packet is sent Type getvar setvar Note These are key reference links for this command 2 e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getva
233. re on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command instructs the printer to respond with the MAC address of the wireless print server Format Ul getvar wlan mac addr Example In this example the get var result is the MAC address for the wireless print server Ul getvar wlan mac addr 5 30 07 EPL Programming Guide 14245L 001 Rev A 288 SGD Wireless Commands wlan operating_mode wlan operating mode Description This printer setting refers to the network operating mode Infrastructure mode means that the printer will try to associate with an access point Ad hoc mode means that the printer will try to associate with a device other than an access point and join a standalone network Type getvar setvar To use ad hoc mode configure the printer as follows Set the ESSID to the new network s ESSID Turn off the DHCP and assign an IP Address to the printer Set the subnet mask on the printer to the new network s subnet mask Change the operating mode on the printer to ad hoc Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Comma
234. red ip arp interval Description This print server setting allows you to specify the ARP Address Resolution Protocol interval or the ARP cache time out for the external wired print server This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the ARP interval or the ARP cache time out value for the external wired print server Format Ul getvar external wired ip arp interval setvar This command instructs the printer to change the ARP interval or the ARP cache time out for the external wired print server Format Ul setvar external wired ip arp interval value Values 0 30 Default 0 Example This setvar example shows the value set to 0 Ul setvar external wired ip arp interval 0 What the set var value is set to is the get var result In this example the get var result is 0 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 215 external_wired ip default_addr enable external wired ip default addr enable Description This command allows you to default th
235. ress Default 0 0 0 0 Note The setvar value of this command can be affected by the wlan ip dhcp enable command gt Example This setvar example shows the value set to 10 14 4 235 Ul setvar wlan ip addr 10 14 4 235 What the set var value is set to is the get var result In this example the get var result is 10 14 4 235 5 30 07 EPL Programming Guide 14245L 001 Rev A 268 SGD Wireless Commands wlan ip arp_interval wlan ip arp interval Description This print server setting allows you to specify the ARP Address Resolution Protocol interval or the ARP cache time out for the wireless print server This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Important These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the ARP interval or the ARP cache time out value in seconds for the wireless print server Format Ul getvar wlan ip arp interval setvar This command instructs the printer to change the ARP interval or the ARP cache time out for the wireless print server Format Ul setvar wlan ip arp interval value Values 0 30 Default 0 Example This
236. ring up to 10 characters if the CID type is ASCIL or 20 characters if the CID type is hexadecimal Default Value Example This setvar example shows the value set to PRTOO1 Ul setvar ip dhcp cid prefix PRTOO1 What the set var value is set to is the get var result In this example the get var result is PRTOOL 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 255 ip dhcp cid_suffix ip dhcp cid suffix t Description This printer setting defines the unique suffix to be used as the client identifier DHCP option 61 if DHCP is enabled and ip dhcp cid type is setto 0 or 2 Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier suffix Format Ul getvar ip dhcp cid suffix setvar This command instructs the printer to change the CID value Format Ul setvar ip dhcp cid suffix value Values The maximum length of a value allowed is 60 ASCII characters when the CID type is ASCII or 120 hexadecimal values when the CID type is hexadecimal Default Value gt Example This setvar example shows the value set to printer
237. rint Parallel Port e Ifan error occurs the printer will print the error number and the printer s indicator s LED will indicate an error condition See the individual printer s user manual for details Mobile Printers Only TR220 Additionally enables command error reporting via printer s status indicator The indicator is turned off by default for this printer only Note The printer s default setting is disabled error reporting w If enabled use the UN command to disable error reporting Syntax US p1 5 30 07 EPL Programming Guide 14245L 001 Rev A 158 EPL Commands US Parameters This table identifies the parameters for this format Parameters Details If no errors occur the printer will echo ACK 0x6 after each label that is successfully printed dispensed p Optional Parameter Code Error Status Description 00 No Error 01 Syntax Error 02 Object Exceeded Label Border 03 Bar Code Data Length Error e g EAN 13 is a 12 or 1 digit only 04 Insufficient Memory to Store Data 05 Memory Configuration Error 06 RS 232 Interface Error 07 Paper or Ribbon Empty 08 Duplicate Name Form Graphic or Soft Font 09 Name Not Found Form Graphic or Soft Font 10 Not in Data Entry Mode See Command 11 Printhead Up Open 12 Pause Mode or Paused in Peel Mode 13 Mobile Printers Print head too hot 14 Mobile Printers Motor too hot
238. rmat selection This variable is available only if the printer Time amp Date option is installed gt Example A50 150 0 4 1 1 N TTA Writes current time A50 200 0 5 1 1 N TDI Writes current date ora combination of several options A50 300 0 3 2 2 R Deluxe V01C2 Combo TDV01TTH Writes the text Deluxe followed by the contents of variable 01 followed by the contents of counter 2 followed by the text Combo followed by the current date followed by the contents of variable 01 followed by the current time 5 30 07 EPL Programming Guide 142451 001 Rev A 46 EPL Commands A A Simple Expressions in Data Fields An advanced function of the A command allows addition and subtraction to be performed on constant and variable values in flash printers Syntax AP1 P2 P3 P4 P5 P6 P7 gt DATA PgPsP10 oe 4l Parameters This table identifies the parameters for this format Parameters p through p DATA Details See the first page of the A command on page 41 Pg Required variable data field number Must be a variable data field number such as V00 VO1 and so forth Po Required operator Accepted Values or Pio Required Variable data field number or constant value Accepted Values Constant 0 to 2147483647 Variable 0 to 2147483647 Result 2147483648 to 2147483647 e The expression must start with a variable field e The character field length define
239. rmation Description This command will cause the printer to print a list of all soft fonts that are stored in memory E Note Soft fonts can be downloaded to and deleted from the printer using the Soft Font Downloader Utility or Zebra Designer Syntax EI Parameters There are no parameters for this format hp Example This example prints a soft font list ELI Ext font information a 096char 022dots dir Ext font memory left 050K 142451 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 89 EK EK Delete Soft Font Description This command is used to delete soft fonts from memory 3 Note Soft fonts can be downloaded to and deleted from the printer using the Soft Font Downloader Utility or Zebra Designer Syntax EK FONTNAME Parameters This table identifies the parameters for this format Parameters Details FONTNAME By entering the name of a font that font will be deleted from memory By including an wild card ALL fonts will be deleted from memory Cp Example 1 This example deletes font A EK A p Example 2 This example deletes all fonts EK kn d 5 30 07 EPL Programming Guide 14245L 001 Rev A 90 EPL Commands eR eR User Defined Error Status Character Description This command allows the advanced programmer to specify the printer s error status report character for error reporting via the RS 232 serial interface Mobile printers s
240. rovided then the Euro character will map to code page position 213 decimal D5 hexadecimal for all code pages p 0 zero Toggles the zero character slash no slash out of box default P2 Decimal number Accepted Values 0 to 255 The active code page s ASCII character map position to be replaced by the Euro character The Euro character will be active in this map position for all code pages See the I command for details on code page selection None No parameters No Parameters p p2 resets to all code pages to original p1 p3 default character mapping Optionally to reapply normal character operations issue a o 111 dec or 6F hex command See page 121 for important details on the effects of using this command Note The Euro character is not supported in Font 5 character set 5 30 07 EPL Programming Guide 14245L 001 Rev A 128 EPL Commands oW OW Customize Bar Code Parameters Description This command allows the advanced programmer to modify specific bar code parameters to exceed the specified bar code s design tolerances i e reduce the bar code size Note Using the oW command may cause bar codes to become unreadable by some or all bar code scanners Syntax oWp P2 P3 Pa Ps Parameters This table identifies the parameters for this format Parameters p Initial width narrow white bar Details Default Value 2 P2 Initial width narrow black bar
241. rs with flash memory architecture These printers incorporate common programming code sets and architectural features The primary operating mode for the printer is EPL2 a page description language EPL2 is an ideal language for your labeling and bar code requirements To speed printing it is designed to assemble all of the elements of the label prior to printing EPL2 is versatile and capable of printing graphics a wide range media and bar codes Some direct thermal printer models also include a legacy printer compatibility mode Line Mode Line Mode supports our early model EPL programming language ELP1 A separate manual is provided for Line Mode printing See the printer s Software and Documentation CD for the programmer s manual that applies to your printer or visit our web site at www zebra com What s New in this Document Newly added to this programming guide are Set Get Do SGD commands SGD commands are commands that allow you to configure printers and have the printer perform the specified function immediately after receiving the command See SGD Command Support on page 311 to determine if these commands are compatible with your printer firmware combination 5 30 07 EPL Programming Guide 14245L 001 Rev A 20 Introduction Command Conventions The manual uses the following typographic conventions to describe commands Example Description A Commands case sensitive p1 p2 p3 Required parameters p p
242. s Any text string up to 10 characters if the CID type is ASCII or 20 characters if the CID type is hexadecimal Default Value Example This setvar example shows the value set to PRTOO1 Ul setvar external wired ip dhcp cid prefix PRTOO1 What the set var value is set to is the get var result In this example the get var result is PRTOOL 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 219 external_wired ip dhcp cid_suffix external wired ip dhcp cid suffix Description This printer setting defines the unique suffix to be used as the client identifier DHCP option 61 if DHCP is enabled repeated on the external wired print server and external_wired ip dhcp cid_type on page 220 is set to 0 or 2 not 1 This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This feature works with the ZebraNet 10 100 External Print Server firmware version 1 1 5 Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier suffix on the external wired print server Format Ul getvar external _wired ip dhcp cid_suffix
243. s and inserts a check digit between the last N and the DE before rendering the bar code It will abort and report a syntax error if any of the 8 characters between AA and DE are not digits It will however allow any number of function codes F1 through F3 to be interspersed with the digits 5 Planet See USPS Publication 197 for details Either 11 or 13 digits may be supplied and the printer calculates and appends a check digit for a total of 12 or 14 digits As with Postnet hyphens may be used as data separators for readability and will be discarded by the printer Cp Example 1 B10 10 0 PL 5 5 5 N 12 34567 890123 P Example 2 N B10 10 0 3 3 7 200 B 998152 001 J P1 J produces this label 998152 001 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 53 B Bar Codes with Variables amp Counters The data field can be replaced by or combined with the following commands Vnn Prints the contents of variable nn at this position Range of nn 00 to 99 Cn Prints the contents of counter n at this position Range of n 0 to 9 See Appendix C for additional Data parameters for printers with the RTC real time clock option installed c Example B50 0 0 3 1 2 50 B DATA l Writes bar code B50 50 0 3 1 2 50 N VOL 1 Writes contents of variable 01 as bar code B50 50 0 3 1 2 50 N C1 Writes contents of counter 1 as bar code B50 50 0 3 1 2 50 N C1 21 Writes contents of counter 1
244. s per year Go to http www zebra com support The Americas Regional Headquarters Zebra Technologies International LLC 333 Corporate Woods Parkway Vernon Hills Illinois 60061 3109 U S A T 1 847 793 2600 Toll free 1 800 423 0422 F 1 847 913 8766 Regional Headquarters Zebra Technologies Europe Limited Zebra House The Valley Centre Gordon Road High Wycombe HP13 6EQ UK Buckinghamshire T 44 0 1494 472872 F 44 0 1494 450103 Asia Pacific Regional Headquarters Zebra Technologies Asia Pacific LLC 120 Robinson Road 06 01 Parakou Building Singapore 068913 T 65 6858 0722 F 65 6885 0838 Technical Support T 1 847 913 2259 F 1 847 913 2578 Hardware ts zebra com Software ts3 zebra com Europe Africa Middle East and India Technical Support T 44 0 1494 768298 F 44 0 1494 768210 Germany Tsgermany zebra com France Tsfrance zebra com Spain Portugal Tsspain zebra com All other areas Tseurope zebra com Technical Support T 65 6858 0722 F 65 6885 0838 E China tschina zebra com All other areas tsasiapacific zebra com Customer Service Dept For printers parts media and ribbon please call your distributor or contact us T 1 877 ASK ZEBRA 275 9327 E clientcare 9 zebra com Internal Sales Dept For printers parts media and ribbon please call your distributor or contact us T 444 0 1494 768316 F 4
245. s setto 0 or 2 not 1 This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later This command is only supported on ZM400 ZM600 printers with a ZebraNet 10 100 Internal Print Server Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier suffix of the internal wired 10 100 print server Format Ul getvar internal wired ip dhcp cid suffix setvar This command instructs the printer to change the client identifier suffix value of the internal wired 10 100 print server Format Ul setvar internal wired ip dhcp cid suffix value Values The maximum length of a value allowed is 60 ASCII characters when the CID type is ASCIL or 120 hexadecimal values when the CID type is hexadecimal Default Value Example This setvar example shows the value set to printer Ul setvar internal wired ip dhcp cid suffix printer What the setvar value is set to is the getvar result In this example the getvar result is printer 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 235 internal_wired ip dhcp cid_type
246. s the command for this format Commands Details getvar This command instructs the printer to respond with the MAC address of the internal wired print server Format Ul getvar internal wired mac addr LJ Example In this example the get var result is the MAC address of the internal wired print server Ul getvar internal wired mac addr 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands This chapter provides a high level overview of the wireless Set Get Do SGD commands and details on each SGD command SGD commands are available in printers with firmware version E53 15 x or later EN co 3 Note The commands listed in this chapter are for use with the Wireless Print Server and Wireless Plus Print Server when used with firmware version E53 15 x or later Important These are important points to note when using EPL ZPL and SGD commands SGD commandis are case sensitive EPL ZPL and SGD commands should be sent to the printer as separate files Certain settings can be controlled by EPL ZPL and SGD Configuration changes made in EPL or ZPL can affect configuration changes made in SGD Changes made with one command type EPL ZPL and SGD will affect the data returned to the host in response to EPL ZPL and getvar commands The command type EPL ZPL or SGD that was sent last determines the current setting Some RF cards do not support all of the SGD commands
247. setvar example shows the value set to 0 Ul setvar wlan ip arp interval o What the set var value is set to is the get var result In this example the get var result is 0 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 269 wlan ip default_addr enable wlan ip default addr enable Description This command allows you to default the wireless print server s IP address This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Important For a set IP address to take affect the IP protocol must be set to permanent and the print server must be reset Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to show the status of the setting of the wireless print server s default IP address feature Format Ul getvar wlan ip default addr enable setvar This command tells the printer to use it s default address if no address is provided through DHCP or BOOTP If you do not assign an IP address after 2 minutes the 10 100 Internal PS defaults to IP address 192 168 254 254 Format Ul setvar wlan ip default addr enable value Values on enabled off
248. start Details Horizontal start position X in dots position P2 Vertical start position Vertical start position Y in dots P3 A Selects Aztec bar code Order is not important for parameters p4 pg Include the prefix letter d e m or x to select the parameter followed by a valid numeric value p4 d Symbol Scaling Default Value 3 Accepted Values 1 55 ps e Symbol layer and or error correction levels Both layer and error correction effect the symbol size Accepted Values e0 Default checkword level 23 3 e1 e99 1 to 99 check words e101 e104 Compact symbol with 1 to 4 layers e201 e232 Full symbol with 1 to 32 layers e300 Rune symbol Pg Enables the flg n format Enables the 1g n format using the ASCI Escape character 27 decimal Default Value Disabled p m Enables menu support option Default Value Disabled Pg r Selects an inverse image of the bar code Selects an inverse image of the bar code sometimes known as reverse video or a negative image DATA ASCII data or Binary data bytes Any combination of data strings time fields TT date fields TD variables and or counters the latter two within forms only that resolve to a valid string of characters 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 61 b Within literal strings all ASCII characters 0 255 dec 00 F
249. symbol may be produced For example if r12 is specified with no column parameter then sizes 12x12 12x26 and 12x36 are possible selections The alphanumeric capacity of those symbols is 6 22 or 31 characters respectively The smallest symbol size that will accommodate the data will be created If rows cols and or data length are not compatible with a symbol from the Symbol Geometries table an error 03 Data Length Error will be reported and no symbol will be produced pana Example No b30 20 D h8 Zebra Technologies corporation is the leading worldwide manufacturer of bar code labeling solutions and a leading provider of instant issuance plastic card printers We distribute our on demand bar code label printers plastic card printers secure ID printing systems software and related supplies under the Zebra and Eltron brand names to users in more than 90 countries Our products are used in high growth automatic identification applications that improve quality and productivity We count among our customers more than 70 percent of the FORTUNE 500 will produce 5 30 07 EPL Programming Guide 14245L 001 Rev A 70 EPL Commands b b 2D Bar Code MaxiCode Specific Options Description Use this command to generate MaxiCode bar code symbols with a single command The printer will automatically interpret and encode data into MaxiCode symbols for data modes 2 3 4 and 6 Up to eight symbols can be linked Syntax
250. tax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command instructs the printer to respond with the MAC address Format Ul getvar card mac addr gt Example In this example the get var result is the MAC address for the wireless radio card Ul getvar card mac addr 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 249 ip addr ip addr Description This command allows you to get or set the printer s IP address Type getvar setvar Important For a set IP address to take affect the IP protocol must be set to permanent and the print server must be reset Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with its current IP address Format U1 getvar ip addr setvar This command instructs the printer to change its current IP address upon powering the printer on Format Ul setvar ip addr value Values any valid IP address Default 0 0 0 0 Note The setvar value of this command can be affected by the ip dhcp enable command Example This setvar example shows the va
251. ter Width Note 203 dpi characters shown as example 8 Dots Character Width Total Character Width 24 Dots Inter character Space actually white dots Fonts 1 8 x 12 dots Font 8 24 x 24 dots With the A command s horizontal multiplier p5 set to 2 the inter character spacing will look like the following example 2 times 2 mes 2 times 2 times 5 30 07 EPL Programming Guide 14245L 001 Rev A 28 Introduction Text is placed into the image buffer See the following example e Horizontal Dots x axis AA Point of Point of Origin for Origin for Text Object y Text Object Rotated 90 t Point o i Origin for Text Object D o t S Point of Origin for Text Object Point of Origin for Text Object Rotated 270 The Asian fonts 8 9 can print character strings oriented from top to bottom p3 values 4 7 as well as the standard Latin word orientation from left to right p3 values 0 3 The characters will print in the sequence that they are entered into the A command s data field 4 Horizontal Dots xaxis p Point o Point of Origin for Ori
252. ter to respond with the SNMP status Format U1 getvar ip snmp enable setvar This command instructs the printer to enable or disable the SNMP protocol Format U1 setvar ip snmp enable value Values on enable the SNMP protocol off disable the SNMP protocol Default on gt Example This setvar example shows the value set to on Ul setvar ip snmp enable on When the set var value is set to on the getvar result is on 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 199 ip tcp enable ip tcp enable Description This printer setting refers to the TCP socket protocol Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the TCP status Format U1 getvar ip tcp enable setvar This command instructs the printer to turn the TCP on or off Format Ul setvar ip tcp enable value Values Off disables TCP protocol on enables TCP protocol Default on gt Example This setvar example shows the value set to on Ul setvar ip tcp enable on When the set var value is set to on the getvar result is on 5 30 07 EPL Progr
253. the get var result is LL 1 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 257 ip dhcp enable ip dhcp enable t Definition This printer setting turns DHCP on or off DHCP is a method for acquiring an IP address netmask and gateway automatically on printer power up It requires a DHCP server on the local network Type getvar setvar Note If you are using static IP addressing the IP protocol must be set to permanent Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the DHCP status Format U1 getvar ip dhcp enable setvar This command instructs the printer to turn DHCP on or off Format Ul setvar ip dhcp enable value Values Off printer does not use DHCP to get the IP address on printer uses DHCP to get the IP address Default on Example This setvar example shows the value set to on Ul setvar ip dhcp enable on When the setvar value is set to on the getvar result is on 5 30 07 EPL Programming Guide 14245L 001 Rev A 258 SGD Wireless Commands ip gateway 1p gateway Description This command instructs the printer to change the gate
254. this is shown O INCHES 0 CENTIMETERS 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 207 odometer media_marker_count2 odometer media marker count2 Description This printer setting refers to the value of the second count2 user resettable counter The user resettable counters track how much media has passed through the printer in both inches or centimeters This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to return the current value of the second count2 user resettable counter in both inches and centimeters Format Ul getvar odometer media marker count2 setvar This command instructs the printer to reset the second user resettable counter Format Ul setvar odometer media marker count2 value Values O reset the counter Default must be an accepted value or it is ignored Example This example shows how to get the second user resettable counter how to reset it and how to confirm the settings have changed 1 To see the current settings type Ul getvar odometer media marker count2
255. this is shown O INCHES 0 CENTIMETERS 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 205 odometer label_dot_length odometer label dot length Description This command returns the length of the last label printed or fed in dots This command is only supported on Zebra ZM400 ZM600 and S4M printers Type getvar Note These are key reference links for this command t e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command returns the length of the last label printed or fed in dots Format Ul getvar odometer label dot length gt Example This is an example of how to reset the length using the LL command and how to use the getvar to confirm the change For the LL command to work the printer must be in continuous mode 1 To change the odometer label dot length type XA LL500 XZ 2 To get the current odometer label dot length type Ul getvar odometer label dot length Something similar to this is shown 500 5 30 07 EPL Programming Guide 14245L 001 Rev A 206 SGD Printer Settings odometer media marker count1 odometer media marker countl Description This printer setting refers to the value of the first count1 user resettable counter The user r
256. tructure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the external wired printer server s gateway address Format Ul getvar external wired ip gateway setvar This command instructs the printer to change the external wired printer server s gateway address Format Ul setvar external wired ip gateway value Values Any valid gateway address Default 0 0 0 0 gt Example This setvar example shows the value set to 10 3 5 1 Ul setvar external wired ip gateway 10 3 5 1 When the set var value is set to 10 3 5 1 the getvar resultis 10 3 5 1 5 30 07 EPL Programming Guide 14245L 001 Rev A SGD Wired Commands external_wired ip netmask 222 external wired ip netmask Description This setting refers to the external wired print server s subnet mask address This value is ignored if the IP protocol is not set to permanent This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Type getvar setvar Note These are key reference links for this command t For details on SGD command structure see Command Structure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identi
257. ts the printer to respond with the status of the client identifier Format Ul getvar ip dhcp cid enable setvar This command instructs the printer to set the status of the client identifier Format Ul setvar ip dhcp cid enable value Values off client identifier is turned off on client identifier is turned on Default off gt Example This setvar example shows the value set to off Ul setvar ip dhcp cid_enable off What the set var value is set to is the get var result In this example the get var result is ort 5 30 07 EPL Programming Guide 14245L 001 Rev A 254 SGD Wireless Commands ip dhcp cid_prefix ip dhcp cid prefix t Description This printer setting defines the prefix to be prepended to the DHCP client identifier option 61 when DHCP is enabled and ip dhcop cid type is set to O or 2 Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier prefix Format Ul getvar ip dhcp cid prefix setvar This command instructs the printer to change the CID prefix Format U1 setvar ip dhcp cid prefix value Values Any text st
258. tvar ip primary network wired What the set var value is set to is the get var result In this example the get var result is wired 5 30 07 EPL Programming Guide 14245L 001 Rev A 192 SGD Printer Settings ip smtp domain ip smtp domain Description This printer setting refers to the domain name used by the printer in sending email with respect to the SMTP server Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 178 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to return the SMTP domain name Format Ul getvar ip smtp domain setvar This command instructs the printer to change the SMTP domain name Format Ul setvar ip smtp domain value Values A maximum of 24 alphanumeric characters Default ZBRPrintServer D Example This setvar example shows the value set to ZBRPrintServer com Ul setvar ip smtp domain ZBRPrintServer com When the set var value is set to ZBRPrintServer com the getvar result is ZBRPrintServer com 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Printer Settings 193 ip smtp enable ip smtp enable Description This printer setting refers to the SMTP protocol Type getvar setvar Note T
259. twork A E53 15 0 5 30 07 EPL Programming Guide 14245L 001 Rev A 313 314 SGD Command Support Printer and Firmware Compatibility Table 7 SGD Command Syntax Key Internal Wired External Wired Bl Wireless W SGD Commands S4M ZM400 ZM600 ip smtp domain 9H E53 15 0 ip smtp enable GEN E53 15 0 ip smtp server addr GEN E53 15 0 ip snmp enable GEN E53 15 0 ip snmp get community name GEN E53 15 0 ip snmp set community name GEN 53 15 0 ip tcp enable 9H E53 15 0 ip telnet enable GEN E53 15 0 ip udp enable EX E53 15 0 media printmode GEN 53 15 0 odometer headclean GEN E53 15 0 odometer headnew GEN E53 15 0 odometer label dot length 8 E53 15 0 odometer media marker countl E53 15 0 odometer media_marker_count2 GEN E53 15 0 odometer total print length 8 E53 15 0 wlan adhocautomode A E53 15 0 wlan adhocchannel N E53 15 0 wlan associated A E53 15 0 wlan channel mask A E53 15 0 wlan essid A E53 15 0 wlan firmware version A E53 15 0 wlan ip addr A ES3 15 0 wlan ip arp interval A E53 15 0 wlan ip default_addr enable M E53 15 0 wlan ip dhcp cid_all A E53 15 0 wlan ip dhcp cid enable A E53 15 0 wlan ip dhcp cid prefix A ES3 15 0 wlan ip dhcp cid suffix A E53 15 0 wlan ip dhcp cid type A E53 15 0 wlan ip gateway A E53 15 0 wlan ip netmask A ES3 15 0 14245L 001 Rev A EPL Programming Guide 5 30 07 Ta
260. uch as the TR 220 ignore this command Syntax eRp p Parameters This table identifies the parameters for this format Parameters Details p Any single ASCII Accepted Values 0 255 decimal 00 FF hexadecimal character P2 Error Status Response Mode P2 Mode Descriptions 0 Standard default XON 17 dec 11 hex on Recovery XOFF 19 dec 13 hex on Error 1 Character Only Reports the selected error status character followed by a Carriage Return and Line Feed 2 Character amp Error Status Code Reports the selected error status character error status code see the ee command on page 173 for codes and then by a Carriage Return and Line Feed Example For Mode 2 Error and Status Reporting eRS 2 1 Sets Error Character to S and Sets Error Mode to 2 User operates and prints with printer User opens print head 114 Reports Print Head Open User closes print head 004 Reports No Error Printer Ready for next command Status report for Print Head Closed 14245L 001 Rev A EPL Programming Guide 5 30 07 ES Store Soft Font EPL Commands ES 91 Description This command is used to download and store soft fonts in memory Note Soft fonts can be downloaded to and deleted from the printer using the Soft Font Downloader Utility or Zebra Designer Syntax ES FONTNAME pjp9p3ajb1 Cy DATA a3b3c DATA apDyCp DATA Parameters This table identifies the
261. uing the FS command will result in an error and the previously stored form is retained To print a list of the forms currently stored in memory use the FI command Data stored within a form can not have the Null 0 dec 00 hex character as part of any data within that form A form will not store if insufficient memory is available See the M command for details on adjusting and configuring memory for forms graphics and soft fonts Syntax FS FORMNAME Parameters This table identifies the parameters for this format Parameters Details FORMNAME This is the form name used when the form was stored the user Example FK TESTFORM J FS TESTFORM A V00 15 N Enter Product Name The namemay be up to 8 characters long Form names stored by the printer are case sensitive and will be stored exactly as entered on the FS command line i e FORMI forms when stored into the printer or when retrieved by form1 and FoRm1 are three different e Global commands such as EI EK ES FI FK GI GK GM M N P TS U UE UF UG Y W e should not be used in a form store sequence Note Form name AUTOFR is reserved for automatic single form recall See AUTOFR on page 48 for details delete form TESTFORM begins the form store sequence of the form TESTFORM i B10 20 0 3 2 10 100 B 998152 001 l A50 200 0 3 1 1 N Example Form A50 400 0 3 1 1 N Model Name V00
262. uiry 156 US Enable Error Reporting Stored 157 UT Enable Alternate Error Reporting Stored 159 U Host Prompts Battery Inquiry 160 US Host Prompts Motor Temperature Inquiry 161 V Define Variable Form 162 WwW Windows Mode Stored 164 xa Sense Media Writes 165 X Box Draw Image 166 Y Serial Port Setup Stored 167 Z Print Direction Stored 168 Download Variables Form 170 Reset Printer 171 default Set Printer to Factory Defaults Writes 1 72 Nee Status Report Immediate 173 Code Comment Line Form 174 14245L 001 Rev A EPL Programming Guide 5 30 07 A ASCII Text EPL Commands 41 A Description Renders an ASCII text string to the image print buffer See Text Fonts on page 26 for discussion on text handling in Page Mode programming Asian language EPL2 Page Mode printers have special firmware and printer PCBA memory order options to support the large Asian character ideogram sets The Latin English etc font sets 1 5 a z and A Z are single byte 8 bits per byte ASCII character maps The Asian characters are double byte mapped characters The printed Asian character is dependent on the double byte ASCII values Syntax Ap p P3 P4 P5 po P7 DATA Parameters This table identifies the parameters for this format Parameters p Horizontal start position Details Horizontal start position X in dots P2 Vertical start position Vertical start position Y in dots
263. ure on page 212 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the client identifier type for the external wired print server Format Ul getvar external wired ip dhcp cid type setvar This command instructs the printer to enable synthetic Client Identifier for the external wired print server Format Ul setvar external wired ip dhcp cid type value Values O ASCII string 1 wired print server s MAC address 2 HEX value Default Value 1 gt Example This setvar example shows the value set to 1 Ul setvar external_wired ip dhcp cid_type 1 What the set var value is set to is the get var result In this example the get var result is 1 n a 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wired Commands 221 external_wired ip gateway external wired ip gateway Description This command instructs the printer to change the external wired print server s gateway address This command is only supported on Zebra ZM400 ZM600 and S4M printers running E53 15 xZ or later Type getvar setvar Important This setting refers to the gateway address A set value is ignored if the IP EJ protocol is not set to permanent Note These are key reference links for this command For details on SGD command s
264. ver must be reset This command is supported only on Zebra ZM400 ZM600 and S4M printers Type getvar setvar Note These are key reference links for this command For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the time in seconds before the connection times out Format Ul getvar wlan ip timeout value setvar This command instructs the printer to set the the time value of the wireless print server in seconds before the connection times out Format Ul setvar wlan ip timeout value value Values O through 3600 Default 300 gt Example This set var example shows the value set to 300 Ul setvar wlan ip timeout value 300 When the set var value is set to 300 the getvar result is 300 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 281 wlan keep_alive enable wlan keep alive enable Description This setting controls the printers ability to send a LSAP link service access point packet to the access point on an user controllable interval This feature is included to accommodate access points that require a regular confirmation that wireless clients are still active Type getvar setvar Note These a
265. way address Type getvar setvar Note This setting refers to the gateway address A set value is ignored if the IP protocol is not set to permanent Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the gateway address Format Ul getvar ip gateway setvar This command instructs the printer to change the gateway address Format Ul setvar ip gateway value Values Any valid gateway address Default 0 0 0 0 gt Example This setvar example shows the value set to 10 3 5 1 Ul setvar ip gateway 10 3 5 1 When the set var value is set to 10 3 5 1 the getvar resultis 10 3 5 1 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 259 ip netmask ip netmask Description This setting refers to the subnet mask address This value is ignored if the IP protocol is not set to permanent Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format
266. wed OR eren Rer OR BK NANANA ha Y Serlal Port Setup stercus ei Lim x EE PRG E NG Z Print Direction 2443000 ar BAKER ABA WEST Y bh Download Variables 0 0000 c cece Reset Printer cicius epe RRRRAGREEEERAE ERR RARE RE Ed default Set Printer to Factory Defaults ee Error Report Immediate a Code Comment Line 0 a 4 SGD Printer Setting Commands GUI 032 been kaaa LABA DNA beech eed oe eee eed ee PA setvar Command 2 ees getvar Command 2 cece do Command 2 0c eee eee Command Structure 1 2 2 2 000 ee How to Send Multiple SGD Commands appl bDootblocky succeded e cee m eee eee Gueeb edd eesaann appl name 2 eee device languages 0 cece tee ip active network 0 00 eee 14245L 001 Rev A EPL Programming Guide 5 30 07 Contents 7 ID fip eriable oe csset Due ae as ei ape ack MAGA DA man ee cere SEES 183 ip http enable iss Rex eee debe ARRAY SE Shee ee RO RUE PRO a ee ee 184 pipdienablp aaa ant EDDIE 185 ip pop3 enable lssslsseeeeee RR RII IRI hn 186 ip pop3 password 16 RR RII I n 187 Ip pop3 poll a atto xm RREBSRETOLERTERUOCREREGS ee RAE G Ree URS 188 ip pop3 server addr uaua anaana ananuna arannana raana naana 189 ip pop3 username tee 190 ip primary NETWONK sias sedui GY eyed ew biian ADR PG Pid xxu AS Fa 191 ID SMP dOMAIN 223
267. wireless securities that need a user name Format Ul setvar wlan username value Values A maximum of 32 alphanumeric characters Default user Example This set var example shows the value set to user Ul setvar wlan username user When the set var value is set to user the getvar result is user 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 303 wlan wep auth_type wlan wep auth type Description For the WEP security type this printer setting selects the authentication type to be used between the printer and the access point The authentication types are open system and shared key Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to retrieve the current WEP authentication type Format Ul getvar wlan wep auth type setvar This command instructs the printer to set the WEP authentication type Format Ul setvar wlan wep auth type value Values open enables the open authentication type shared enables the shared authentication type Default open Example This setvar example shows the value set to open Ul setvar wlan wep auth t
268. with 9 layers 50 0 A e209 0123456789ABCDEFGHIJKLMNOPORSTUVWXYZ gt Example 6 This Aztec Bar Code example specifies a Rune symbol b0 0 A e300 012345678 9ABCDEFGHIJKLMNOPORSTUVWXYZ 14245L 001 Rev A EPL Programming Guide 5 30 07 EPL Commands 63 b ib Example 7 This Aztec Bar Code example specifies flg n format using ASCII 27 escape character 5b0 0 A 0123456789ABCDEFGHIJKLMNOPORSTUVWXYZ gt Example 8 This Aztec Bar Code example specifies a menuing symbol b0 0 A m 0123456789ABCDEFGHIJKLMNOPORSTUVWXYZ P Example 9 This Aztec Bar Code example specifies reverse printing white on black 5b0 0 A r 0123456789ABCDEFGHIJKLMNOPORSTUVWXYZ 5 30 07 EPL Programming Guide 14245L 001 Rev A 64 EPL Commands b b 2D Bar Code Aztec Mesa Specific Options Description Use this command to print an Aztec Mesa composite bar code symbol a standard linear bar code and a modified Aztec two dimensional bar as a single symbol The two dimensional data is encoded in a series of layers lying above and in some cases continuing below the adjacent standard bar code symbol Printer Models 2844 Available as a firmware download from the www zebra com website Syntax bp P2 P3 Pa ps pe p pg Po Pigs P117 DATA Parameters This table identifies the parameters for this format Parameters p Horizontal start position Details Horizontal start position X in
269. x and use of SGD commands see SGD Command Support on page 311 This table identifies the command for this format Commands Details getvar This command returns the value of the currently selected IP protocol used by the wireless print server Format U1 getvar wlan ip protocol setvar This command instructs the printer to configure the IP addressing method used by the wireless print server Format Ul setvar wlan ip protocol value Values bootp uses the standard bootp addressing method to obtain an IP address and configuration dhcp uses the standard dhcp addressing method to obtain an IP address and configuration for a server specified period of time rarp uses the standard rarp addressing method to obtain an IP address glean uses the IP address from a PING packet that is sent to its hardware address unicast address permanent uses static values assigned through other commands all tries all of the dynamic addressing methods not permanent to obtain an IP address Default a11 Example In this example the setvar result is the current programming language that the printer is using Ul setvar wlan ip protocol bootp What the set var value is set to is the get var result In this example the get var result is bootp 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 279 wlan ip timeout enable wlan ip timeout enable gt Description
270. y the presently installed print head The total distance printed by the printer Syntax URL p po p3 Parameters This table identifies the parameters for this format Parameters are optional and maybe entered and any order Parameters Details No parameters This is the default value Prints both Head Life and Total Print Distance report data strings Pi Report Method Sends information back to the host via the serial port and the device last active bi directional interface p Printer s Serial Default Value s P2 Units m Millimeters i Inches p3 Read Meter h Head Life distance t Total Print Distance Important Do not use both the p3 parameters h and t None Default Prints both head Life and Total Print Distance report data strings Do not use both the p3 parameters h and t 05 30 2007 EPL Programming Guide 14245L 001 Rev A 328 2746e Print Odometer URL gt Example default HEAD usage XXX XXX XXX XXX days TOTAL usage XXX XXX XXX XXX days For units with the RTC option installed The SERIAL NUMBER MISMATCH line prints when the serial number stored in the RTC does not match the serial number stored on the printer s main PCBA One or both the PCBA or RTC has been changed in this unit and the odometer data does not accurately represent printer usage The last print head record does not include the number of days in service 14245L 001 Rev A EPL
271. ype open When the setvar value is set to open the getvar result is open 5 30 07 EPL Programming Guide 14245L 001 Rev A 304 SGD Wireless Commands wlan wep index wlan wep index Description This printer setting refers to the WEP Wired Equivalent Privacy encryption key index This printer setting determines which one of the four encryption keys is to be used by the client printer Type getvar setvar Note These are key reference links for this command e For details on SGD command structure see Command Structure on page 246 For details on the syntax and use of SGD commands see SGD Command Support on page 311 This table identifies the commands for this format Commands Details getvar This command instructs the printer to respond with the encryption key index Format Ul getvar wlan wep index setvar This command instructs the printer to set the encryption key index Format Ul setvar wlan wep index value Values 1 enables encryption key 1 2 enables encryption key 2 3 enables encryption key 3 4 enables encryption key 4 Default 1 Example This setvar example shows the value set to 1 Ul setvar wlan wep index 1 When the set var value is set to 1 the getvar result is 1 14245L 001 Rev A EPL Programming Guide 5 30 07 SGD Wireless Commands 305 wlan wep key1 wlan wep keyl t Description This printer setting ref
Download Pdf Manuals
Related Search
Related Contents
APA 2015 draft - American Planning Association USB 3.0 3.5" SATA Hard Disk Drive Enclosure Boîtier Provision-ISR BX-352CS surveillance camera E-P5 取扱説明書 Mode d`emploi de la cigarette électronique Ego 手動折り込みタブディスペンサーのご紹介 Handbuch Magic 1 D-EDIP60_6400E(Portada) Copyright © All rights reserved.
Failed to retrieve file