Submit files for printing
The lpr command is used to send files to a specified printer for printing. If no destination printer is specified, the default printer is used.
lpr (options) (parameters)
-E: Force encryption when connecting to the print server;
-H <server>: Specify an optional print server;
-C <title>: Specify the name of the print job;
-P <printer>: Specify the destination printer for the job;
-U <username>: Specify an optional username;
-# <copies>: Specify the number of copies to print;
-h: Disable banner printing;
-m: Send an email after the job is completed;
-r: Remove the file after printing is finished.
File: The file to be printed.
Print man1 and man2 on the printer lp:
lpr -P lp man1 man2