Loading

Page control commands

Introduction

The following table lists the supported PCL5e commands.

Page control commands for PCL5e

Function

Parameter

PCL command

Page size

For all page sizes, see Page size and paper source selection.

For example, to select "A4":

<esc> &l26A

Orientation

Portrait

<Esc>&l0O

Landscape

<Esc>&l1O

Reverse Portrait

<Esc>&l2O

Reverse Landscape

<Esc>&l3O

Print Direction

Degrees of Rotation: 0

<Esc>&a0P

Degrees of Rotation: 90

<Esc>&a90P

Degrees of Rotation: 180

<Esc>&a180P

Degrees of Rotation: 270

<Esc>&a270P

Left Margin

# of Columns

<Esc>&a#L

Right Margin

# of Columns

<Esc>&a#M

Clear Horizontal Margins

None

<Esc>9

Top Margin

# of Lines

<Esc>&l#E

Text Length

# of Lines

<Esc>&l#F

Perforation Skip

Disable

<Esc>&l0L

Enable

<Esc>&l1L

Horizontal Motion Index

# of 1/120” Increments

<Esc>&k#H

Vertical Motion Index

# of 1/48” Increments

<Esc>&l#C

Line Spacing

Lines/Inch

<Esc>&l#D