Thermal Printer
Total Page:16
File Type:pdf, Size:1020Kb
TH210 Thermal Printer Programmer’s Guide (Edition 2018) Contents About this Guide ........................................................................................................................... 1 How to use this guide .................................................................................................................... 1 Where to find the basics ................................................................................................................ 1 Where to find advanced technical information .............................................................................. 1 Support 1 Diagnostics and Configuration ...................................................................................................... 2 Start-up Diagnostics ................................................................................................................... 2 Runtime Diagnostics ...................................................................................................................... 3 Remote Diagnostics ....................................................................................................................... 3 Accessing the remote diagnostic tallies ...................................................................................... 4 Indicators ...................................................................................................................................... 5 Error conditions and correcting them......................................................................................... 5 Communication of printer status to the host application ........................................................... 5 Printer configuration ..................................................................................................................... 6 Using the configuration menu to configure the printer .............................................................. 6 Configuring the printer ............................................................................................................... 7 Communication interface settings.............................................................................................. 8 Diagnostics modes ..................................................................................................................... 8 Enable or disable data scope mode ............................................................................................ 9 Enable or disable receipt test mode ........................................................................................... 9 Electronic Journal Datascope Diagnostic .................................................................................. 10 Printer emulations ....................................................................................................................... 10 Printer settings and functions .................................................................................................. 10 Programming the Printer ............................................................................................................ 13 Overview of commands ............................................................................................................... 13 Comparison to A793 .................................................................................................................... 13 Character appearance ................................................................................................................. 14 Width specifications .................................................................................................................... 15 Print zones................................................................................................................................... 15 Print zones for 80mm paper ..................................................................................................... 15 Emulation modes ......................................................................................................................... 16 Print setup in emulation modes ............................................................................................... 16 Programming Commands ........................................................................................................... 18 Commands listed by function ...................................................................................................... 18 Command conventions ................................................................................................................ 25 Command descriptions ................................................................................................................ 25 Printer actions ......................................................................................................................... 25 Print and paper feed ................................................................................................................ 30 Text characteristics commands ................................................................................................ 40 Double-byte fonts .................................................................................................................... 54 Graphics ................................................................................................................................... 57 Status .......................................................................................................................................... 66 Status command introduction ..................................................................................................... 66 Batch mode.............................................................................................................................. 66 Real time commands................................................................................................................ 70 Rules for using real time commands ........................................................................................ 70 Automatic Status Back ............................................................................................................. 75 Unsolicited status mode........................................................................................................... 77 Bar codes 80 QR code Overview ................................................................................................................... 80 Select printing position of HRI characters ................................................................................. 84 Select pitch of HRI characters ................................................................................................... 84 Select bar code height .............................................................................................................. 84 Print multiple barcodes ............................................................................................................ 86 Print GS1 DataBar, null terminated .......................................................................................... 87 Print GS1 DataBar, data length specified .................................................................................. 88 Set GS1 DataBar parameters .................................................................................................... 88 Select PDF 417 parameters ...................................................................................................... 89 Select bar code width............................................................................................................... 90 Set DataMatrix Parameters ...................................................................................................... 91 Set DataMatrix Module size ..................................................................................................... 92 Store DataMatrix data in symbol storage area ......................................................................... 92 Print DataMatrix symbol data in the symbol storage area ........................................................ 93 Page mode ............................................................................................................................... 94 Print and return to standard mode .......................................................................................... 94 Cancel print data in page mode................................................................................................ 95 Print data in page mode ........................................................................................................... 95 Select page mode..................................................................................................................... 95 Select standard mode .............................................................................................................. 96 Select print direction in page mode ......................................................................................... 97 Select print area in page mode................................................................................................. 97 Set absolute vertical print position in page mode..................................................................... 98 Set relative vertical print position in page mode .....................................................................