Downloading and Using Fonts on Zebra ZPL Printers

Article ID: 83249623

Issue / Question

How to print True Type fonts using ZPL files?

Applicable To

Zebra ZPL compatible printers

Resolution / Answer

NOTE The use of TrueType or other non-Zebra purchased fonts require licensing and is the responsibility of the user to acquire permission for use in the printer.

 

Once a font is stored on the printer memory, in order to be used, it must be recalled in the text field and this can be done by recalling the font filename or assigning an identifier to the font.

NOTE Rebooting your printer will not assign the identifier of all the fonts stored in the E memory.


The first step in either solution is to know the font filename; if your printer is equipped with a display, you can browse the Tools menu, Print information, select Fonts, and then Print, otherwise, this operation can be done by sending the following command to the printer. Refer to this link for more details about Zebra Setup Utilities: Sending Printer Commands and Receiving Data:

^XA^WDE:*.TTF^XZ

The printer prints the list of fonts stored in the E memory.


Once a font is stored in the printer memory, the filename will slightly changed, but the filename is still similar to the font name and hence it is easier to recognize. In this case, the Brush Script MT font is stored and the filename is BRU000.TTF.
 

  • Recalling the font filename using the A@ command
^XA^FO50,50^A@N,50,70,E:BRU000.TTF^FDSampletext^FS^XZ

where:

  • N is the field orientation (Normal)
  • 50 is the font width (expressed in dots)
  • 70 is the font height (expressed in dots)

 

  • Assigning an identifier to the font
Since on the E memory the identifier assignments are automatically canceled when the printer is rebooted, this solution requires adding the ^CW command before recalling the font to assign the identifier to each print job sent to the printer. This is not required when using the native Zebra fonts stored in the Z memory since they have already an assigned letter by default. These fonts can be listed using the following command and the fonts files are the ones with FNT or TTF file extension.
^XA^WDZ:*.*^XZ

The ^CW command can be used to assign an identifier to a font; in the following example the K letter is assigned to the BRU000.TTF font file.
^XA^CWK,E:BRU000.TTF^XZ
When you print the font list, the following picture will be printed:


Now, you can recall the font using the ^A command plus the letter assigned to the K font.

^XA^FO50,50^AKN,50,70^FDSample text^FS^XZ
where:
  • N is the field orientation (Normal)
  • 50 is the font width (expressed in dots)
  • 70 is the font height (expressed in dots)

+ 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
  • Discontinued Printers
  • EZ320 Mobile 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
  • Printer Fonts
  • 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
  • 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
  • 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