Tally Genicom T5023 Printer User Manual


 
Standard commands Horizontal print control
T5023/5023+ - Programming Guide 81
Example:
A demonstration of what effect a right margin has on the carriage return and line feed.
(For the influence of the current character size on the right margin compare with con-
trol command for “Setting the left margin”).
Result:
The absolute margin position is dependent on the set character
size (10, 12 or 15 cpi) and the print mode (condensed, elongated,
normal). With proportional spacing, the right margin is determined
according to the character size 10 cpi. Subsequent alterations to
the character size have no influence on the set margin.
The distance between the left and right margins must be at least
two 2/10“(two characters with 10 cpi).
ESC Q (n) should be entered at the beginning of a print line, as
ESC Q (n) deletes all the previously entered characters and tabs in
the same print line.
BEGIN
SETN=30
REPEAT
SETN=N+4
PRINT(char(27),"Q",char(N)) <-- Setting the right
PRINT("Line length equal to the distance") margin
PRINTLF(" between left and right margins")
UNTIL N = 42
END
i