TallyGenicom Matrix Printer Programmer's Manual page 137

Tallygenicom matrix printer programmer's manual
Table of Contents

Advertisement

n
1
Movement of
n
n
2
n
1
Note that you obtain the same result by using the formula given for calculating n
for absolute horizontal step (see sequence ESC $). Only the method of calculations is
different. The two different methods give the same result and therefore the programmer
should use the method best suited for his application.
Example
10
20
30
40
50
60
54
Print Positioning
= 480 MOD 256
= dec.224
= hex.E0
5
inches (1.67 inches) towards the left side:
3
= 65536 - 1.67
120
*
= 65336
65336
= INT (
)
256
= dec.255
= hex.FF
= 65336 MOD 256
= dec.56
= hex.38
REM
relative horizontal position
LPRINT CHR$(27);"\";CHR$(224);CHR$(1);"+480";
LPRINT CHR$(27);"\";CHR$(56);CHR$(255);"-200";
LPRINT CHR$(27);"\";CHR$(50);CHR$(0);"+50";
LPRINT
END
and n
1
2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Matrix Printer and is the answer not in the manual?

Table of Contents