4.4BSD/usr/share/man/cat1/lpr.0

Compare this file to the similar file:
Show the results in this format:

LPR(1)                       BSD Reference Manual                       LPR(1)

NNAAMMEE
     llpprr - off line print

SSYYNNOOPPSSIISS
     llpprr [--PP_p_r_i_n_t_e_r] [--##_n_u_m] [--CC _c_l_a_s_s] [--JJ _j_o_b] [--TT _t_i_t_l_e] [--UU _u_s_e_r] [--ii
         [_n_u_m_c_o_l_s]] [--11223344 _f_o_n_t] [--ww_n_u_m] [--ccddffgghhllnnmmpprrssttvv] [_n_a_m_e _._._.]

DDEESSCCRRIIPPTTIIOONN
     LLpprr uses a spooling daemon to print the named files when facilities be-
     come available.  If no names appear, the standard input is assumed.

     The following single letter options are used to notify the line printer
     spooler that the files are not standard text files. The spooling daemon
     will use the appropriate filters to print the data accordingly.

     --cc      The files are assumed to contain data produced by cifplot(1)

     --dd      The files are assumed to contain data from _t_e_x (DVI format from
             Stanford).

     --ff      Use a filter which interprets the first character of each line as
             a standard FORTRAN carriage control character.

     --gg      The files are assumed to contain standard plot data as produced
             by the plot routines (see also plot for the filters used by the
             printer spooler).

     --ll      Use a filter which allows control characters to be printed and
             suppresses page breaks.

     --nn      The files are assumed to contain data from _d_i_t_r_o_f_f (device inde-
             pendent troff).

     --pp      Use pr(1) to format the files (equivalent to print).

     --tt      The files are assumed to contain data from troff(1) (cat photo-
             typesetter commands).

     --vv      The files are assumed to contain a raster image for devices like
             the Benson Varian.

     These options apply to the handling of the print job:

     --PP      Force output to a specific printer.  Normally, the default print-
             er is used (site dependent), or the value of the environment
             variable PRINTER is used.

     --hh      Suppress the printing of the burst page.

     --mm      Send mail upon completion.

     --rr      Remove the file upon completion of spooling or upon completion of
             printing (with the --ss option).

     --ss      Use symbolic links.  Usually files are copied to the spool direc-
             tory.  The --ss option will use symlink(2) to link data files
             rather than trying to copy them so large files can be printed.
             This means the files should not be modified or removed until they
             have been printed.

     The remaining options apply to copies, the page display, and headers:

     --##_n_u_m   The quantity _n_u_m is the number of copies desired of each file
             named.  For example,

                   lpr -#3 foo.c bar.c more.c
             would result in 3 copies of the file foo.c, followed by 3 copies
             of the file bar.c, etc.  On the other hand,

                   cat foo.c bar.c more.c | lpr -#3

             will give three copies of the concatenation of the files. Often a
             site will disable this feature to encourage use of a photocopier
             instead.

     --[11223344]_f_o_n_t
             Specifies a _f_o_n_t to be mounted on font position _i. The daemon
             will construct a .railmag file referencing the font pathname.

     --CC _c_l_a_s_s
             Job classification to use on the burst page.  For example,

                   lpr -C EECS foo.c

             causes the system name (the name returned by hostname(1))  to be
             replaced on the burst page by EECS, and the file foo.c to be
             printed.

     --JJ _j_o_b  Job name to print on the burst page.  Normally, the first file's
             name is used.

     --TT _t_i_t_l_e
             Title name for pr(1),  instead of the file name.

     --UU _u_s_e_r
             User name to print on the burst page, also for accounting purpos-
             es.  This option is only honored if the real user-id is daemon
             (or that specified in the printcap file instead of daemon), and
             is intended for those instances where print filters wish to re-
             queue jobs.

     --ii [numcols]
             The output is indented. If the next argument is numeric
             (_n_u_m_c_o_l_s), it is used as the number of blanks to be printed be-
             fore each line; otherwise, 8 characters are printed.

     --ww_n_u_m   Uses _n_u_m as the page width for pr(1).

EENNVVIIRROONNMMEENNTT
     If the following environment variable exists, it is used by llpprr:

     PRINTER  Specifies an alternate default printer.

FFIILLEESS
     /etc/passwd              Personal identification.
     /etc/printcap            Printer capabilities data base.
     /usr/sbin/lpd*           Line printer daemons.
     /var/spool/output/*      Directories used for spooling.
     /var/spool/output/*/cf*  Daemon control files.
     /var/spool/output/*/df*  Data files specified in "cf" files.
     /var/spool/output/*/tf*  Temporary copies of "cf" files.

SSEEEE AALLSSOO
     lpq(1),  lprm(1),  pr(1),  symlink(2),  printcap(5),  lpc(8),  lpd(8)

HHIISSTTOORRYY
     The llpprr command appeared in 3BSD.

DDIIAAGGNNOOSSTTIICCSS
     If you try to spool too large a file, it will be truncated.  LLpprr will ob-
     ject to printing binary files.  If a user other than root prints a file
     and spooling is disabled, llpprr will print a message saying so and will not
     put jobs in the queue.  If a connection to lpd(1) on the local machine
     cannot be made, llpprr will say that the daemon cannot be started.  Diagnos-
     tics may be printed in the daemon's log file regarding missing spool
     files by lpd(1).

BBUUGGSS
     Fonts for troff(1) and tex reside on the host with the printer. It is
     currently not possible to use local font libraries.

4th Berkeley Distribution        June 6, 1993                                3