Esc ( u – Compuprint MDP40B Programmer Manual User Manual

Page 18

Advertising
background image

A-16

Send this command before paper is loaded or when paper is at the top-of-form position.
Otherwise the current print position becomes the top-margin position. Measure both
top and bottom margins from the top edge of the page. The baseline for printing
characters on the first line is 20/180 inch below the top-margin position.

This command cancels any previous top and bottom-margin settings.

ESC ( U

Sets units. (EPSON ESC/P2)

ASCII Code

ESC ( U n

1

n

2

d

Hexadecimal Value

1B 28 55 n

1

n

2

d

Decimal Value

27 40 85 n

1

n

2

d

Range

n

1

= 1

n

2

= 0

d = 10, 20, 30, 40, 50,60

This command sets the unit to m/3600 inch. The printer uses this unit when moving
the print position, setting the page length and setting the top and bottom margins
with the following commands (the default units varies depending on the command and
print quality):

Commands Default

Unit

ESC ( V

1/360 inch

ESC ( v

1/360 inch

ESC ( C

1/360 inch

ESC ( c

1/360 inch

ESC \ (LQ mode)

1/180 inch

ESC \ (Draft mode)

1/120 inch

ESC $

1/60 inch

Advertising