- 210 -
6.3.24 GRAPHIC COMMAND [ESC] SG
Function Draws graphic data.
Format [ESC] SG; aaaa(D), bbbb(D), cccc, dddd, e, ggg --- ggg [LF] [NUL]
or
[ESC] SG0; aaaa(D), bbbb(D), cccc, dddd, e, ffff, ggg --- ggg [LF] [NUL]
Term aaaa(D): Print origin of X-coordinate for drawing graphic data
Fixed as 4 digits (in 0.1 mm units)
* If “D” is attached after a 4-digit value, the coordinate is specified in dots.
0000D ~
bbbb(D): Print origin of Y-coordinate for drawing graphic data
4 or 5 digits (in 0.1 mm units)
* If “D” is attached after a 4- or 5-digit value, the coordinate is specified in
dots.
0000D ~
cccc: No. of graphic width dots
Fixed as 4 digits (in dots)
However, when the graphic data “2: BMP file” or “6: PCX file” is selected,
this designation is ignored. (The information of the graphic width is
contained in the graphic data.)
dddd: No. of graphic height dots
4 or 5 digits (in dots)
However, when the graphic data “2: BMP file” or “6: PCX file” is selected,
this designation is ignored. (The information of the graphic width is
contained in the graphic data.)
When “3: TOPIX compression mode” is selected for the type of graphic data:
Resolution of graphic data: *only two types
0150: 150 DPI (The data is drawn in double resolution.)
0300: 300 DPI (The data is drawn in single resolution.)
e: Type of graphic data
[ESC] SG; -- command:
0: Nibble mode (4 dots/byte) Overwrite drawing
1: Hex. mode (8 dots/byte) Overwrite drawing
2: BMP file mode Overwrite drawing
3: TOPIX compression mode Overwrite drawing
4: Nibble mode (4 dots/byte) OR drawing
5: Hex. mode (8 dots/byte) OR drawing
6: PCX file mode Overwrite drawing
7: TOPIX compression mode XOR drawing
[ESC] SG0; -- command:
A: Printer driver compression mode Overwrite drawing