beautypg.com

Compaq LA36 User Manual

Page 143

background image

C-29

Command Sets

Function

Command

Vertical Control

Line feed

LF

Form feed

FF

Advance paper n/180 inch (1 £ n £ 255)

ESC J (n)

Set line spacing to 1/8 inch

ESC 0

Set line spacing to n/180 inch (0 £ n £ 255)

ESC 3 (n)

Set line spacing to n/60 inch (0 £ n £ 127)

ESC A (n)

Set line spacing to 1/6 inch

ESC 2

Set line spacing to n/360 inch (0 £ n £ 255)

ESC + (n)

Tabulation

Horizontal tab execution

HT

Set horizontal tabs

ESC D (n

1

) ... (n

k

) NUL

The values of n

1

to n

k

in this command are the

ASCII values of the print columns (at the current

character width) at which tabs are to be set.

(1 £ n £ 255) (1 £ k £ 32)

Move print position n/120 inch (for draft)

(*1)

ESC $ (n

1

)

(n

2

)

or n/180 inch (for letter)

(*1)

right from left margin

(n = n

1

+ n

2

X 256)

Move print position n/120

(*1)

inch (for draft)

ESC \ (n

1

)

(n

2

)

or n/180

(*1)

inch (for letter) left or right from the

current position

(n = n

1

+ n

2

X 256)

Vertical tab execution

VT

Set vertical tabs

ESC B (n

1

) ... (n

k

) NUL

The values of n

1

to n

k

in this command are the

ASCII values of the lines (at the current line

spacing) at which tabs are to be set.

(1 £ n £ 255) (1 £ k £ 16)

Move to dot line (d

1

+ d

2

X 256)/360

(*2)

inch

ESC ( V (n

1

) (n

2

) (d

1

) (d

2

)

n

1

= 2, n

2

= 0

(0 £ d

1

£ 255) (0 £ d

2

£ 127)

Vertical relative move by (d

1

+ d

2

X 256)/360

(*2)

inch ESC ( v (n

1

) (n

2

) (d

1

) (d

2

)

n

1

= 2, n

2

= 0

(0 £ d

1

£ 255) (0 £ d

2

£ 127)

–32768 £ d

1

+ d

2

X 256 £ 32768

*1

The value depends on the pitch set by the ESC ( U command.

*2

The value depends on the pitch set by the ESC ( U command. The default is 1/360 inch.