ESC / P2 Commands | Epson |
Set relative vertical print position
Control sequence | Hexadecimal | Decimal | ||
|
|
|
| |
ESC ( v p1 p2 p3 |
| 1B 28 76 p1 p2 p3 | 27 40 118 p1 p2 p3 | |
p1 = | 02 00 |
|
|
|
p = | p2 + p3 | * 256 |
|
|
p: moves the print position from top margin in defined units
Select font by pitch and point
Control sequence | Hexadecimal | Decimal |
|
|
|
ESC X p1 p2 p3 | 1B 58 p1 p2 p3 | 27 88 p1 p2 p3 |
p1= 0 |
|
|
No change in pitch |
|
|
p1 = 1
Selects proportional spacing p1 = 18, 24, 30, 36, 42, 48, 60 oder 72
Selects fixed pitch equal to 360/p1 cpi p = p2 +p3 * 256
p:Point size in 0,5 points = p2 + p3 * 256 1 point = 1/72 Zoll
p = 0
No change in point size
p = 16, 21, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64
Programmer Reference Guide |