Print Advanced Raster Graphics - CognitiveTPG A776 Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776:
Table of Contents

Advertisement

Slip Station
Value of m
Mode
0
8-Dot single-density
1
8-Dot double-density
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)
n1 + (256 × n2)
*Printed left to right (8-dot mode); Printed down then across (24-dot mode).
Formulas
8-dot single-density
24-dot single-density
Sets the print resolution and enters one line of graphics data into the print buffer. 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 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.
A776-PG00001 C 12/09
No. of dots (vertical)
8 (72 DPI)
8 (72 DPI)
Value of n (24-dot single-density mode)
3 x [n1 + (256
n1 + (256 × n2)
3 x [ n1 + (256 × n2)]
Chapter 5: Programming commands
No. of dots (horizontal)
210 (70 DPI)
420 (140 DPI)
×
n2)]
Value of d
Number of bytes of data*
A776 (B780) Programming Guide
67

Advertisement

Table of Contents
loading

This manual is also suitable for:

B780

Table of Contents