Esc ( c, Where d, Is equal to – Compuprint MDP40B Programmer Manual User Manual

Page 16: Sets page format. (epson esc/p2)

Advertising
background image

A-14

Where d

2

is equal to:

1

(page length)

x

(

defined unit

)

INIT

256

Where d

1

is equal to:

1

(page length)

x

(

defined unit

)

MOD

256

Set the page length before paper is loaded or when the print position is at the top-of-
form position. Otherwise, the current print position becomes the top-of-form position.
Setting the page length cancels the top and bottom-margin settings. If the defined unit
is changed it does not affect the current page-length setting.

ESC ( c

Sets Page Format. (EPSON ESC/P2)

ASCII Code

ESC ( c n

1

n

2

t

1

t

2

b

1

b

2

Hexadecimal Value

1B 28 63 n

1

n

2

t

1

t

2

b

1

b

2

Decimal Value

27 40 99 n

1

n

2

t

1

t

2

b

1

b

2

Range

n

1

= 4

n

2

= 0

((t

2

x 256) + t

1

) < (b

2

x 256) + b

1

)

(defined unit) x (b

2

x 256) + b

1

) < 22

This command sets the top and bottom margins in the defined units, set with the ESC
( U command, according to the following formulas:

Advertising