This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 1 UNIX Printing UNIX Printing CNIT 34000 – Lecture 5 Approaches to UNIX Printing BSD Style Printing Originated in BSD aka LPR Printing Supported by many printer Ethernet adapters Still commonly used – more so than SysV style A newer version is widely used - LPRng SysV Style Printing Used in some true SysV implementations CUPS Common UNIX Printing System Rapidly become a standard for UNIX printing Available for most versions of UNIX BSD Printing Basic Commands Most common Printer daemon lpd Moves data from the queue to the actual printer User commands lpr – adds a job to the print queue lpq – lists jobs that are currently in the print queue lprm – removes jobs that are currently in the print queue Use lpq to list jobs Use lprm –P printer job to remove job from printer topq is used to move a job to the top of the queue Use lpq to list the jobs and their job numbers first BSD Printing – lpc Interface lpc – the print subsystem admin interface lpc is an interactive application used to manage print queues lpc commands status- Display the status of the printer...
View Full Document
- Fall '09
- printer, Computer printing, Line Printer Daemon protocol, Common UNIX Printing System