Page Mode; Print And Return To Standard Mode; Cancel Print Data In Page Mode; Print Data In Page Mode - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

Page mode

Page mode is one of two modes that the A799II 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 80mm paper. If the printer supports 82.5mm paper, the dot spacing is the same
but there are 640 printable dots rather than 576 printable dots on 80mm paper. Note: the A793 Emulation does not support
Page Mode.

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.
This command also prints and feeds marked paper when the black mark sensor is enabled.

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.

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.
Printer returns to standard mode through use of 0C, 1B 53, or initialization (which cancels all settings).
Exceptions
This command is enabled only in page mode.
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
121

Advertisement

Table of Contents
loading

Table of Contents