hp(1) — USER COMMANDS
NAME
hp − process and send files to a Hewlett-Packard LaserJet Plus printer
SYNOPSIS
hp [-num] [-nonum] [-b <linenum>] [-e <linenum>] [-asis] [-f <file>] [-d] [-P <printer>] [file ...]
DESCRIPTION
Format and print files on an HP LaserJet Plus. If a list of file names is specified, each file is sent to the LaserJet for printing. If the file name is ‘-’, the program’s standard input is inserted at that point in the listing. If no file list is specified, the program’s standard input is used.
By default, the program makes listings with line numbers.
If any of the files end with the suffix “.hp”, they are assumed to contain printer commands and are passed through without modification.
OPTIONS
All options may be specified using an unambiguous substring.
-num The file is printed in a small font, with line numbers and a header that has page, time, and file information in it.
-nonum
The file is printed in a small font, with no line numbers, and a header that has page, time, and file information in it.
-b linenum
The file is printed starting with line linenum.
-e linenum
Only the lines through linenum are printed.
-asis The files to be printed are assumed to contain PCL commands and are passed through unmodified to the printer.
-f file hp output is routed to the specified file rather than the print spooler.
-d hp output is routed to standard output rather than the print spooler.
-P printer
lpr printer name to use. Default is “hp”.
EXAMPLES
To make a listing of the files “file1” and “file2”
% hp file1 file2
SEE ALSO
BUGS
If a filename ends with “.hp”, it is always processed in “asis” mode. There is no way to override this.
Sun Release 3.2 — Last change: 27 February 1987