Chapter 6: Programming Information

A794 Owner’s Guide

Page Mode Commands

Page Mode is one of two modes that the A794 printer uses to operate. Standard Mode is typical of how most printers operate by printing data as it is received and feeding paper as the various paper feed commands are received. Page Mode is different in that it processes or prepares the data as a “page” in memory before it prints it. Think of this as a virtual page. The page can be any area within certain parameters that you define. The page is printed using either the FF (0C) or the ESC FF (1B 0C) command.

The Select Page Mode command (1B 4C) puts the printer into Page Mode. Any commands that are received are interpreted as Page Mode commands. Several commands react differently when in Standard Mode and Page Mode. The descriptions of these individual commands in this chapter indicate the differences in how they operate in the two modes.

These commands describe the operation for 80 mm paper. If the printer supports 82.5

mmpaper, the dot spacing is the same but there are 640 printable dots rather than 576 printable dots on 80 mm paper.

Print and Return to Standard Mode

ASCII FF

Hexadecimal 0C

Decimal 12

When printing is completed, values for Select Print Direction in Page Mode (1B 54n) and Set Print Area in Page Mode (1B 57 n1, n2, …n8) and the position for buffering character data are set. Buffered data is not deleted from the printer.

The processed data is printed and the printer returns to Standard Mode. The developed data is deleted after being printed. For more information see Page Mode in this document.

Exceptions

This command is enabled only in Page Mode.

Cancel Print Data in Page Mode

ASCII CAN

Hexadecimal 18

Decimal 24

Deletes all the data to be printed in the “page” area. Any data from the previously selected “page” area that is also part of the current data to be printed is deleted.

Exceptions

This command is only used in Page Mode.

124

December 1999

Page 129
Image 129
M-S Cash Drawer A794 Mode Commands, Print and Return to Standard Mode, Cancel Print Data in Page Mode, Ascii FF, Ascii can