User guide

A795 User Guide: Programming Supplement
Chapter 4: Programming commands
65
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 n1 n2 d1 ... dn
Hexadecimal 1B 4B n1 n2 d1 ... dn
Decimal 27 75 n1 n2 d1 ... dn
Value of n:
Value of n (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 TM-T88 emulation, this command is unrecognized and
the parameters are put into the print buffer.