TS1700/TK18 PRINTERS OPERATION MANUAL
GS
v
0
m
xL
xH
yL
yH
d1
...
dk
[Name]
Print raster bit image
[Format]
ASCII
GS
v
0
m
xL xH yL yH d1...dk
Hex
1D
76
30
m
xL xH yL yH d1...dk
Decimal
29
118
48
m
xL xH yL yH d1...dk
[Range]
<00>H
≤
m
≤
<03>H
<00>H
≤
xL
≤
<FF>H
<00>H
≤
xH
≤
<FF>H where 1
≤
(
xL
+
xH
x 256)
≤
128
<00>H
≤
yL
≤
<FF>H
<00>H
≤
yH
≤
<08>H where 1
≤
(
yL
+
yH
x 256)
≤
4095
<00>H
≤
d
≤
<FF>H
k
=
(
xL
+
xH
x 256) x
(
yL
+
yH
x 256)
(
k
≠
0)
[Description]
●
Selects raster bit-image mode. The value of
m
selects the mode, as follows:
m
Mode
Vertical Dot Density
Vertical Dot Density
<00>H
Normal
203.2 dpi
203.2 dpi
<01>H
Double-width
203.2 dpi
101.6 dpi
<02>H
Double-height
101.6 dpi
203.2 dpi
<03>H
Quadruple
101.6 dpi
101.6 dpi
(dpi: dots per 25.4 mm {1"})
●
xL
,
xH
, select the number of data bytes
(
xL
+
xH
x
256) in the horizontal direction for
the bit image.
●
yL
,
yH
, select the number of data bits
(
yL
+
yH
x
256) in the vertical direction for the
bit image.
[Notes]
●
This command is effective only when there is no data in the print buffer.
●
Data outside the printing area is read in and discarded on a byte-by-byte basis.
●
The position at which subsequent characters are to be printed for raster bit image is
specified by
GS L
(Set left margin).
●
d
indicates the bit-image data. Setting a bit to 1 prints a dot and setting it to 0 does
not print a dot.
[Example]
When
xL
+
xH
x 256 = 64
GS
w
n
[Name]
Set bar code width
[Format]
ASCII
GS
w
n
Hex
1D
77
n
Decimal
29
119
n
[Range]
<02>H
≤
n
≤
<06>H
[Description]
Sets the horizontal size of the bar code.
n
specifies the bar code width as follows:
n
Module Width (mm) for
Multi-level Bar Code
Binary-level Bar Code
Thin element
width (mm)
Thick element
width (mm)
<02>H
0.282
0.282
0.706
<03>H
0.423
0.426
1.129
<04>H
0.564
0.564
1.411
<05>H
0.706
0.706
1.834
<06>H
0.847
0.847
2.258
Multi-level bar codes are JAN 13(EAN13), CODE 128.
Binary-level bar codes are ITF, CODE39.
[Default]
n
= <03>H
[Reference]
GS k
50/62