Esc w, Esc x – Compuprint MDP40B Programmer Manual User Manual
Page 63

A-61
ESC w
Sets or cancels double height printing. (EPSON ESC/P2)
ASCII Code
ESC w n
Hexadecimal Value
1B 77 n
Decimal Value
27 119 n
Range 0
< n < 255
Enables or disables the double-height printing of all characters. The first line of a page is not
doubled if the ESC w command is sent on the first line; all following lines are printed at
double-height. See the following table:
n Selection
1
Double Height Printing enabled
0
Double Height Printing disabled
ESC X
Selects font by pitch and point. (EPSON ESC/P2)
ASCII Code
ESC x m n
1
n
2
Hexadecimal Value 1B 58 m n
1
n
2
Decimal Value
27 88 m n
1
n
2
Range 5
< m < 127
0 < n
1
< 255
0 < n
2
< 127
This command puts the printer in scalable font mode and selects the pitch (default
value 10 cpi) of the font according to the following formula:
Where m defines the pitch: