Chapter 4: Esc/P2 Command Summary; All Character Mode; Set Page Length - Oki MICROLINE 591Elite User Manual

Ibm-/epson
Table of Contents

Advertisement

ESC/P2 Command Summary
This chapter contains information detailing commands and features capable of being
generated using ESC/P2 commands. This emulation allows the user to generate
scalable fonts on 24-pin dot matrix printers.

All Character Mode

Set character printing mode
Ln and Hn:
Print Position Unit
Set print position unit
Ln and Hn:
This sets the unit of the vertical and horizontal print positions as follows:
Page Length

Set Page Length

Ln and Hn:
This sets the page length as follows:
Page length=(Lp + Hp x 256) a the current unit (inches) defined by ESC ( U.
Decimal
Hex
27 40 94
1B 28 5E
Ln Hn (Data)
Ln Hn (Data)
Length of the following data calculated by Ln + Hn x 256
(MSB of Hn is ignored.)
Decimal
Hex
27 40 85
1B 28 55
Ln Hn Pn
Ln Hn Pn
Length of the following Pn calculated by Ln + Hn x 256
(MSB of Hn is ignored.)
Normally Ln =1, Hn = 0, Pn = 10, 20, 30, 40, 50 or 60.
Pn (0-255)
Unit
0 - Pn -
9
not changed
1
10 - Pn - 19
/
360
1
20 - Pn - 29
/
180
1
30 - Pn - 39
/
120
1
40 - Pn - 49
/
90
1
50 - Pn - 59
/
72
1
60 - Pn - 69
/
60
70 - Pn -127
not changed
Decimal
Hex
27 40 67
1B 28 43
Ln Hn Lp Hp
Ln Hn Lp Hp
Length of the following parameters calculated by
Ln + Hn x 256.
(MSB of Hn is ignored.)
Normally Ln = 2, Hn = 0.
ASCII
ESC ( ^
Ln Hn (Data)
ASCII
ESC ( U
Ln Hn Pn
inch
inch
inch
inch
inch
inch
ASCII
ESC ( C
Ln Hn Lp Hp
Comp
E2
Comp
E2
Comp
E2
4 – 1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Microline 590

Table of Contents