TP809 Programming Manual
8
<Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk (fn = 112)
[Function]
Store the graphics data in the print buffer (raster format)
[Format]
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
[Range]
(pL, pH) for GS ( L:
11 ≤ (pL + pH × 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255)
(p1, p2, p3, p4) for GS 8 L:
11 ≤ (p1 + p2 × 256 + p3 × 65536 + p4 × 16777216) ≤ 4294967295
(0 ≤ p1 ≤ 255, 0 ≤ p2 ≤ 255, 0 ≤ p3 ≤ 255, 0 ≤ p4 ≤ 255)
Common parameters for GS ( L and GS 8 L:
m = 48
fn = 112
a = 48
bx = 1, 2; by = 1, 2
c = 49 [when single
-
color print control is selected]
1 ≤ (xL + xH × 256) ≤ 2047 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 7)
When single
-
color print control is selected
1 ≤ (yL + yH × 256) ≤ 1662 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 6) [when by=1]
1 ≤ (yL + yH × 256) ≤ 831 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 3) [when by=2]
When two
-
color print control is selected
1 ≤ (yL + yH × 256) ≤ 831 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 3) [when by=1]
1 ≤ (yL + yH × 256) ≤ 415 (0 ≤ yL ≤ 255, yH = 0,1) [when by=2]
0 ≤ d ≤ 255
k = (int ((xL + xH × 256) + 7) / 8) × (yL + yH × 256)
[Description]
• Stores the graphics data (raster format) in the print buffer.
• The graphics data is enlarged by bx and by in the horizontal and vertical directions.
• c specifies the color for the stored data.
• xL, xH specify the number of dots in the horizontal direction as (xL + xH × 256).
• yL, yH specify the number of dots in the vertical direction as (yL + yH × 256).
• d specifies the stored data (raster format).
bx, by
Vertical direction
Horizontal direction
1
203 dpi
203 dpi
2
101 dpi
101 dpi
Summary of Contents for TP809
Page 1: ...TP809 Programming Manual Rev 1 2...
Page 32: ...TP809 Programming Manual 26...