CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS)
B-EP Series
7-39
7.8 COMMANDS RELATED TO GRAPHICS
7.8.1 GRAPHIC DATA STORE COMMAND [ESC] SG
Function Stores the graphic data on the printer.
Format [ESC] SG; a, bbbb, cccc, ddd --- ddd [LF] [NUL]
Term a: Graphic No.
1 or 2
bbbb: No. of graphic width dots to be stored
0001
to 0384 B-EP2DL-GHxx
to 0832 B-EP4DL-GHxx
cccc: No. of graphic height dots to be stored
0001 to 9999 (in units of dots)
ddd --- ddd: Graphic data
Explanation
1
00H
2
60H
3
00H
4
00H
5
70H
6
00H
•
•
•
•
67
EFH
68
80H
69
00H
70
3EH
71
00H
72
00H
(1) The graphic data should be separated into units of 8 dots and sent in the above
order (1 to 72).
(2) The graphic data is 00H to FFH.
(3) The minimum unit of a graphic width is 8 dots. Dots with no data are transmitted
as data 0.
(4) The number of bytes of the graphic to be transmitted must be as follows;
The number of bytes of the graphic to be transmitted = {(No. of graphic width dots
+ 7)/8} × No. of graphic height dots
* The value in the brackets is rounded down to the nearest whole number.
8 dots8 dots 8 dots
Graphic width 19 dots
Graphic
height
24 dots