Relative Horizontal Step
ESC \
Data Structure
ASCII
ESC "\"
<n
1
> <n
2
>
set relative horizontal step
hex.
1B
5C
<n
1
> <n
2
>
dec.
27
92
<n
1
> <n
2
>
Description
This code sequence moves the print head to a relative print position without regard to the
current character density. This print position is calculated according to the formula
(n
1
+ 256
∗
n
2
).Each dot, i. e. each print position has a width of
1
⁄
120
inch in DPQ and
1
⁄
180
inch in NLQ and LQ.
Calculation of the values of n
1
and n
2
first requires the prefix (n dots) to be calculated. If
the movement is directed towards the left side, the result is subtracted from 65536. Sub-
sequently the values for n
1
and n
2
can be calculated according to the formula:
n
1
= n MOD 256
n
2
= INT(
n
⁄
256
)
If the print position exceeds the currently set margins after execution of the horizontal
step, this code sequence is ignored.
This code sequence can be used in all print qualities (DPQ, NLQ, LQ).
Example for calculating n
1
and n
2
:
Movement of 4 inches towards the right side:
n
=
4
*
120
= 480
n
2
= INT
(
480
⁄
256
)
= dec.1
= hex.01
Print Positioning
53
Summary of Contents for Matrix Printer
Page 1: ...Programmer s Manual Matrix printer 7265 ...
Page 79: ...Programmer s Reference EPSON Emulation ...
Page 202: ...Appendix A Summary of Possible Codes ...
Page 212: ...Appendix B Character Sets ...
Page 231: ...Programmer s Reference Tally ANSI MTPL Emulation ...
Page 335: ...Appendix A Summary of Possible Codes ...
Page 348: ...Appendix B Character Sets ...
Page 351: ...Programmer s Reference Tally ANSI Barcode and LCP ...
Page 355: ......
Page 404: ...Appendix Character Sets ...