Linux lpr Command
lpr (line printer remote) is a command used to print files on Linux and Unix systems.
lpr sends files to the print queue, using the system-configured default printer or a specified printer.
lpr can be used to send data to a local or remote host for processing.
Syntax
lpr [选项] [文件...]
Common options:
-P <打印机名>: Specify the printer to use. If not specified, the system default printer is used.-# <份数>: Specify the number of copies.-o <选项>: Specify printing options, such as duplex printing, page range, etc.-h: Do not print a banner page.-C: Specify the job class.-J: Specify the job name.-T
Linux Command Reference