Tally Genicom Matrix Printer User Manual
Page 134

Absolute Horizontal Step
ESC $
Data Structure
ASCII
ESC "$"
1 > 2 > set absolute horizontal step hex. 1B 24 1 > 2 > dec. 27 36 1 > 2 > Description This code sequence moves the print head to an absolute print position independent of the 1 ⁄ 60 inches. The print positi- on from the left hand margin is then calculated as: (n 1 + n 2 ∗ 256). The value specified for n 1 must be in the range of 0 to 255, the value specified for n 2 must be in the range of 0 to 3. This code sequence can be used in all print qualities (DPQ, NLQ, LQ). Example for calculating n 1 and n 2 : The print position is 4.5 inches, which corresponds to a number of dots of 270 n 2 = number of dots divided by 256 270 ⁄ 256 = dec.1 n 1 = remainder of division of n 2 = dec.14 Note that you obtain the same result by using the formula given for calculating n 1 and n 2 for relative horizontal step (see sequence ESC \). Only the way to get it is different. The Print Positioning 51
current character density. The positioning is in increments of
(4.5 inch x 60 dots/inch = 270 dots).
=
= hex.01
= hex.0E
reason for these different descriptions is that customers’ programming experience is not
the same. Therefore this is meant to be a little help for you to choose the easiest way.