3. PRINTER FUNCTIONS
TG558
26
3-
[Default]
[Reference]
$1D $45
[Example]
n
d
..
.
1
d
n
7
5
$
D
1
$
[Name]
Prints n byte of a 203 dpi graphic line
[Format]
ASCII
GS
W
n
d1...
dn
Hex
1D
57
n
d1...
dn
Decimal
29
87
n
d1...
dn
[Range]
1
≤
n
≤
48
for 58mm model
1
≤
n
≤
34
for 35mm model
0
≤
d1 … dn
≤
255
[Description]
Print n byte of a 203 dpi graphic line where :
• n specifies the number of byte to print;
• d1...dn specify the bytes to print.
[Notes]
• If the bit image data input exceeds the number of dots to be printed on a line, the
excess data are processed as printable characters.
•
d
indicates the bit image data. Set a corresponding bit to 1 to print a dot, or to 0 to not
print the dot.
• This command is not affected by the emphasized, double-strike, underline (etc.) print
modes and the upside-down mode.
[Default]
[Reference]
[Example]
For printing 12 bytes the command sequence is :
$1D $57 $0C $FF $00 $FF $00 $FF $00 $FF $00 $FF $00 $FF $00
n
9
5
$
D
1
$
[Name]
Sets height in printing.
[Format]
ASCII
GS
Y
n
Hex
1D
59
n
Decimal
29
89
n
[Description]
Sets height during printing based on following values of n:
When you print a dot line if
n=0 height is set to one
n
≠
0 (default value) height is set to two
[Notes]
When n
≠
0 (default value) each dotline is twice replicated
[Default]
n
≠
0
[Reference]
[Example]
n
A
5
$
D
1
$
[Name]
Receive n bytes from serial port
[Format]
ASCII
GS
Z
n
Hex
1D
5A
n
Decimal
27
90
n
[Description]
Receives n bytes from serial port and prints them in graphic mode
[Notes]
Max value of n isn
≤
48 for 58mm model