Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands 67
A776-PG00001 C 12/09 A776 (B780) Programming Guide
Slip Station
Value of m Mode No. of dots (vertical) No. of dots (horizontal)
0 8-Dot single-density 8 (72 DPI) 210 (70 DPI)
1 8-Dot double-density 8 (72 DPI) 420 (140 DPI)
32, 33 Not available on slip
In single density, one byte (8-dots) is printed in each full dot column. In double-density, one byte is
printed in each half/full dot column, but adjacent horizontal dots (overlapping dots) are not printed.
Value of n:
Value of n (8-dot single-density mode) Value of n (24-dot single-density mode) Value of d
n1 + (256 × n2) 3 x [n1 + (256 × n2)] Number of bytes of data*
*Printed left to right (8-dot mode); Printed down then across (24-dot mode).
Formulas
8-dot single-density n1 + (256 × n2)
24-dot single-density 3 x [ n1 + (256 × n2)]
Sets the print resolution and enters one line of graphics data into the print buer. Excess data is accepted but ignored.
Any print command is required to print the data, after which the printer returns to normal processing mode.
See the illustration for graphic representations of the bit image on next page.
In A756 emulation mode, slip graphics are only seven dots high.
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 oset 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 oset and number of data bytes are
variable and specied by parameters.
Exceptions
Advanced raster graphics is not available in page mode.