lpr
submits print jobs
TLDR
Print file
$ lpr [file]
Print to specific printer$ lpr -P [printer] [file]
Print multiple copies$ lpr -# [3] [file]
Print from stdin$ cat [file] | lpr
Remove file after printing$ lpr -r [file]
Title for job$ lpr -T "[title]" [file]
SYNOPSIS
lpr [options] [files]
DESCRIPTION
lpr submits print jobs. It's the BSD-style print command used with CUPS.
The tool queues files for printing. Options control destination, copies, and formatting.
PARAMETERS
FILES
Files to print.-P PRINTER
Destination printer.-# COPIES
Number of copies.-r
Remove file after printing.-T TITLE
Job title.-o OPTION
Printer option.--help
Display help information.
CAVEATS
Requires CUPS. Use lp for System V style. Options are printer-specific.
HISTORY
lpr originated in BSD Unix as the line printer spooler, now implemented by CUPS.
