beautypg.com

Control code list – Brother TD-2120N User Manual

Page 23

background image

ESC/P Command Reference

- 17 -

4. Control Code List

4. Control Code List

Character/style selection commands (Refer to section

5.1 Character/style selection commands

.)

ASCII Code

Binary Code

Description

ESC R

1B 52

Select international character set

ESC q

1B 71

Select character style

ESC k

1B 6B

Select font

ESC t

1B 74

Select character code set

Text printing commands (Refer to section

5.2 Text printing commands

.)

ASCII Code

Binary Code

Description

ESC 4

1B 34

Apply italic style

ESC 5

1B 35

Cancel italic style

ESC E

1B 45

Apply bold style

ESC F

1B 46

Cancel bold style

ESC G

1B 47

Apply double-strike printing

ESC H

1B 48

Cancel double-strike printing

ESC P

1B 50

Apply pica pitch (10 cpi)

ESC M

1B 4D

Apply elite pitch (12 cpi)

ESC q

1B 67

Apply micron pitch (15 cpi)

ESC p

1B 70

Specify proportional characters

ESC W

1B 57

Specify double-width characters

SO

0E

Specify auto-canceling stretched characters

ESC SO

1B 0E

Specify auto-canceling stretched characters

SI

0F

Specify compressed characters

ESC SI

1B 0F

Specify compressed characters

DC2 12 Cancel

compressed

characters

DC4

14

Cancel auto-canceling double-width characters

ESC -

1B 2D

Apply/cancel underlining

ESC !

1B 21

Global formatting

ESC SP

1B 20

Specify character spacing

ESC X

1B 58

Specify character size

This manual is related to the following products: