EPC1200 SERIES OPERATION MANUAL
40/58
GS w n
[Name]
Set bar code width
[Format] ASCII
GS
w
n
Hex
1D
77
n
Decimal 29
119
n
[Range] 2
≤
n
≤
6
[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
2 0.250
3 0.375
4 0.500
5 0.625
6 0.750
Multi-level bar codes are as follows: EAN13, CODE39, CODE128, ITF.
[Default]
n
= 3
[Reference]
GS k
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]
0
≤
m
≤
3
0
≤
xL
≤
255
0
≤
xH
≤
255 where 1
≤
(xL
+
xH
x 256)
≤
128
0
≤
yL
≤
255
0
≤
yH
≤
8 where 1
≤
(yL
+
yH
x 256)
≤
4095
0
≤
d
≤
255
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
Horizontal Dot Density
0
Normal
203.2 dpi
203.2 dpi
1
Double-width
203.2 dpi
101.6 dpi
2
Double-height
101.6 dpi
203.2 dpi
3
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