- 162 -
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>
[cd1…d2] 1…[c d1…dk] b
[Range] Parameter of GS( L
12≤(pL+pH×256)≤65535(0≤pL≤255, 0≤pH≤255)
Parameter of GS8L
12≤(p1+p2×256+p3×65536+p4×16777216)≤4294967295
(0≤p1≤255, 0≤p2≤255,0≤p3≤255,0≤p4≤255)
CommonparameterofGS (L,GS 8L
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(Whenmonochrome colorpaper isspecified), c=49,50(When 2-color paper isspecified)
0≤d≤255
k=(int((xL+xH×256)+7/8)×(yL+yH×256))
All defined areas canbespecified by GS( Efrom [0, 64K, 128K,192K,256K, 320K,384K] bytes. Default
value is384K bytes.
[Outline] [The specification which is commontothemodel]
Definesrastertype graphics data toNV memory.
•“b”specifiesthe number ofdata colors.
•xL,xH specifies the horizontal directionofdefined data to(xL+xH×256).
•yL,yH specifiesthe verticaldirectionofdefined data to(yL+yH×256).
•“c”specifiesthecolorof defined data.
c Color of Defined Data
49 1st color
50 2ndcolor
•1stcolor denotes black (highenergy)in the specified2-color thermalpaper.
•2ndcolor denotes red (low energy) inthe specified 2-color thermalpaper.
[Caution] [The specification which is commontothemodel]
• 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.