User guide
A795 User Guide: Programming Supplement
Chapter 4: Programming commands
43
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
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.
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 A795 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 TM-T88 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 A795 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 TM-T88 emulation and the parameter
byte goes into the print buffer.
ASCII LF
Hexadecimal 0A
Decimal 10
Carriage return/line feed pair prints and feeds only
one line.
Related information
See ignoring/using the carriage return in Diagnostics for
more information.
This command is recognized in A793 emulation and A795
native mode, ignored in TM-T88 emulation.
Carriage return/line feed pair prints and feeds only
one line.
Prints one line from the buffer and feeds paper one line.