Common PCL 5e Printer Commands (Continued)

Function

Command

Options (#)

 

 

 

Page Control Commands (Continued)

Top Margin

Text Length (bottom margin)

Left Margin

Right Margin

Horizontal Motion Index

Vertical Motion Index

Line Spacing

Perforation Skip

?&l#E

?&l#F

?&a#L

?&a#M

?&k#H

?&l#C

?&l#D

?&l#L

#= number of lines

#= number of lines from top margin

#= column number

#= column number from left margin

1/120-inch increments (compresses print horizontally)

1/48-inch increments (compresses print vertically)

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

0 = disable

1 = enable

Language Selection Programming HintsCursor Positioning

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 5e Mode

?%#A

0

= Use previous PCL 5e 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 5e cursor position

EN

Printer Commands D-7

Page 239
Image 239
HP 4050 manual Printer Commands D-7, Function Command Options # Control Commands