Set Relative Dot Position Command (Ibm) - Oki MICROLINE ML521 Reference Manual

Oki microline ml521: reference guide
Hide thumbs Also See for MICROLINE ML521:
Table of Contents

Advertisement

Table 57: IBM/E/ML ESC DLE @ Command —
Maximum P
Pitch
10 cpi
12 cpi
15
17.1
20 cpi
Table 58: IBM/E/ML ESC DLE @ Command —
Maximum P
Print Quality
Letter Quality
Utility

Set Relative Dot Position Command (IBM)

ML320 Turbo, ML321 Turbo
Function
Set Relative Dot Position
This command lets you move the print position very precisely to either the right or the left of
the current print position. Overscore and underline characters don't print in the space between
the two positions.
Parameters L
and H
n
n
These parameters set the amount and direction of the movement. To determine their value, first
decide the distance you want to move the text or graphics, in dots, based on 120 dots per inch.
If you want to move to the right, multiply the distance by 120 dpi, then divide the result by
256. Assign the whole number result to H
the right: (3 x 120)/256 = 1 with a remainder of 104, so H
If you want to move to the left, multiply the distance you wish to move by 120 dpi, then
subtract the result from 65536. Take that value and divide it by 256: assign the whole number
result to H
and the remainder to L
n
65536 - 360 = 65176
65176/256 = 254 (H
P
P
P
Values for 9-Pin Models
1
2
3
4
ML320 Turbo, ML520
1920
2304
2880
3291
3840
P
P
P
Values for 24-Pin Models
1
2
3
4
ML390 Turbo, ML590
2280
1920
ML520, ML521
ASCII
ESC | L
H
n
n
and the remainder to L
n
. For example, to move 3" to the left:
n
3 x 120 = 360
), with a remainder of 152 (L
n
Chapter 8: Horizontal Control Commands
ML321 Turbo, ML521
3264
3916
4896
5595
6528
ML391 Turbo, ML591
4896
3264
Dec
Hex
27 124 L
H
1B 7C L
n
n
. For example, to move 3" to
n
= 1 and L
= 104.
n
n
H
n
n
)
n
79

Advertisement

Table of Contents
loading

Table of Contents