XML ISO Encoding Causes No Print Output

Article ID: 21329175

Details


 

Topic or Information

ISO encoding commands are not supported on Zebra XML compatible printers

Applies To

XML
ZPL compatible printers Excludes the non- ZPL language printers: 2824 Series, 2844 Series, S4M (E53 Firmware Version), ZM Series (E53 Firmware), 888 DD/TT Series, MZ Series, ZQ110, EM220, EM220II, All Kiosk (except KR403)

Details

XML is supported on many Zebra Printers but we do not support ISO encoding commands in the structure of the XML code itself.  
This command cannot be automatically ignored and therefore it is best to ensure it is not created at source by your application.
You are able to still print using International fonts and Unicode characters but this is setup in the ZPL format and not in the XML file except the actual characters being used.

Here is an example of the ZPL label format to be sent to the printer: (XMLExampc.zpl file attached)

  • This will create a format called XMLEXAMP.ZPL in the E memory (Flash Memory) of the printer
  • The example uses CI28 (UTF-8 encoding)
  • The example allocates the Swiss721 Font (E:TT0003M.FNT) as recall letter X
  • The example creates a variable field location (FN2) with data of XML1
  • The example prints 2 text fields of DEMO on the label
  • The example file must be saved as a UTF-8 format instead of an ASCII formatted file or no international characters (or any output) may be experienced.

^XA
^DFE:XMLEXAMP.ZPL^FS
^CI28^CWX,E:TT0003M_.FNT^FS
^FT122,245^AXN,127,129^FH^FN2^FDXML1^FS
^FT302,168^AXN,28,28^FH^FDDEMO^FS
^FT31,429^AXN,28,28^FH^FDDEMO^FS
^XZ


Here is an example of the XML label format to be sent to the printer: (XMLExamp2.zip contains the xml file)

Download XMLExamp2.zip  Read More>>

  • This will recall the format called XMLEXAMP.ZPL in the E memory (Flash Memory) of the printer
  • The example will locate variable field XML1 and replace it with Sample
  • The example allocates the Swiss721 Font (E:TT0003M.FNT) as recall letter X
  • The example creates a variable field location (FN2) with data of XML1
  • The example prints 2 text fields of DEMO on the label
  • Pleae Note: The file header (1st 2 lines) must be in the same format as the example below, no encoding or other data should be used as this can cause the format to be rejected.

<?xml version="1.0" standalone="no"?>
<!DOCTYPE labels SYSTEM "label.dtd">
<labels _FORMAT="E:XMLEXAMP.ZPL" _QUANTITY="1" _PRINTERNAME="Printer 1" _JOBNAME="LBL101">
    <label>
        <variable name="XML1">نطSample</variable>
    </label>
</labels>

 

The printed output of the ZPL and XML labels above should print as per the attached file Xmlexample.jpg below: 

User-added image

+ Product Codes

  • 105SLPlus Industrial Printers
  • 105SLPlus Industrial Printers
  • 110PAX Print Engines (disc.)
  • 110Xi4 Industrial Printer
  • 140Xi4 Industrial Printer
  • 170Xi4 Industrial Printer
  • 220Xi4 Industrial Printer
  • 2824 Plus Series
  • 2824-Z Series
  • All Surface RFID Label Solution
  • Desktop Printers
  • EZ320 Mobile Printers
  • G-Series GC Desktop Printers
  • G-Series GK Desktop Printers
  • G-Series GX Desktop Printers
  • GC420d Desktop Printer
  • GC420t Desktop Printer
  • GK420 Healthcare Desktop Printers
  • GK420d Desktop Printer
  • GK420d Healthcare Desktop Printer
  • GK420t Desktop Printer
  • GK420t Healthcare Desktop Printer
  • GT800 Desktop Printer
  • GX420Rx Desktop Printer
  • GX420d Desktop Printer
  • GX420t Desktop Printer
  • GX430d Desktop Printer
  • GX430t Desktop Printer
  • HC100 Wristband Printer
  • HC100 Wristband Printer
  • Industrial Printers
  • LP 2824 Plus Desktop Printer
  • Mobile Printers
  • P4T Mobile Printers
  • P4T Mobile Printers
  • Print Engines
  • QL Series Mobile Printers
  • QL320 Mobile Printer
  • QL420 Mobile Printer
  • QLn Series Healthcare Mobile Printers
  • QLn Series Mobile Printers
  • QLn220 Healthcare
  • QLn220 Mobile Printer
  • QLn320 Healthcare
  • QLn320 Mobile Printer
  • QLn420 Mobile Printer
  • R110Xi4 RFID Printer
  • RFID Printers
  • RP4T RFID Printers
  • RP4T RFID Printers
  • RW 220 Mobile Printer
  • RW 420 Mobile Printer
  • RW 420 Print Station
  • RW Series Mobile Printers
  • TLP 2824Plus Desktop Printer
  • Xi Series Industrial Printers
  • ZD410 Series
  • ZD410D
  • ZD420 Series
  • ZD420-HC
  • ZD420C
  • ZD500 Desktop Printer
  • ZD500 Desktop Printer
  • ZD500R RFID Printers
  • ZD500R RFID Printers
  • ZE500 Print Engines
  • ZE500 Print Engines
  • ZE500R RFID Print Engine
  • ZE500R RFID Print Engine
  • ZM400
  • ZM600
  • ZQ500 Series Mobile Printers
  • ZQ510 Mobile Printer
  • ZQ520 Mobile Printer
  • ZR300 Series Mobile Printers
  • ZR338 Mobile Printers
  • ZR600 Series Healthcare Mobile Printers
  • ZR600 Series Mobile Printers
  • ZT200 Series Industrial Printers
  • ZT210 Industrial Printer
  • ZT220 Industrial Printer
  • ZT230 Industrial Printer
  • ZT400 Series Industrial Printers
  • ZT400 Series RFID Printers
  • ZT410 Industrial Printer
  • ZT410 RFID Industrial Printer
  • ZT420 Industrial Printer
  • ZT420 RFID Industrial Printer
  • iMZ Series Mobile Printers
  • iMZ220 Mobile Printer
  • iMZ320 Mobile Printer