3. PRINTER FUNCTIONS
3. PRINTER FUNCTIONS
TG558
19
3-
[Example]
The response is on two bytes. E.g. if you receive :
$30 $32
it means that printing is in double height mode
0
7
$
B
1
$
[Name]
Transmits the configuration register in serial
[Format]
ASCII
ESC
p
Hex
1B
70
Decimal
27
112
[Description]
Transmits through serial port the option register byte.
[Notes]
• If the printer using a parallel protocol, it doesn’t transmits anything
[Default]
[Reference]
$1B $47, $1B $4B, $1B $6B
[Example]
The response is on two bytes. E.g. if you receive :
$30 $39
it means that the default configuration is 00001001
n
2
7
$
B
1
$
[Name]
Set/reset red printing mode
[Format]
ASCII
ESC
r
n
Hex
1B
72
n
Decimal
27
114
n
[Range]
0
≤
n
≤
1, 48
≤
n
≤
49
[Description]
Sets and resets red printing mode.
n
Function
0, 48
Reset red printing mode
1, 49
Set red printing mode
[Notes]
• The printer prints only entire lines in red, not individual characters.
• The printer prints red only if enabled (see Setup).
[Default]
n
= 0
[Reference]
[Example]
3
7
$
B
1
$
[Name]
Transmits the next character in serial
[Format]
ASCII
ESC
s
Hex
1B
73
Decimal
27
115
[Description]
Transmits the next character it receives on the serial port
[Notes]
[Default]
[Reference]
[Example]
If you transmit : $1B $73 $41
the last character, A ($41), will not be printed but
immediately transmitted on the serial line.