Latest web development tutorials

Linux lpr command

Linux lpr command

Linux command Daquan Linux command Daquan

lpr (line printer, the printing press line) utility is used to print one or more files in the queue waiting to be printed.

lpr funding can be used to feed local or distal to the host for processing.

grammar

lpr [ -P printer ]

Parameters:

  • -p Printer: the data sent to the designated printer Printer, default is lp.

Examples

The following command line will be printed on a printer named mailroom of the report files:

$ lpr -P mailroom report 

Use a print command to print multiple files, print documents on the following three command-line printer named laser1 of:

$ lpr -P laser1 05.txt 108.txt 12.txt 

Linux command Daquan Linux command Daquan