Appendix F EPSON LQ 2550 and ESC/P2 Quick Reference
Appendix F EPSON LQ 2550 and ESC/P2 Quick Reference
F-7
F-8
Table B-5: Horizontal Form Handling and Printing Modes
Table B-5 (Cont.): Horizontal Form Handling and Printing Modes
Escape Sequence
Function
Escape Sequence
Function
ESC
SO
Select Double Width for One Line
ESC &
NUL
P1 P2 P3 P4 P5 v1 .. vn
Define User Defined Characters
ESC
SI
Select Condensed
(P1 = 0/0...P2)
10 cpi -> 17 cpi
P2 = last code table position
12 cpi -> 20 cpi
(P2 = P1...7/F)
15 cpi -> 15 cpi (unchanged)
P3 = front space
(P3 = 0/0...5/0)
proportional -> proportional cond.
P4 = body length
Draft: (P4 = 0/0...0/F)
ESC
SP
P1
Select Intercharacter Space
P5 = rear space
(P5 = 0/0...5/0)
Unit 1/120" for DRAFT
(P1 = 0/0...7/F)
v1 .. vn = binary data in hex
Unit 1/180" for NLQ/LQ
(P1 = 0/0...7/F)
(vn = 0/0...F/F)
ESC ! P1
Select Multiple Print Mode
Notes:
-
This Command defines one or more characters in a RAM character
P1 selects:
table.
Bit0 = 0 : 10 cpi (Pica)
-
All User Defined Characters are erased when the printer is switched
Bit0 = 1 : 12 cpi (Elite)
off.
Bit1 = 1 : proportional
-
Set the Interface Buffer to 1k or 8K (max 50 defined char in LQ, 128 in
Bit2 = 1 : Condensed
draft), or use a RAM card for up to 128 User Defined Characters in LQ.
Bit3 = 1 : Emphasized
-
Set maximum every second dot to "1" in a horizontal line !
Bit4 = 1 : Double Strike
-
User Defined Characters can be defined in four different print modes:
Bit5 = 1 : Double Width
resolution (vertical x horizontal)
Bit6 = 1 : Italics
Normal Size with Draft:
24 x 15
Bit7 = 1 : Underline
Normal Size with LQ / proport.:
24 x 37
ESC $ P1 P2
Set Absolute Horizontal Position
Sub-/ Superscript with LQ / proport.:
16 x 37
(P1 + P2 * 256) * / "
(P1 = 0/0...F/F)
-
The characters can only be activated in the same mode as defined.
1
60
(P2 = 0/0...0/3)
-
The character layout is coded in three bytes (24 bit vertical) or two
ESC \ P1 P2
Set Relative Horizontal Position
bytes (16 bit vertical) per column, top to bottom.
Draft:
(P1 + P2 * 256) * /
"
-
To print the character change to the User Defined Character Set with
1
120
(P1 = 0/0...F/F) (P2 = 0/0...0/6)
ESC % .
NLQ/LQ: (P1 + P2 * 256) * /
"
1
180
(P1 = 0/0...F/F) (P2 = 0/0...0/9)
Examlpe:
vertical box, normal size with draft at code table position "41"
ESC % P1
Select Standard / User Defined Character
Set
hex: 1B 26 00 41 41 08 05 08 FF FF FF 00 00 00 80 00 01 00 00 00 FF FF FF
P1 = 0/0 : Standard Character Set
P1 = 0/1 : User Defined Character Set
P1 = first code table position
LQ: (P4 = 0/0...2/5)
Sub-/ Superscript with Draft:
16 x 15
(P3=8, P4=5, P5=8)
Содержание MTX 1345
Страница 61: ...14073 Appendix A to G for Printer ...