ESC/P Command Reference
- 28 -
5. Control Command Details
ESC p
Specify proportional characters
ASCII: ESC
p
n
Decimal: 27
112
n
Hexadecimal: 1B
70
n
Parameters
n=0, 1, 48 (“0”), 49 (“1”)
Description
z
Specifies proportional characters.
n=1 or 49 (“1”): Specifies proportional characters.
n=0 or 48 (“0”): Cancels proportional characters.
z
If proportional characters are specified, the character spacing specified with ESC SP is maintained as is.
ESC W
Specify double-width characters
ASCII: ESC
W
n
Decimal: 27
87
n
Hexadecimal: 1B
57
n
Parameters
n=0, 1 or 48 (“0”), 49 (“1”)
Description
z
Specifies double-width characters.
n=1 or 49 (“1”): Specifies double-width characters.
n=0 or 48 (“0”): Cancels double-width characters.
z
Double-width characters specified with this command are not canceled with the DC4 or FS DC4 code or a
line feed.
z
Canceling double-width characters also cancels compressed (half-width) characters.
Example
Code:
ABC ESC W 1 ABC ESC W 0 ABC FF
Print result: ABCABCABC
Содержание RuggedJet RJ-4040
Страница 1: ...Software Developer s Manual ESC P Command Reference RJ 4030 4040 Version 1 0 ...
Страница 111: ......