Print and paper feed – CognitiveTPG A760 User Manual
Page 42

A760 User Guide: Programming Supplement
Chapter 4: Programming commands
42
Revision F January 2010
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 eject slip
ASCII
FF
Hexadecimal 0C
Decimal
12
Prints data from the buffer to the slip station and if the
paper sensor is covered, reverses the slip out the front of
the printer far enough to be accessible to the operator. The
impact station opens the platen in all cases.
This command has the same code as the print and return
to standard mode command, which is executed only when
the printer is in page mode. When the printer is not in
page mode this command executes the print and eject slip
function.
Exception
This command is ignored if the receipt station is the
current station.
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.
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–127 in A756 emulation
0–255 in A756 emulation and
A760 native mode
Feeds the paper n lines at the current line height without
printing. Ignored on receipt if current line is not empty.