Postprocesses the troff command output for the HP LaserJet Series printers.
hplj [ -F Directory ] [ -quietly ] [ -landscape ] [ File ... ]
The hplj command processes the output of the troff command for output to Hewlett-Packard LaserJet Series printers.
If given one or more files as options, the hplj command processes those files. If no files are specified, it acts as a filter interpreting standard input. The parameter File specifies files the hplj command processes to output on an HP Laser Jet Series printer.
Incorrect output can occur if your font files assume either cartridge is mounted when it is not. Incorrect output can also occur if other cartridges or soft fonts are installed, in addition to the K cartridge or Text-Equations cartridge.
The hplj command depends on the files with names ending in .out in the /usr/lib/font/devhplj file. This command does not produce reasonable output unless these files have been properly set up. See the troff font file format document for more information.
Item | Description |
---|---|
-FDirectory | Identifies the specified directory as the place to find the font file. By default, the hplj command looks for font files in the /usr/lib/font/devhplj directory. |
-quietly | Suppresses all nonfatal error messages. |
Item | Description |
---|---|
-landscape | Prints the specified file in landscape format. A landscape
page is oriented so that for normal reading, the width of the page
is greater than its length. By default, the hplj command prints
in portrait orientation. Note: Landscape is only available in the Courier font on the Hewlett-Packard Jet II printer. Therefore, troff documents must be formatted in the Courier font. To accomplish this, insert the following lines at the beginning of the troff input file: |
troff -mm -Thplj foo | hplj | lp -dhp -o -dp
troff -mm -Thplj boo | hplj | qprt -dp -Php
Note: The -dp flag in both examples sends the printer data to the print device in pass-through (unmodified) mode.
Item | Description |
---|---|
/usr/lib/font/devhpl/*.out | Contains font files. |