A SERVICE OF

logo

ZQ110
Rev. 1.00
- 71 -
Mobile Printer Command Manual
<Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk (fn=112)
[Format]
[Range]
[Description]
[Notes]
ASCII
GS
(
L
pL pH m fn a bx by c xL xH yL yH d1...dk
Hex
1D
28
4C
pL pH m fn a bx by c xL xH yL yH d1...dk
Decimal
29
40
76
pL pH m fn a bx by c xL xH yL yH d1...dk
GS ( L parameter
11 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255)
Common parameter for GS ( L
m=48, fn=112, a=48
bx=1, 2
by=1, 2
c=49
1 ≤ (xL+xHx256) ≤ 384
1 ≤ (yL + yH x 256) ≤ 1662 (when by = 1)
k = ( int ( ( xL + xH x 256 ) + 7 ) / 8 ) x ( yL + yH x 256 )
This command stores the raster graphics data in the print buffer, enlarged
by bx and by in the horizontal and vertical directions.
- xL, xH specifies the raster graphics data in the horizontal direction as
(xL + xH x 256) dots.
- yL, yH specifies the raster graphics data in the vertical direction to (yL +
yH x 256) dots.
- d denotes the stored data(raster format).
- k denotes the number of the graphics data.
- c specifies the color of the defined data.
C
Defined data color
49
Color 1
50
Color 2
- Color 1 means black, and Color 2 red or blue that is available for 2-
color paper.
The graphics data is stored in the printer buffer directly.
Real time command is not effective during processing of this command.
GS :
[Name]
[Format]
[Description]
Start/end macro definition.
ASCII
GS
:
Hex
1D
3A
Decimal
29
58
Starts or ends macro definition.
- The contents of the macro can be defined up to 2048 bytes.