|
|
|
|
Home
Search |
Linux Printing OptionsCUPS, the Common Unix Printing System, is considered by many to be the next generation in printing under Unix, replacing the Line Printer Daemon (LPD) designed in the 70's.It is possible to set your printing options graphically as in Windows or through the command line. The command lp sends a file to a printer.The CUPS version of lp understands a variety of formats including, text, PostScript, and PDF. Many GUI programs, such as Mozilla and Acrobat, will print by passing arguments through LPR. Setting Print Options on the Command LineSome of the feature command sets for CUPS are listed below and are also available from 'man printoptions':
lpstat CommandThe lpstat command displays information about the current status of the line printer.If no flags are given, lpstat prints the status of all requests made by the lp command.If you specify a flag with no parameters, all information pertaining to that flag is printed. Flags
To print to a printer other than the default printer,the following command can be used: lp -d destination mydocumentThe lp command submits files for printing or alters a pending job. Another command that can be used to print files in linux is the lpr command. lpr -P <name of printer> mydocumentFor more on lp and lpr, please refer to the man pages. |