beautypg.com

Esc (c – Brother RJ-4040 User Manual

Page 61

background image

ESC/P Command Reference

- 55 -

5. Control Command Details

ESC (C

Specify page length

ASCII: ESC

(

C

nL

nH

mL

mH

Decimal: 27 40 67 nL nH

mL

mH

Hexadecimal:

1B 28 43 nL nH

mL

mH

Parameters

nL=2, nH=0

0≤(mL+mH*256)<8192

Description

Specifies the page length.

* A page length 0 indicates the Auto setting.

The unit is 1/203 inch (=1 dot).

Page length=mL+mH*256

The current paper position is the TOF.

The top and bottom margins are canceled with ESC ( c.

All previously entered text is cleared.

A standard unit is not used.

This command is available only with continuous length tape.

Inch, mm, and dot conversion table

inch

mm

Number of dots

0

0.0

0

1

25.4

203

2

50.8

406

3

76.2

609

4

101.6

812

5

127.0

1015

6

152.4

1218

7

177.8

1421

8

203.2

1624

9

228.6

1827

10 254.0 2030

11 279.4

2233

12 304.8 2436
13 330.2 2639
14 355.6 2842
15 381.0 3045
16 406.4 3248
17 431.8 3451
18 457.2 3654
19 482.6 3857
20 508.0 4060

This manual is related to the following products: