beautypg.com

Esc x specify character size, Esc x, Specify character size – Brother QL-720NW User Manual

Page 43

background image

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=24, 32, 48 dots
nH=0


Valid only with:
nL=33, 38, 42, 46, 50, 58, 67, 75, 83,

92, 100, 117, 133, 150, 167, 200, 233

nH=0
nL=11, 44, 77, 111, 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.

The width and the height are the same.

With bitmap fonts, only n=24, 32 and 48 are valid.

With outline fonts, n is valid only when it is one of the following values:

33, 38, 42, 46, 50, 58, 67, 75, 83, 92, 100, 117, 133, 150, 167, 200, 233, 267, 300, 333, 367, 400

The commands for specifying stretched characters, compressed characters and the character spacing

(SO, ESC W, SI, ESC !, ESC SP) remain available.

Example

For “ABC” at a 24-dot size and “DEF” at a 50-dot size:

Code:

ESC k 01h

ESC X 00h 18h 00h ABC

ESC k 09h

ESC X 00h 32h 00h DEF FF

Print result: ABC

DEF