Tally Genicom T5023 Printer User Manual


 
Standard commands Line feed commands
T5023/5023+ - Programming Guide 57
Carrying out an n/ 180 inch line feed
Function:
ESC J (n) transports the paper n/ 180 inch on. A value between 0 and 255 must
be given for n. This command produces an immediate line feed, but does not ef-
fect a carriage return (no CR with positioning of the print head at the beginning
of the line).
ESC J (n) has no influence on the current line spacing, which results, for examp-
le, by means of LF (line feed).
Example:
A demonstration of the difference between a normal line feed and an n/ 180 inch”
feed.
Result:
ESC
27
1B
J
74
4A
(n)
n
n
ASCII character
Decimal
Hexadecimal
BEGIN
PRINTLF("This is the first line")
PRINT("Second line")
PRINT( char(27),"J", char(5))¨
5/180 inch
PRINTLF("with the rest displaced by 5/180 inch")
PRINTLF("Now it continues normally")
END