Cognitive Solutions A776 Manual De Usuario

Descargar
Página de 192
Chapter 6:  DH Emulation  153
A776-PG00001 C 12/09 
 
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 
   
  1st Byte 
  2nd Byte 
  3rd Byte 
  4th Byte 
  5th Byte 
  6th Byte 
  7th Byte 
  8th Byte 
  9th Byte 
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
 
  3rd Dot 
    2  
2
2
 
  4th Dot 
    1  
2
1
 
  5th Dot (Bottom) 
    0  
2
0
 
  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 . . .