Cognitive Solutions A799 Manual De Usuario

Descargar
Página de 142
Chapter 4: Programming Commands
66
Revision D 12/09
A799-PG00001D
Print advanced raster graphics
ASCII 
ESC . m n rL rH d1 … dn 
Hexadecimal  1B 2E m n rL rH d1 … dn 
Decimal 
27 46 m n rL rH d1 … dn
Value of m: 
horizontal offset from left margin = 8 x m dots
Value of n: 
number of data bytes that compose the raster
Value of r: 
number of times the raster has to be printed  =256 x rH + rL
d1 … dn: 
data bytes
Range: 
0<= m <= 72 
 
0<= n <= 72 
 
0<= r <= 65535 
 
0<= d1 … dn <= 255
Prints a horizontal raster of graphics data one or multiple times. Horizontal offset and number of data bytes are variable 
and specified by parameters.
Exceptions
Advanced raster graphics is not available in page mode.
Select single-density graphics
ASCII 
ESC K nnd1 ... dn 
Hexadecimal  1B 4B nnd1 ... dn 
Decimal 
27 75 nnd1 ... dn
Value of n:
Value of (8-dot single-density mode) 
Value of d
n1 + (256 x n2) 
Number of bytes of data (printed down, then across)
Enters one line of 8-dot single-density graphics into the print buffer. Any print command is required to print the line, after 
which the printer returns to normal processing mode. Single-density mode allows 0–288 dot columns. The number of bytes 
sent is represented by the formulas in the table.
Each bit corresponds to two horizontal dots. Compare to set bit image mode (1B 2A, m = 0) earlier in this document.
Related information
In LEGACY emulation, this command is unrecognized and the parameters are put into the print buffer.
Select double-density graphics
ASCII 
ESC Y nnd1 ... dn 
Hexadecimal  1B 59 nnd1 ... dn 
Decimal 
27 89 nnd1 ... dn
Value of n:
Value of (8-dot single-density mode) 
Value of d
n1 + (256 x n2) 
Number of bytes of data (printed down, then across)
Enters one line of 8-dot double-density graphics into the print buffer. Any print command is required to print the line, after 
which the printer returns to normal processing mode. Double-density mode allows 0–576 dot columns. The number of 
bytes sent is represented by the formulas in the table.
Each bit corresponds to one horizontal dot. Compare to set bit image mode (1B 2A, m=1) earlier in this document.
Related information
In LEGACY emulation, this command is unrecognized and the parameters are put into the print buffer.