Move To The Right & Left Commands (Ml); Uni-Directional Printing Commands (Ibm/E/Ml) - Oki MICROLINE ML521 Reference Manual

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

Advertisement

120/256 = 0 (H
to move the print position over 5":
300/256 = 1 (H
Move to the Right & Left Commands (ML)
ML320 Std., ML321 Std.
Function
ASCII
Move to Left
ESC % F n
Move to Right
ESC % E n
These commands move the print position to the right or to the left of the current position in the
amount you specify. Underline characters don't print in the space between the two positions.
Parameters n
n
n
n
1
2
3
4
These parameters represent a four-digit ASCII number for the value of the amount of movement
to take place. If the value you wish to assign is less than four digits, use zeros for the first
digit(s). The actual amount of movement depends on the pitch engaged:
Table 59: ML ESC % F and ESC % E Commands —
Movement Increments for Pitch Settings
Pitch
10 cpi
12 cpi
15 cpi
17.1 cpi
20 cpi
Proportional
For example, suppose you have your pitch set at 20 cpi and want your printer to move 1" to the
right. From the table above, at 20 cpi your shift will be in increments of 1/240", so the value of
n
n
n
n
would be 0240 (1" / 1/240"). Send the BASIC statement
1
2
3
4
Note: If you send a location value outside the set left or right margin, this command will be
ignored.

Uni-directional Printing Commands (IBM/E/ML)

ML320 E/I, ML321 E/I
ML320 Std., ML321 Std.
Function
Uni-directional Printing On
2 x 60 = 120
), with a remainder of 120 (L
n
5 x 60 = 300
), with a remainder of 44 (L
n
ML320 Turbo, ML321 Turbo
Dec
n
n
n
27 37 70 F n
1
2
3
4
n
n
n
27 37 69 n
1
2
3
4
Movement Increments
1/120"
1/144"
1/180"
1/206"
1/240"
Same as the corresponding value for each cpi
LPRINT CHR$(27);CHR$(37);CHR$(69);"0240"
ML320 Turbo, ML321 Turbo
ML390 Turbo, ML391 Turbo
IBM
ASCII: ESC U 1
Dec: 27 85 1
Hex: 1B 55 01
Chapter 8: Horizontal Control Commands
)
n
)
n
ML520, ML521
Hex
n
n
n
1B 25 46 F n
1
2
3
4
n
n
n
1B 25 45 n
1
2
3
4
ML520, ML521
ML590, ML591
Epson
ML*
ASCII: ESC U 1
ASCII: ESC -
Dec: 27 85 1
Dec: 27 45
Hex: 1B 55 01
Hex: 1B 2D
n
n
n
1
2
3
4
n
n
n
1
2
3
4
81

Advertisement

Table of Contents
loading

Table of Contents