A Guide To Linux Printing - page 3
Files are normally submitted to the Linux printing system using the program lpr. Lpr is called by most applications when data needs to be sent to the printer. Invoking lpr by hand is a matter of calling the lpr program from the command line. Both users and applications can specify options for the print job by passing command line arguments to lpr. The most common option to set is the printer name. When you create a printer in Linux a name is normally assigned to it. Multiple printer configurations each with a different name can connect to the same physical printer. The two configurations might use different filter scripts or a different Ghostscript driver. Specifying, the printer name on the lpr command line is done with the -P option. To print the file test.ps to the printer named laser1, you would use the command "lpr -Plaser1 test.ps". Additional command line options for lpr are documented in lpr's man page. Lpr's task is to send the file to the print spooler. Network printers have the file sent by lpr to the remote print server. When printing to a printer connected to the local machine lpr will pass the file to the local print spooler.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: RHEL 6.7, BackBox Linux 4.3 and RoboLinux 8.1
- 2Linux Top 3: SLES 11 SP4, Chromixium OS 1.5 and Canonical Licensing
- 3Linux Top 3: VirtualBox 5, Point Linux 3.0 and OpenSUSE Leap 42.x
- 4Linux Top 3: Linux 4.2 rc1, 4MLinux 13 and antiX15
- 5Linux Top 3: Linux Mint Rafaela, OpenMandriva Lx 2014.2 and VectorLinux 7.1