- 150 -
fn=67: Function 67 Defining Raster Type Graphics Data to NV Memory
GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH
[c d1...dk] 1... [c d1...dk] b
[Code]
<1D>H<28>H<4C>H<pL><pH><m><fn><a><kc1><kc2><b><xL><xH><yL><yH>
[c d1…d2] 1… [c d1…dk] b
[Range]
Parameter of GS ( L
12≤(pL+pH×256)≤65535(0≤pL≤255, 0≤pH≤255)
Parameter of GS 8 L
12≤(p1+p2×256+p3×65536+p4×16777216)≤4294967295
(0≤p1≤255, 0≤p2≤255, 0≤p3≤255, 0≤p4≤255)
Common parameter of GS ( L, GS 8 L
m=48
fn=67
a=48
32≤kc1≤126, 32≤kc2≤126
b=1, 2
1≤(xL+xH×256)≤8192
1≤(yL+yH×256)≤2304
c=49(When monochrome color paper is specified), c=49, 50(When 2-color paper is specified)
0≤d≤255
k=(int((xL+xH×256)+7/8)×(yL+yH×256))
All defined areas can be specified by GS ( E from [0, 64K, 128K, 192K, 256K, 320K, 384K] bytes. Default
value is 384K bytes.
[Outline]
[The specification which is common to the model]
Defines raster type graphics data to NV memory.
• “b” specifies the number of data colors.
• xL, xH specifies the horizontal direction of defined data to (xL+xH×256).
• yL, yH specifies the vertical direction of defined data to (yL+yH×256).
• “c” specifies the color of defined data.
c
Color of Defined Data
49
1st color
50
2nd color
• 1st color denotes black (high energy) in the specified 2-color thermal paper.
• 2nd color denotes red (low energy) in the specified 2-color thermal paper.
[Caution]
[The specification which is common to the model]
• When multiple colors is specified by “b” and the same color is selected by “c”, the command processing is
terminated at that point, validating the defined data processed so far and the remaining data is read and
discarded.