Common PCL Printer Commands (Continued)

Page Control Commands (Continued)

Language Selection Programming HintsCursor Positioning

Function

Command

Options (#)

Top Margin

?&l#E

# = number of lines

Text Length (bottom margin)

?&l#F

# = number of lines from top margin

Left Margin

?&a#L

# = column number

Right Margin

?&a#M

# = column number from left margin

Horizontal Motion Index

?&k#H

1/120-inch increments (compresses print horizontally)

Vertical Motion Index

?&l#C

1/48-inch increments (compresses print vertically)

Line Spacing

?&l#D

# = lines per inch (1, 2, 3, 4, 5, 6, 12, 16, 24, 48)

Perforation Skip

?&l#L

0

= disable

 

 

1

= enable

Vertical Position (Rows)

?&a#R

# = row number

Vertical Position (Dots)

?*p#Y

# = dot number (300 dots = 1 inch)

Vertical Position (Decipoints)

?&a#V

# = decipoint number (720 decipoints = 1 inch)

Horizontal Position (Columns)

?&a#C

# = column number

Horizontal Position (Dots)

?*p#X

# = dot number (300 dots = 1 inch)

Horizontal Position (Decipoints)

?&a#H

# = decipoint number (720 decipoints = 1 inch)

End of Line Wrap

?&s#C

0

= Enable

 

 

1

= Disable

Display Functions On

?Y

n/a

Display Functions Off

?Z

n/a

Enter PCL Mode

?%#A

0

= Use previous PCL cursor position

 

 

1

= Use current HP-GL/2 pen position

Enter HP-GL/2 Mode

?%#B

0

= Use previous HP-GL/2 pen position

 

 

1

= Use current PCL cursor position

D-6 Printer Commands

EN

Page 171
Image 171
HP 4000N ?&l#E, ?&l#F, ?&a#L, ?&a#M, ?&k#H, ?&l#C, ?&l#D, ?&l#L, ?&a#R, ?*p#Y, ?&a#V, ?&a#C, ?*p#X, ?&a#H, ?&s#C, ?%#A