Programming Codes iTherm
®
280 Programmer’s Guide
Page 224 Rev C 28-07764
Miscellaneous Commands
Function Set Horizontal and Vertical Motion Units
ASCII [GS] P x y
Hexadecimal 1DH 50H x y
Decimal <29> <80> x y
Range 0 ≤ x ≤ 255
Default x = 180, y = 360
Description The GS P x y command sets the horizontal and vertical motion units to 1/x inches
and 1/y inches, respectively. When x and y are set to zero, the default setting of
each value is used.
This feature is licensed from Epson, and is only available in the Full
Epson Emulation of the firmware. Problems with this command are
frequently caused by not using the correct version of the firmware.
Contact Transact sales and/or technical support for this added cost option.
Function Initialize the Printer
ASCII [ESC] @
Hexadecimal 1BH 40H
Decimal <27> <64>
Description The [ESC] @ command initializes the printer. All settings, including character
font and line spacing, are canceled.
Function Transmit Printer ID
ASCII [GS] I <n>
Hexadecimal 1DH 49H <n>
Decimal <29> <73> <n>
Range 1 ≤ n ≤ 3
49 ≤ n ≤ 51
Description The [GS] I <n> command transmits the printer ID specified by <n> below. Each
printer ID consists of one byte of data.
<n> Printer ID Hex ID
1,49 Printer model ID 0DH
2,50 Type ID 20H or 32D
3,51 ROM version ID 2H or 2D.
Table 46 Printer ID
Bit Off/On Hex Decimal Function
0 Off 00H <0> No two-byte character code
1 Off 00H <0> Not Auto-cutter equipped
On 02H <2> Auto-cutter equipped
2,3 - - - Undefined
4 Off 00H <0> Not used; fixed to off
5,6 - - - Undefined
7 Off 00H <0> Not used; fixed to off
Table 47 Type ID (<n> = 2 or 50)
Function Generate Pulse
13
The Epson Type ID and ROM version are based on the Epson TM-88 documentation and a
sample printer. This value can be reconfigured to any 8 bit value.