Esc ( c, Where n, Is equal to – Compuprint MDP40B Programmer Manual User Manual
Page 15: Sets page length in defined unit. (epson esc/p2), X 256) + d, X (defined unit)

A-13
Where n
2
is equal to:
1
[(horizontal position) – (left margin position)]
x
(
defined unit
)
INIT
256
Where n
1
is equal to:
1
[(horizontal position) – (left margin position)]
x
(
defined unit
)
MOD
256
If the selected position is outside the current right margin, the sequence will be
ignored.
ESC ( C
Sets page length in defined unit. (EPSON ESC/P2)
ASCII Code
ESC ( C n
1
n
2
d
1
d
2
Hexadecimal Value
1B 28 43 n
1
n
2
d
1
d
2
Decimal Value
27 40 67 n
1
n
2
d
1
d
2
Range
n
1
= 2
n
2
= 0
0 < (d
2
x 256) + d
1
) x (defined unit) < 22
This command sets the page length in the specified number of units (the default unit
is 1/360 inch), previously defined with the ESC ( U command according to the
following formula:
Page length = (d
2
x 256) + d
1
) x (defined unit)