OKI 790 Manual De Usuario
![OKI](https://files.manualsbrain.com/attachments/746962050649a0feb60a3178c50308424e8c349a/common/fit/150/50/0a52b6498c5909275baef8361703ddfcf89c4a81825ec17b78f572dd7bcc/brand_logo.png)
102
Appendix D: Printer Commands
Move to the Left
(Backwards)
(Backwards)
Self Left & Right Margins
Engage/ Disengage
Unidirectional Printing
Unidirectional Printing
Backspace
Set Print Position
ASCII: ESC e n
1
n
2
Dec: 27 101 n
1
n
2
Hex: 1B 65 n
1
n
2
ASCII: ESC X n m
Dec: 27 88 n m
Hex: 1B 58 n m
Dec: 27 88 n m
Hex: 1B 58 n m
ASCII: ESC U n
Dec: 27 85 n
Hex: 1B 55 n
Dec: 27 85 n
Hex: 1B 55 n
ASCII: BS
Dec: 8
Hex: 08
Dec: 8
Hex: 08
ASCII: ESC DLE @ P
n
A
1
A
2
P
1
P
2
P
3
P
4
Dec: 27 16 64 [data]
Hex: 1B 10 40 [data]
Hex: 1B 10 40 [data]
IBM
Function
Function
Commands
(ASCII, Decimal, Hexadecimal)
(ASCII, Decimal, Hexadecimal)
Move to the left, relative to present posi-
tion, calculated as
(n
tion, calculated as
(n
1
=[n
2
x 256])/ 120 inches
n
1
=0 to 255
n
2
=0 to 255
n
1
=n
2
=0: no movement
Sets left (n) and right (m) margins in
character columns at current pitch. Once
set, margins remain fixed even if charac-
ter pitch is changed. m must be at least
10 character space (at 10 cpi) to the right
of n.
n=0 to 255; n=0: left margin unchanged
m=0 to 255; m=0: right margin un-
changed
character columns at current pitch. Once
set, margins remain fixed even if charac-
ter pitch is changed. m must be at least
10 character space (at 10 cpi) to the right
of n.
n=0 to 255; n=0: left margin unchanged
m=0 to 255; m=0: right margin un-
changed
n=1: Unidirectional printing On
n=0: Unidirectional printing Off (return
to bidirectional)
n=0: Unidirectional printing Off (return
to bidirectional)
Prints data in buffer and moves one
character to the left according to current
character pitch.
character to the left according to current
character pitch.
OKI unique command. Sets horizontal
position of printhead.
P
position of printhead.
P
n
: specifies number of bytes to follow,
range 0 to 127 (MSB ignored)
A
A
1
: specifies if motion is absolute (even
number) or relative (odd number)
A
A
2
: specifies direction of relative move-
ment right (even number) or left (odd
number)
P
number)
P
1
, P
2
, P
3
, P
4
=0 to9: specify print posi-
tion, in four digits:
(P
(P
1
x 1000) + (P
2
x 100) + (P
3
x 10) + P
4
Unit of print position is
1
/
360
inch in LQ
mode;
1
/
240
inch in Utility mode.
Maximum default value for left and
right margins: 2880 for ML390 Turbo:
4896 for ML 391 Turbo
right margins: 2880 for ML390 Turbo:
4896 for ML 391 Turbo
Notes