Cognitive Solutions A799 manual Print and feed paper one line, Print and carriage return

Models: A799

1 142
Download 142 pages 30.19 Kb
Page 42
Image 42

42

Chapter 4: Programming Commands

Revision D 12/09

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 A799 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 A799 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.

A799-PG00001D

Page 42
Image 42
Cognitive Solutions A799 Print and feed paper one line, Print and carriage return, Feed n print lines, Feed n dot rows