Esc x specify character size, Esc x, Specify character size – Brother RJ-4040 User Manual
Page 43

ESC/P Command Reference
- 37 -
5. Control Command Details
ESC X
Specify character size
ASCII: ESC
X
m
nL
nH
Decimal: 27
88
m
nL
nH
Hexadecimal: 1B
58
m nL nH
Parameters
Character width: The value of m is irrelevant.
Character size:
Valid only with:
nL=16, 24, 32 dots
nH=0
The maximum is:
nL=144
nH=1
Description
This command is used only to change the size.
Outline must not be specified.
The character width cannot be specified.
The character size is specified as n=nL+nH*256 dots.
With bitmap fonts, only n=16, 24 and 32 are valid.
With outline fonts, n=400 is the maximum.
The commands for specifying stretched characters, compressed characters and the character spacing
(SO, ESC W, ESC !, ESC SP) remain available.
Example
For “ABC” at a 24-dot size and “DEF” at a 48-dot size:
Code:
ESC k 01h
ESC X 00h 18h 00h ABC
ESC k 09h
ESC X 00h 30h 00h DEF FF
Print result: ABC
DEF