- 154 -
6.3.22 GRAPHIC COMMAND
[ESC] SG
Function
Draws graphic data.
Format
[ESC] SG; aaaa, bbbb, cccc, dddd, e, ggg --- ggg [LF] [NUL]
or
[ESC] SG0; aaaa, bbbb, cccc, dddd, e, ffff, ggg --- ggg [LF] [NUL]
Term
aaaa:
Print origin of X-coordinate for drawing graphic data
Fixed as 4 digits (in 0.1 mm units)
bbbb:
Print origin of Y-coordinate for drawing graphic data
4 or 5 digits (in 0.1 mm units)
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 (monochrome bmp) 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 (monochrome pcx) Overwrite drawing
[ESC] SG0; -- command:
A: Printer driver compression mode
Overwrite drawing
ffff:
Data count (Effective only for [ESC] SG0; -- command)
Fixed as 4 digits
Represents the total number of bytes for the compressed graphic data by 32
bits in Hex.
Range: 0 to 4,294,967,295 bytes
(00H, 00H, 00H, 00H to FFH, FFH, FFH, FFH)
ggg --- ggg: Graphic data
Summary of Contents for B-EV4 Series
Page 232: ... 228 3 JIS Hexadecimal ...
Page 233: ... 229 ...
Page 234: ... 230 ...
Page 235: ... 231 ...
Page 236: ... 232 ...
Page 237: ... 233 ...
Page 238: ... 234 11 7 TrueType FONT 1 PC 850 2 PC 8 ...
Page 239: ... 235 3 PC 852 4 PC 857 ...
Page 240: ... 236 5 PC 851 6 PC 855 ...
Page 241: ... 237 7 PC 1250 8 PC 1251 ...
Page 242: ... 238 9 PC 1252 10 PC 1253 ...
Page 243: ... 239 11 PC 1254 12 PC 1257 ...