Control Sequences
The cashier display operates in VT100 mode, i.e. it emulates a subset of the
VT100 ESC sequences and control bytes. These are illustrated in the
following:
Backspace (without deleting)
BS
Line feed
LF
Carriage return
CR
Delete display
ESC [2J
Position cursor
ESC [Py;PxH
Delete to end of line
ESC [0K
Set country code
ESC Rn
Call display identification
ESC [0c
Backspace (without deleting)
The
BS
command (hexadecimal 08) moves the cursor one space to the left.
If there is a character in the position to which the cursor moves, it is not
deleted. This command is ignored if the cursor is already at the very start of
the line.
Line feed
The
LF
command (hexadecimal 0A) moves the invisible cursor down a line
if it is positioned in one of the first three lines of the display. The column
position remains unchanged.
The position of the cursor remains unchanged if it is already in the last line.
The contents of the last line are copied to the first line and the last line is
deleted.
CONTROL SEQUENCES
14