Esc ! global formatting, Global formatting – Brother QL-720NW User Manual
Page 41

ESC/P Command Reference
- 35 -
5. Control Command Details
ESC !
Global formatting
ASCII: ESC
!
n
Decimal: 27
33
n
Hexadecimal: 1B
21
n
Parameters
0≤n≤255
Description
Specifies a combination of print modes.
Specifies modes depending on the bit value of n.
When the ESC ! code is used, a combination of multiple print modes can be specified at one time.
The priority order is from Bit 5 to Bit 2.
Bit 0 is available only if Bit 1 is 0.
Selected character styles are canceled, and the characters return to the normal style.
Canceling double-width characters also cancels compressed (half-width) characters.
Bit
7
6
5
4
3
2
1
0
1 Underline Italics
Double
width
Double
height
Bold Compressed Proportional 12
cpi
0 Cancel Cancel Cancel Cancel Cancel Cancel Cancel 10
cpi
Example
To apply underlining and specify double-width characters at the same time:
Code:
ABC ESC ! A0h ABC ESC ! 00h ABC FF
Print result: ABCABCABC
- HL-2240 (522 pages)
- HL-2240 (21 pages)
- HL-2240 (150 pages)
- HL-2240 (2 pages)
- HL 5370DW (172 pages)
- HL-2170W (138 pages)
- HL 5370DW (203 pages)
- HL 2270DW (35 pages)
- HL 2270DW (47 pages)
- HL 5370DW (55 pages)
- HL-2170W (137 pages)
- HL-2170W (52 pages)
- PT-1290 (1 page)
- DCP-383C (7 pages)
- DCP-385C (122 pages)
- MFC 6890CDW (256 pages)
- DCP-585CW (132 pages)
- DCP-385C (2 pages)
- Pocket Jet6 PJ-622 (48 pages)
- Pocket Jet6 PJ-622 (32 pages)
- Pocket Jet6 PJ-622 (11 pages)
- Pocket Jet6Plus PJ-623 (76 pages)
- PT-2700 (180 pages)
- PT-2100 (58 pages)
- PT-2700 (34 pages)
- PT-2700 (62 pages)
- PT-2700 (90 pages)
- HL 5450DN (168 pages)
- HL 5450DN (2 pages)
- HL 5450DN (2 pages)
- DCP-8110DN (22 pages)
- MFC-J835DW (13 pages)
- DCP-8110DN (36 pages)
- HL 5470DW (177 pages)
- HL 5450DN (120 pages)
- DCP-8110DN (13 pages)
- HL 5470DW (34 pages)
- HL-S7000DN (9 pages)
- HL 5470DW (30 pages)
- HL-6050D (179 pages)
- HL-6050D (37 pages)
- HL-7050N (17 pages)
- HL-6050DN (138 pages)
- PT-1280 (1 page)
- PT-9800PCN (104 pages)