Esc lf, Format control – Compuprint MDP40B Programmer Manual User Manual

Page 14

Advertising
background image

A-12

ESC LF

Line Feed.
(IBM Proprinter XL24/XL24E, 2391+, EPSON ESC/P2)

ASCII Code

ESC LF

Hexadecimal Value

1B 0A

Decimal Value

27 10

See the description of the LF command.

F

F

o

o

r

r

m

m

a

a

t

t

C

C

o

o

n

n

t

t

r

r

o

o

l

l

ESC $

Sets the absolute printing position. (EPSON ESC/P2)

ASCII Code

ESC & n

1

n

2

Hexadecimal Value

1B 24 n

1

n

2

Decimal Value

27 36 n

1

n

2

Range

0 < n

1

< 255

0 < n

2

< 127

This command specifies the distance from the left margin where you want to print
subsequent characters. The default unit is 1/60 inch. The distance is in number of dots
and must be calculated using the following formula:

Margin distance = n

1

+ (n

2

x 256) x 1/60” + (left margin)

Advertising