Chapter 6: DH Emulation 139
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Graphics Commands
These commands are used to control the way graphics are entered or printed. They are listed in numerical order of their
hexadecimal codes.
Graphics
E
nters graphics printing mode which prints all available dots (uses all wires in the printhead). Any combination of
dots may be printed in a graphics cell. Each graphics cell is eight dots wide by nine dots high, with nine bytes of data
needed to define the cell (each byte defines the row of eight dots). The command must precede the nine bytes that
define the cell. Graphics and text may be printed on the same line.
Do not use the command again to turn off this graphics mode as the printer will expect another set of bytes to define
a new cell.
Hexadecimal Decimal ASCII
1E
30
RS
The following representation of the graphics cell shows how the cell is defined and which bits define which dots in the
cell (bit 0 is the least significant bit; bit 7 is the most significant bit).
Bit Number
7
6
5
4
3
2
1
1st Byte
o
o
o
o
o
o
o
2nd Byte
o
o
o
o
o
o
o
3rd Byte
o
o
o
o
o
o
o
4th Byte
o
o
o
o
o
o
o
5th Byte
o
o
o
o
o
o
o
6th Byte
o
o
o
o
o
o
o
7th Byte
o
o
o
o
o
o
o
8th Byte
o
o
o
o
o
o
o
9th Byte
o
o
o
o
o
o
o
Each line may have up to 25 graphics cells (full-dot graphics). The print line is printed unidirectionally.
Use six Vertical Tab commands (0B) or one Line Feed command (0A) between each line (8 lines/inch).
Graphics: 5 Dot
Enters or exits graphics printing mode which prints only the top five dots of the column (corresponding to the top five
wires of the printhead). These top five dots correspond to the least significant five bits (bits 0-4) of the data sent to the
printer as shown in the table.
Dots (Top to Bottom)
Bit
1st Dot (Top)
4
2
4
16
2nd Dot
3
2
3
8
3rd Dot
2
2
2
4
4th Dot
1
2
1
2
5th Dot (Bottom)
0
2
0
1
Hexadecimal Decimal ASCII
1B 1D
27 29
ESC GS
Use the following characters to define the graphics (least significant five bits):
Hexadecimal: 20-3F
Decimal: 32-63
ASCII: SP-?
Continued . . .
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...