Print and paper feed – CognitiveTPG A798 User Manual
Page 39

Chapter 4: Programming Commands
39
Revision C 12/09
A798-PG00001C
Print and paper feed
The print and feed commands control printing on the receipt and paper feed by the printer.
Print and feed paper one line
ASCII
LF
Hexadecimal 0A
Decimal
10
Prints one line from the buffer and feeds paper one line.
Carriage return/line feed pair prints and feeds only one line.
Print and carriage return
ASCII
CR
Hexadecimal 0D
Decimal
13
Prints one line from the buffer and feeds paper one line. The printer can be set through the configuration menu to ignore or
use this command. Some applications expect the command to be ignored while others use it as print command.
Related information
See ignoring/using the carriage return in Diagnostics for more information.
This command is ignored in LEGACY emulation.
Carriage return/line feed pair prints and feeds only one line.
Feed n print lines
ASCII
DC4 n
Hexadecimal 14 n
Decimal
20 n
Value of n:
The number of lines to feed at current
line height setting.
Range of n:
0–255 in A798 native mode
0–127 in A793 emulation
Feeds the paper n lines at the current line height without printing. Ignored on receipt if current line is not empty.
Related information
This is ignored in LEGACY emulation and the parameter byte goes into the print buffer.
Feed n dot rows
ASCII
NAK n
Hexadecimal 15 n
Decimal
21 n
Value of n:
n/203 inch
Range of n:
0–255 in A798 native mode
0–127 in A793 emulation
Feeds the paper n dot rows (n/8 mm, n/203 inch), without printing. Receipt moves n rows if the print buffer is empty.
Related information
This is ignored in LEGACY emulation and the parameter byte goes into the print buffer.