Revision D 12/09 | Chapter 4: Programming Commands 105 |
Page mode
Page mode is one of two modes that the A799 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.
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.
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.