PRINTING. Basic Terminologies. Printer : A peripheral device usually attached to a host computer or the network. Job : The file or set of files that is submitted for printing. Spooler.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Basic Terminologies • Printer : A peripheral device usually attached to a host computer or the network. • Job :The file or set of files that is submitted for printing.
Spooler • Spooler The software that manages print jobs. It is responsible for receiving print jobs, storing jobs, queuing jobs, and finally, sending the jobs to the physical hardware that will do the actual printing. • Spoolers run as daemon processes that are always sitting and waiting to service print requests, and for this reason, they are often referred to as “print servers.”
Spoolers • LPD : This is the original BSD Line Printer Daemon. It is the oldest printing system. • LPRng : This is an enhanced, extended, and portable implementation of the Berkeley LPR spooler functionality. • CUPS : This provides a portable printing layer for UNIX-based systems. It uses the Internet Printing Protocol (IPP) as the basis for managing print jobs and queues.
LPD (Line Printer Daemon)LPR (Line Printer Remote Protocol) • Line Printer Daemon is a printer protocol using TCPIP to connect between a printer and a workstation on a network, LAN, or WAN. UNIX was the original target for LPD usage and there are many types of LPD software for UNIX printing available today.
LPRng • The LPRngprint spooler software was developed to a flexible and scalable approach.
Installing LPRng • Download from HTTP: http://www.lprng.com/DISTRIB/ • tar -xvf LPRng-3.8.9.tar % rm % LPRng-3.8.9.tar % cd LPRng-3.8.9 % • ./configure • Make • su • make install • make clean
Configuring /etc/printcap • The configuration and controls for each printer are stored in /etc/printcap. The spooling system accesses the printcap file every time a print job is issued. Each entry is used to describe one printer.
Printing Command • lpstat –d • lpr test-page.txt • lpr -P <Name of Printer> test-page.txt • lpq • lprm -2