OKI ml395 [59/79] Ml395 96 02 07

OKI ml395 [59/79] Ml395 96 02 07
Set Print Position
ASCII: ESC DLE @ P
n
A
A
2
P
1
P
2
P
3
P
4
Dec: 27 16 64 [data]
Hex: 1B 10 40 [data]
OKI unique command. Sets next horizontal position
of printhead.
P
n
= number of parameter bytes to follow, range 0 to
255
A
1
specifies whether motion is absolute or relative:
even = absolute from left margin; odd = relative
from present position
A
2
specifies direction of relative movement: even =
toward right margin (forward); odd = toward left
margin (reverse)
P
1
P
2
P
3
P
4
= 4-digit number representing number of
units to move (size of unit depends on character
pitch)
Left Margin Set
ASCII: ESC l n
Dec: 27 108 n
Hex: 1B 6C n
Sets left margin n character spaces from printhead
home position; must be at least 2 spaces to left of
right margin.
n = 0 to 255
n = 0: home position
Right Margin Set
ASCII: ESC Q n
Dec: 27 81 n
Hex: 1B 51 n
Sets right margin n character spaces from printhead
home position; must be greater than the left margin.
n = 1 to 255
n = 0: command ignored
Auto Justification
ASCII: ESC a n
Dec: 27 97 n
Hex: 1B 61 n
Justifies text according to the value of n:
n = 0: Left
n = 1: Center
n = 2: Right
n = 3: Full (left & right)--use carriage return only at
end of paragraph.
Repeat Printing
ASCII: ESC V n
Dec: 27 86 n
Hex: 1B 56 n
n = 1 to 255: Reprint data n times
n = 0: End repeat printing
Unidirectional Print
On/Off
ASCII: ESC U n
Dec: 27 85 n
Hex: 1B 55 n
Turns unidirectional (left to right only) printing on
and off.
n = 1: Unidirectional printing On
n = 0: Unidirectional printing Off (normal
bidirectional printing)
One-Line
Unidirectional
Printing
ASCII: ESC <
Dec: 27 60
Hex: 1B 3C
Turns on unidirectional (left to right) printing for one
line.
Backspace
ASCII: BS
Dec: 8
Hex: 08
Prints data in print buffer and moves one character to
the left according to the current character pitch.
Delete One
Character
ASCII: DEL
Dec: 127
Hex: 7F
Deletes last character in print buffer.
Vertical Control
Set 1/6" Line
Spacing
ASCII: ESC 2
Dec: 27 50
Hex: 1B 32
Sets line spacing of 1/6" (6 lines per inch). This is
standard typewriter spacing.
Set 1/8" Line
Spacing
ASCII: ESC 0
Dec: 27 48
Hex: 1B 30
Sets line spacing of 1/8" (8 lines per inch).
ML395 ( 96-02-07 )

Содержание

Скачать