Specifications
Programming Guide/Tips 4-1
TM-H6000/H6000P Developer’s Guide
Confidential
Chapter 4
Programming Guide/Tips
See the “ESC/POS Application Programming Guide” for a detailed command explanation.
Maintenance Counter
The maintenance counter can be used for assuming the time for replacing consumed parts or
cleaning. The maintenance counter is transmitted by
GS g 2
. Be sure to note that the value of the
maintenance counter built in the printer is a reference value; therefore, there will be a difference
in the value depending on the timing of occurring errors or turning off the power.
Bar Codes
Bar Code Printing
You can print bar codes, using the
GS k
command, for any of the following types of bar codes:
❏
UPC-A, UPC-E
❏
JAN 8 (EAN 8), JAN 13 (EAN 13)
❏
CODE 39
❏
ITF (Interleaved 2 of 5)
❏
CODABAR (NW-7)
❏
CODE 93
❏
CODE 128
The bar codes types are described in further detail below.
UPC-A, UPC-E
These product distribution codes were established in the United States and are used in the U.S.
and Canada. The codes are based on JAN codes and EAN codes. Although the paragraphs
below explain the three existing types of UPC codes, you can use only UPC-A and UPC-E with
the TM-H6000.
❏
UPC-A
This code is very similar to the JAN 13 (EAN 13) code, and consists of the code for a 12-digit
number. The standard value for the first digit is “0.” When coding is performed at the store, the
first digit is “2.” The first digit is “3” for NDC (National Drug Code) and HRI (National Health
Related Items Code) items. “4” is used for items protected by a check digit, and “5” is used for
coupons. No standards have been determined for other items.