Print Out The Tilde Sign By Using ZPL commands

Article ID: 41362752

Issue / Question

How to print out the Tilde sign "~" by using ZPL commands

Applicable To

ZPL programming and all printers that support ZPL

Resolution / Answer

In ZPL programming language, the default value of control command prefix is known as Tilde sign "~"

If sending ZPL scripts which included the Tilde sign to printer for printing, it will be recognized as the default control command prefix and cannot to be printed out.

Changing the control command prefix from the Tilde to any other ASCII character can be achieved with the ^CT or ~CT commands.

To print out the Tilde with Hexadecimal format by ^FH command:

Example of ZPL script

^XA
^FO100, 200
^AD,50,25
^FH_^FD Hello world _7E ^FS
^XZ

 


The ZPL programming guide can be downloaded here.
 

+ Applicable Products

  • 105SLPlus Industrial Printers
  • 105SLPlus Industrial Printers
  • 110PAX Print Engines (disc.)
  • 110Xi4 Industrial Printer
  • 140Xi4
  • 140Xi4 Industrial Printer
  • 170PAX4
  • 170Xi4 Industrial Printer
  • 220Xi4 Industrial Printer
  • 2824 Plus Series
  • 2824-Z Series
  • EM220II Mobile Printers
  • EM220II Mobile Printers
  • EZ320 Mobile Printers
  • G-Series GC Desktop Printers
  • G-Series GK Desktop Printers
  • G-Series GX Desktop Printers
  • G-Series GX Desktop Printers
  • GC420d Desktop Printer
  • GC420t Desktop Printer
  • GK420 Healthcare Desktop Printers
  • GK420d Desktop Printer
  • GK420d Healthcare Desktop Printer
  • GK420e
  • GK420t Desktop Printer
  • GK420t Healthcare Desktop Printer
  • GK888 Desktop Printer
  • GK888d
  • GK888t
  • GT800 Desktop Printer
  • GX420Rx Desktop Printer
  • GX420d Product Printers
  • GX420d Desktop Printer
  • GX420t Desktop Printer
  • GX420t Product Printers
  • GX430d Desktop Printer
  • GX430t Desktop Printer
  • HC100 Wristband Printer
  • HC100 Wristband Printer
  • Industrial Printers
  • LP 2824 Plus Desktop Printer
  • MZ Series
  • MZ-220
  • MZ-320
  • Mobile Printers
  • P4T Mobile Printers
  • P4T Mobile Printers
  • Portfolio & Product
  • Print Engines
  • Printers
  • 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
  • RW 220 Mobile Printer
  • RW 420 Mobile Printer
  • RW 420 Print Station
  • RW Series Mobile Printers
  • S4M
  • S4M Series
  • Solutions and Verticals
  • TLP 2824Plus Desktop Printer
  • Xi Series Industrial Printers
  • Z Series Industrial Printers
  • ZD410 Series
  • ZD410-HC
  • ZD410D
  • ZD420 Series
  • ZD420-D-T
  • ZD420-D-T-HC
  • ZD420-HC
  • ZD420C
  • ZD420D
  • ZD420D-HC
  • ZD420T
  • ZD420T-HC
  • ZD500 Desktop Printer
  • ZD500 Desktop Printer
  • ZD620 Series
  • ZD620-D-T
  • ZD620-D-T-HC
  • ZD620D
  • ZD620D-HC
  • ZD620T
  • ZD620T-HC
  • ZE500 Print Engines
  • ZE500 Print Engines
  • ZM400
  • ZM600
  • ZQ110 Mobile Printers
  • ZQ300 Series
  • ZQ310
  • ZQ320
  • ZQ500 Series Mobile Printers
  • ZQ510 Mobile Printer
  • ZQ520 Mobile Printer
  • ZR300 Series Mobile Printers
  • ZR318 Mobile Printers
  • ZR328 Mobile Printers
  • ZR338 Mobile Printers
  • ZR600 Series Healthcare Mobile Printers
  • ZR600 Series Mobile Printers
  • ZR628
  • ZT200 Series Industrial Printers
  • ZT210 Industrial Printer
  • ZT220 Industrial Printer
  • ZT230 Industrial Printer
  • ZT400 Series Industrial Printers
  • ZT410 Industrial Printer
  • ZT420 Industrial Printer
  • ZT500 Industrial Printers
  • ZT510 Industrial Printer
  • ZT600 Series Industrial Printers
  • ZT610 Industrial Printer
  • ZT620 Industrial Printer
  • iMZ Series Mobile Printers
  • iMZ220 Mobile Printer
  • iMZ320 Mobile Printer
  • zp450 Desktop Printer