COHERENT manpages
This page displays the COHERENT manpage for hp [Prepare files for Hewlett-Packard LaserJet printer].
List of available manpages
Index
hp -- Command
Prepare files for Hewlett-Packard LaserJet printer
hp [ -acflr ] [ -imarg ] [ -ttop ] [ -plines ] [ file ... ]
The command hp translates nroff font specifications into the correct
escape sequences for an HP LaserJet compatible printer. It also allows the
user to set indentation, page length, landscape mode, and so on. Because
some LaserJet printers stack pages in reverse order as they are printed, hp
can put pages out in reverse order.
hp recognizes the following options:
-f Print pages in the normal order. This is the default.
-imarg Set the page indentation to marg.
-l Print pages in landscape mode.
-plines
Set the page length to lines.
-r Print pages in reverse order (for LaserJet I).
-ttop Set the top margin to top.
Example
To generate listings of all C programs in the current directory, enter the
command
pr *.c | hp | hpr -B
See Also
commands,
hpd,
printer