Xiamen Cashino Technology Co.,Ltd
A2L User Manual
24
The command fills only the printing buffer, graphics printing can start
only after receiving the printing commands.Printing buffer will be cleared
after graphic printing.
If you need to print higher graphics,you can divide it into several
sections which has 8
(
m =
0
、
1
)
or 24
(
m = 32
、
33
)
dots graphics to print.
After filling graphic data,you can continue to fill other information to
make graphic and other information print simultaneously.
After filling bitmap,you can use ESC J(n=24) command to print, and
also can use LF command to print.But using LF command will cause
paper feeding(feeding paper according to the line space ),and make
graphic continuous between different lines.And can set line space as 0
to avoid feeding too much.(Dot matrix printer may drift when it starts,pls
send data continuously if occurs line broken.
Example
1B 40
1b 2a 00 0C 00 FF FF FF FF FF FF FF FF FF FF FF FF
1B 33 00
0A
Print Graphics horizontal module data
Name
Print Graphics horizontal module data
Code
ASCII
:
GS v 0
DEC
:
29 118 48 m xL xH yL yH [d]k
HEX
:
1D 76 30 m xL xH yL yH [d]k
Function
Print horizontal module graphic data,the parameters are as below:
m as bitmap method
:
m
Model
Horizontal scale Vertacal scale
0,48 Normal
× 1
× 1
1,49 Double-width
× 2
× 1
2,50 Double-height
× 1
× 2
3,51 Quadruple
× 2
× 2
xL
、
xH were selected as the data bytes (xL+xH×256) in the horizontal
direction for the bitmap.
yL, yH were selected as the data bytes (yL+yH×256) in the vertical
direction for the bitmap.
[d]k for bitmap data
k for bitmap data bytes
,
k used for indicating, not for transfer.
Range
XX58
:
0 ≤ m ≤ 3
;
48 ≤ m ≤ 51
1 ≤ xL + xH×256 ≤ 48
0 ≤ yL ≤255
,
0 ≤ yH ≤255