Set Horizontal Motion Index [Hmi] Command (Epson Lq) - Oki MICROLINE ML521 Reference Manual

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

Advertisement

Decimal Value of n
For example, if you are printing at 10 cpi and want to set the character spacing at 11/120", use
this BASIC command:

Set Horizontal Motion Index [HMI] Command (Epson LQ)

ML390 Turbo, ML391 Turbo
Function
Set Horizontal Motion Index (HMI)
Use this command to set the character spacing in LQ and Utility modes to any value from
1/360" up to 3".
Parameters L
and H
p
p
Parameters L
and H
can have any value from 0 to 255 decimal and are used to designate the
p
p
Horizontal Motion Index (HMI) according to the following equation:
If the HMI value is set to greater than 3":
ML390 Turbo and ML391 Turbo printers will ignore the command
ML590and ML591 printers will use 1/10" spacing.
Table 24: ML ESC N Command —
Character Spacing (in Inches)
10 cpi
0
3/120"
1
4/120"
2
5/120"
3
6/120"
4
7/120"
5
8/120"
6
9/120"
7
10/120"
8
11/120"
9
12/120"
10
13/120"
11
14/120"
LPRINT CHR$(@7);"N";CHR$(8)
ML590, ML591
ASCII
ESC c L
HMI (inches) = [L
Chapter 3: Character Size & Spacing Commands
12 cpi
17.1 cpi
3/144"
3/206"
4/144"
4/206"
5/144"
5/206"
6/144"
6/206"
7/144"
7/206"
8/144"
8/206"
9/144"
9/206"
10/144"
10/206"
11/144"
11/206"
12/144"
12/206"
13/144"
13/206"
14/144"
14/206"
Dec
H
27 99 L
H
p
p
p
+ (H
x 256)] ÷ 360
p
p
20 cpi
3/240"
4/240"
5/240"
6/240"
7/240"
8/240"
9/240"
10/240"
11/240"
12/240"
13/240"
14/240"
Hex
1B 63 L
H
p
p
p
27

Advertisement

Table of Contents
loading

Table of Contents