M-S Cash Drawer A794 User Manual

Page 101

Advertising
background image

Chapter 6: Programming Information

A794 Owner’s Guide

December 1999

96

Print Advanced Raster Graghics

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 n (24-Dot Single
Density Mode)

Value of d

n1 + (256 x n2)

3 x [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.

Formulas

See the above table.

Related Information

In TM-T88 Emulation, this command is unrecognized and the parameters are put into
the print buffer.

Advertising