HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

24-4 Programming Hints EN
PCL Page Control 1
Paper Source
The primary use for the paper source command is to allow access to
“locked out” (secured) paper trays.
Page Size
This command specifies the exact size of the page (media) to be
used.
Text Area/Margins
Avoid setting the top margin or text length to values outside of the
printable area. This may cause data loss.
Top Margin and Text Length commands use the current line spacing
(the last VMI or lpi commands).
Specifying the text length establishes the bottom margin.
When using both the Top Margin and Text Length commands, send
the Top Margin command before the Text Length command.
To address the entire logical page set the top margin to 0, set
perforation skip mode OFF, and position the cursor to the desired
location.
The user default VMI is selectable from the control panel printing
menu, using the FORM menu item (refer to the printer User’s
Manual).
HMI
When a font is selected, HMI is set automatically to correspond to the
pitch of the selected font if fixed-pitch, or the recommended (default)
word space if proportional. Therefore, when using a non-standard
HMI value, the value must be re-specified following each font
selection.