Tally Dascom DT-210/230 Programming Guide V1.1
- 7 -
x, y
Vertical direction
Horizontal direction
1
180 dpi
180 dpi
2
90 dpi
90 dpi
<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]
c = 49, 50 [when two-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.
bx, by
Vertical direction
Horizontal direction
1
180 dpi
180 dpi
2
90 dpi
90 dpi
• c specifies the color for the stored data.
(*) Color 1 means black (a high level of energy) in the specified two-color thermal paper.
Color 2 means red (a low level of energy) in the specified two-color thermal paper.
• 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).
Содержание DT-210
Страница 1: ......