OKI ml395 [58/79] Epson lq commands

OKI ml395 [58/79] Epson lq commands
Epson LQ Commands
Note
Normally the commands in this table override Menu settings. Except as noted, these commands
are cancelled and the printer returns to the factory and Menu settings when the printer receives an
Initialization, Software I-Prime, or Change Emulation command, or when it is turned off.
Epson LQ Commands
This section contains the commands for the Epson LQ emulation, grouped by function.
Epson Function Command Notes
Horizontal Control
Carriage Return
ASCII: CR
Dec: 13
Hex: 0D
Prints data in print buffer and performs carriage
return.
Set Horizontal Tabs
ASCII: ESC D n
1
n
2
... n
k
NUL
Dec: 27 68 n
1
n
2
... n
k
0
Hex: 1B 44 n
1
n2 ... n
k
00
Sets horizontal tab stop positions.
n = position of tab stop--maximum one less than #
of characters per line
k = 1 to 32
n
1
= 0: clear tabs
Default: every 8 columns
Once tabs are set, they remain the same even if
character pitch is changed.
Set relative tab
stops
ASCII: ESC e n m
Dec: 27 101 n m
Hex: 1B 65 n m
n = 0: Horizontal tabs
n = 1: Vertical tabs
m = 0 to 127
Execute relative tab
ASCII: ESC f n m
Dec: 27 102 n m
Hex: 1B 66 n m
n = 0: Horizontal tabs
n = 1: Vertical tabs
m = 0 to 127
Horizontal Tab
ASCII: HT
Dec: 9
Hex: 09
Move to next horizontal tab stop
Absolute Horizontal
Position
ASCII: ESC $ n
1
n
2
Dec: 27 36 n
1
n
2
Hex: 1B 24 n
1
n
2
Move to new horizontal position. Amount of
movement from left margin is calculated as follows:
[n
1
+ (n
2
x 256)] / 60 inches
n
1
= 0 to 255
n
2
= 0 to 255
n
1
= n
2
= 0: left margin
Max. value: n
1
= 48, n
2
= 3 (13.6" shift)
Space moved using this command will not be
underlined. DEL command will not delete the
skipped amount.
Relative Horizontal
Position
ASCII: ESC \ n
1
n
2
Dec: 27 92 n
1
n
2
Hex: 1B 5C n
1
n
2
Move to new horizontal position, relative to present
position. Amount of movement is calculated as
follows: ( n
1
+ [n
2
x 256]) / 120 dpi
n
1
= 0 to 255
n
2
= 0 to 255
n
1
= n
2
= 0: no movement
+ moves to right; - moves to left
ML395 ( 96-02-07 )

Содержание

Скачать