Page mode – CognitiveTPG A760 User Manual

Page 106

Advertising
background image

A760 User Guide: Programming Supplement
Chapter 4: Programming commands

106

Revision F January 2010

Page mode

Page mode is one of two modes that the A760 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. Once the printer receives the (0 × 0C) command, it prints
the page and returns the printer to standard mode.
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.

Limitations

Page mode is only implemented on the receipt station in A758 emulation and A760 native modes.

Print and return to standard mode

ASCII

FF

Hexadecimal 0C
Decimal

12

The processed data is printed and the printer returns to
standard mode. The developed data is deleted after being
printed. This command has the same code as the print and
eject slip command, which is executed when the printer is
not in page mode.

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.
This command has the same code as the open form
command, which is performed when the printer is not in
page mode.

Exceptions

This command is only used in page mode.

Print data in page mode

ASCII

ESC FF

Hexadecimal 1B 0C
Decimal

27 12

Collectively prints all buffered data in the printing area.
After printing, the printer does not clear the buffered data
and sets values for select print direction in page mode
(1B 54 n) and set print area in page mode (1B 57 …),
and sets the position for buffering character data.

Exceptions

This command is enabled only in page mode.

Advertising