Model
Rev.
Page
HMK-056
Ver1.01
52
GS+’v’+’0’+m+xL+xH+yL+yH+d1+…+dk
[Name] Raster bit image
[Format] ASCII
GS v 0 m xL xH yL yH d1..dk
Hex 1D 76h 30h m xL xH yL yH d1..dk
Decimal 28 118 48 m xL xH yL yH d1..dk
[Range] 0≤m≤3 or 48≤m≤51,
1≤(xL+xH×256)≤150 (0≤xL≤150, xH=0)
1≤(yL+yH×256)≤436 (0≤yL≤255, 0≤yH≤1)
0≤d≤255 (yL+yH×256)
K (All data) = (xL+xH×256) × (yL+yH×256)
[Descript] The raster bit image will be recognized in mode m.
xL,xH appoint the data (byte) of horizontal at image data.
yL,yH appoint the dta (dot line) of vertical at image data.
* d is a data for raster bit.
m
Mode
Expansion
0, 48
Normal
X1
1, 49
Horizontal expansion
X2
2, 50
Vertical expansion
X2
3, 51
Horizontal,Vertical expansion
X2 (Horizontal & Vertical)
Ex) Expansion image
xL+xH×256 = 32 byte,
32 × 8 = 256 dot
1
2
3
……
30
31
32
33
34
35
……
62
63
64
……
……
……
……
……
……
……
k-31
k-30
k-29
……
k-2
k-1
k
yL+yH×256 dots a line
7 6 5 4 3 2 1 0
MSB LSB