M-S Cash Drawer A794 User Manual

Page 81

Advertising
background image

Chapter 6: Programming Information

A794 Owner’s Guide

December 1999

76

Compatibility Information (A794 receipt vs. A793 receipt)

There is a difference in the normal behavior of this command in A794 Emulation Mode
as compared to the original A793. The difference exists when the command is used to
move to the left. The A793 processes the whole print string prior to putting it in the
buffer for the print head. This method of processing allows the A793 to backup in the
print string and replace characters and their associated attributes when a “Set Relative
Print Position” command instructs the printer to move the print position to the left.

In order to improve the speed of printing, the A794 moves the data into a buffer for the
printhead when it receives it. When the “Set Relative Print Position” command contains
a move to the left, this causes the new data to overstrike the previous data. This
behavior can be used to an application’s advantage to provide the ability to create
compound characters on the receipt station.

This command also functions differently in the A793 Emulation when used in graphics:

n x 2 = Number of dots to be moved from the beginning of the line when this

command is followed by a graphic command.

Select Justification

ASCII

ESC a n

Hexadecimal

1B 61 n

Decimal

27 97 n

Value of n:

0, 48 = Left aligned
1, 49 = Center aligned
2, 50 = Right aligned

Range of n:

0-2, 48-50

Default:

0 (Left aligned)

Specifies the alignment of characters, graphics, logos, and bar codes on the receipt
station according to the above table.

Related information

On the Epson TM-T88, this command is valid only at the beginning of a line.

On the A793 this command accepts any n

255, using the low 2 bits:

00 left aligned
01 center
10 right

aligned

11 center

Advertising