Tally Genicom T5023 Printer User Manual


 
Standard commands Special character codes
T5023/5023+ - Programming Guide 51
Special character codes
In this chapter the following commands are described:
Carriage return
Function:
After CR (carriage return) the data contained in the buffer is printed and the print
head is returned logically to the left edge.
If CR, according to the setting, for example, on the operating panel, is only inter-
preted as CR, the print head is returned on the same line. If necessary, an addi-
tional line feed must be achieved by subsequently pressing LF (line feed, see
section “Line feed commands” in this chapter).
If CR, according to presetting, is interpreted as CR + LF, a line feed is added
after execution of the carriage return.
Example:
A demonstration of the effect of CR commands depending on preset printer parame-
ters
.
Command Function
CR Carriage Return
BS Backspace of one character
DEL Deleting a character
CAN Canceling a line
CR
13
0D
ASCII character
Decimal
Hexadecimal
BEGIN
PRINT("Test line", char(13))
PRINT("Test line", char(13))
PRINT("Test line", char(13))
END