REGO Thermal Printer Technical Manual
www.regotek.com
44
GS I n Check printer ID
[Name]
Check printer ID
[Format]
ASCII
GS
I
n
Hex
1D
49 n
Decimal
29
73 n
[Range]
1 ≤ n ≤ 3, 49 ≤ n ≤ 51, 65 ≤ n ≤ 69
[Description]
Check printer ID specified by n as follows:
n
Printer ID
ID (hexadecimal)
1, 49
Printer model ID
printer models related
2, 50
Type ID
See table below.
3, 51
ROM version ID
printer model and batch related
65
Firmware version
printer model and batch related
66
Manufacturer
the actual manufacturer related
67
Printer name
the actual printer name related
68
Serial number
printer model and batch related
69
Supporting
Chinese
type
Simplified Chinese
:
Chinese
Traditional Chinese
:
Chinese-BIG5
n = 2, Type ID
Bit
1/0
Hex
Decimal
Function
0
0
00
0
Two-byte character code not supported.
1
01
1
Two-byte character code supported.
1
0
00
0
Auto-cutter not equipped.
1
02
2
Auto-cutter equipped.
2
0
00
0
Not used.
3
0
00
0
Not used.
4
0
00
0
Fixed value is 0
5
-
-
-
Undefined.
6
-
-
-
Undefined.
7
0
00
0
Fixed value is 0
[Notes]
When 1 ≤ n ≤ 3 or 49 ≤ n ≤ 51, the printer returns to single-byte ID
When 65 ≤ n ≤ 69, return the following format:
Header information: Hexadecimal = 5FH / Decimal = 95 (1 byte)
Data: Printer Information
NUL: Hexadecimal = 00H / Decimal = 0 (1 byte)
GS P x y Set horizontal and vertical motion units
[Name]
Set horizontal and vertical motion units
[Format]
ASCII
GS
P
x y
Hex
1D
50
x y
Decimal
29
80
x y
[Range]
0 ≤ x ≤ 255
0 ≤ y ≤255
[Description]