Horizontal Positioning (Absolute) - Tally T5023+ Programming Manual

Multi-functional flat bed printer
Table of Contents

Advertisement

Horizontal print control

Horizontal positioning (absolute)

ESC
27
1B
Function:
By means of ESC $ (n) (m) the print head is moved horizontally to a position
which is calculated independently of the current character size from the values
n and m relative to the previously set "logical left" margin (left margin of sheet set
using ESC l (n)). The distance of the print head from the left sheet margin results
from the following formula:
(m 256 + n) / 60 inch
A value between 0 and 255 for n and a value between 0 and 3 for m can be sel-
ected. (m 256 + n) may not be more than 816.
ESC $ (n) (m) is ignored if the specified position exceeds the logical
i
right margin set using ESC Q (n).
Example:
The distance of the text from the left sheet edge is increased step- by- step.
BEGIN
SET N = 60
REPEAT
SET N = N + 30
PRINT(char(27),"$",char(N,0))
PRINT("Distance from left sheet edge")
PRINTLF(N/60,"inch")
UNTIL N = 180
END
86
$
(n)
36
n
24
n
T5023/5023+ - Programming Guide
(m)
ASCII character
m
Decimal
m
Hexadecimal
Standard commands

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

T5023

Table of Contents