Introduction1-1 Printing  Some printer jargon m Spooler A piece of software m Dpi Dots per inch m PDL Page description languages m Bitmap Common bitmap.

Slides:



Advertisements
Similar presentations
Chapter One The Essence of UNIX.
Advertisements

Chapter 11 Chapter 11: Installing and Managing Printers.
Chapter 10 Chapter 10: Printer Management. Chapter 10 Learning Objectives n Describe the printing process used by Windows NT n Install a local printer.
Chapter 11 UNIX Printing. have to be root to setup a printer local printer is directly connected remote printer is a network printer print queue is nothing.
By Rashid Khan Lesson 7-Preparing for Output: Printer Configuration and Management.
9.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 9: Installing and Configuring.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 12: Network Printing and Offline Files.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Lesson 5: Configuring Print and Document Services
Guide to Linux Installation and Administration, 2e1 Chapter 12 Printing in Linux.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Linux+ Guide to Linux Certification, Second Edition
Linux Networking CIS Why Linux/Unix? Configurability ▫Customizable System to satisfy unique needs. Scalability ▫Able to serve an increasing number.
1 COP 4343 Unix System Administration Unit 9: printing – lpr – CUPS.
A+ Guide to Software, 4e Chapter 11 Supporting Printers and Scanners.
Figure 14-1 The main Printer configuration window.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
Configuring Print Services Lesson 7. Skills Matrix Technology SkillObjective DomainObjective # Deploying a Print ServerConfigure and monitor print services.
Printing Terminology. Requirements for Network Printing At least one computer to operate as the print server Sufficient RAM to process documents Sufficient.
Managing Printers Chapter 14. Chapter Objectives Understand printing terminology and concepts. Understand print server requirements and configuration.
Lecture 8 Configuring a Printer-using Magic Filter Introduction to IP Addressing.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
1 Module 17 Printing from Windows NT. 2  Overview Windows NT Printing Process Printing from MS-DOS-based Applications Windows NT Printing Components.
Guide to MCSE , Second Edition, Enhanced1 Objectives Understand Windows XP print terminology and architecture Work with the Windows XP print subsystem.
Windows Server 2008 Chapter 6 Last Update
Chapter 13: Sharing Printers on Windows Server 2008 R2 Networks BAI617.
1 Objectives Discuss the Windows Printer Model and how it is implemented in Windows Server 2008 Install the Print Services components of Windows Server.
Linux Operations and Administration
Chapter 12: Configuring Networks The Complete Guide to Linux System Administration.
Managing Local and Network Printer Chapter 11 powered by dj.
IT2204: Systems Administration I 9. Printing. Printing  Printing and print services –Printing policies and architecture –Printing terms –Types of printers.
Sharing Resources Lesson 6. Objectives Manage NTFS and share permissions Determine effective permissions Configure Windows printing.
Module 14: Configuring Print Resources and Printing Pools.
Chapter 6 Configuring Windows Server 2008 Printing
Lesson 11-Locating, Printing, and Archiving User Files.
IOS110 Introduction to Operating Systems using Windows Session 9 1.
1 Managing Printers (Week 12, Monday 3/26/2007) © Abdou Illia, Spring 2007.
Microsoft Windows 7 - Illustrated Unit P Managing Hardware.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
Linux+ Guide to Linux Certification, Third Edition
1 Chapter Overview Creating Drive and Folder Shares Using Distributed File System Installing Network Printers Administering Network Printers Managing Share.
CIS Lesson 10 Printers. CIS Lesson 10.
Linux Printing Chapter 14. Linux Printing Configuring a local printer Configuring a remote printer Traditional UNIX printing CUPS web Interface CUPS on.
Module 5: Implementing Printing. Overview Introduction to Printing in the Windows Server 2003 Family Installing and Sharing Printers Managing Access to.
124 Printer Management Version A.01 H3064S Module 16 Slides.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Linux Operations and Administration
Linux Operations and Administration
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Configuring Print Services Lesson 7. Print Sharing Print device sharing is another one of the most basic applications for which local area networks were.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Hands-On Microsoft Windows Server 2008 Chapter 6 Configuring Windows Server 2008 Printing.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
Setting up a Printer. ♦ Overview Linux servers can be used in many different roles on a LAN. File and print servers are the most common roles played by.
Chapter 12: Configuring Networks
Configuring Disk Quotas
Lesson 5: Configuring Print and Document Services
CCNA Routing and Switching Routing and Switching Essentials v6.0
Chapter 10: Device Discovery, Management, and Maintenance
CCNA Routing and Switching Routing and Switching Essentials v6.0
Printer Admin Print Job Manager
Chapter 10: Device Discovery, Management, and Maintenance
CUPS Print Services.
Chapter 11 Supporting Printers and Scanners
Chapter 11: Installing and Managing Printers
Chapter 11: Printers IT Essentials v6.0 Chapter 11: Printers
Presentation transcript:

Introduction1-1 Printing  Some printer jargon m Spooler A piece of software m Dpi Dots per inch m PDL Page description languages m Bitmap Common bitmap formats include JPEG, PNG, TIFF and GIF

Introduction1-2 Printing  Some printer jargon (cont) m RIP Raster Image Processor Converts PDL documents to a bitmap m Filters Programs that modify jobs en route from the spooler to the printer m Postscript The most common PDL found on Unix m PCL Exclusively on Hp printers and quite common in PC world

Introduction1-3 Types of printers  By connection interface m Serial port m parallel port m Universal Serial Bus (USB) m Network Full-fledged network interfaces Computer can spool directly to the network printer –Many network laser printers include a lpd server that runs inside the printer. To simplify administration –Set up a few host to control the printers –Other machine simply transmit jobs to these print server machines

Introduction1-4 BSD Printing  Redhat and FreeBSD use BSD printing system.  Daemon lpd m Accepts print jobs from users or other (remote) lpds m Processes the jobs m Sends jobs to an actual printer m reads /etc/printcap and is started at boot time  Program lpr allow users to submit print jobs to lpd. m Lpr and lpd communicate through the unix socket /dev/printer m Which printer to use Option -Pprinter Env $PRINTER Default printer lp, or the first one in /etc/printcap

Introduction1-5 BSD Printing m Spool Lpr create two files under the printer’s spool dir /var/spool/lpd/printername control file started with cf data file started with df m Lpr notifies lpd of the job’s existence m Lpd then check printcap to determine if the destination is local or remote If remote, lpd opens a connection to the remote machines’ lpd, transfer the cf and df file,and delete the local copy If local, lpd creates a series of UNIX pipes between the spool file and hardware to transport the data – filter processes

Introduction1-6 BSD printing commands CommandLocationFunction lpq/usr/binShows print queue contents and status lpr/usr/binQueues jobs for printing lprm/usr/binCancels a queued or printing job lpc/usr/sbinControls a printer or queue lpd/usr/sbinSchedules and prints jobs printtool/usr/binConfigures the printing system

Introduction1-7 BSD Printing  lpc : make administrative changes m Enable or disable queuing for a particular printer enable/disable printer m Enable or disable printing on a particular printer start/stop printer m Remove all jobs from a printer’s queue clean printer m Move a job to the top of a printer’s queue topq printer jobid topq printer username m Start, stop or restart the lpd daemon restart printer m Get printer status information status printer

Introduction1-8 BSD Printing  /etc/printcap file m BSD printing system’s master database m A printer must be described in the printcap file before jobs can be submitted it. m Printcap format Name:xx=string:xx#number:xx=string… …

Introduction1-9 m Printcap variables NameTypeMeaningExample sdstringSpool directory sd=/var/spool/lpd/howler-lw lfstringError log file lf=/var/log/lpr lpstringDevice name lp=/dev/lp0 afstringAccounting file af=/usr/adm/lpr.acct rmstring Remote machine name rm=beast.xor.com rpstringRemote printer name rp=howler-lw ofstringOutput filter of=/usr/libexec/lpr/lpf ifstringInput filter if=/usr/sbin/stylascii mxnumberMaximum file size mx#0

Introduction1-10 System V printing  Used by HP-UX, SCO Unic, Solaris etc.  System V spooling subsystem’s major components: m Spooling daemon: lpsched responsible for carrying out print requests by sending data to the appropriate printer. m User commands Initiate print requests: lp Cancel a pending request: cancel List queue contents: lpstat m Administrative commands Accept, reject, enable, disable, lpadmin, lpmove, lpusers

Introduction1-11 m Spooling directories under /var/spool/lp/request named for each printer By default the actual file to print is not copied. The changing or deleting a file before it is printed affects the final output. Use –c option to lp to copy the file to the spool area  Device classes m Group similar devices and declare them to be equivalent to and substitutable for one another.  Setting the system default destination m Use the –d option to the lpadmin command #lpadmin –dprinter2 #lpstat –d m User may set the env LPDEST System V printing

Introduction1-12 System V printing  Obtaining Destination Status Information m Lpstat command Accept job or not: -alist Display the members: -clist List print requests: -olist Display the current status: -plist Display users’ jobs: -ulist Display the special files: -vlist Display summary: -s Display all status info: -t

Introduction1-13 System V printing  Controlling print queues m Use accept and reject commands to permit and inhibit spooling to a print queue. m Example: # reject –r “ There is no paper in the entire building …” laserprinter #accept laserprinter  Controlling the status of a particular printing device m Use enable and disable commands followed by a device m Example: #disable –r “ changing toner cartridge; back by 11” laserpritner #enable laserprinter

Introduction1-14 System V printing  Starting and stopping the print service m Started automatically at system boottime Such as /etc/rc2.d/S80lp m Check if the scheduler is running #lpstat –r m Stop and start printing service manually #lpshut #/etc/rc2.d/S80lp start  Managing printers and destination classes m Use lpadmin command to define and modify characteristics of printer devices and classes Stop lpsched first

Introduction1-15 System V printing Adding a printer #lpadmin –p printer –v special-files interface-option Where interface_option can be »-e printer »-m model »-i interface-path Example: #lpadmin –pPS4 –v /dev/tty02 –ePS3 Modifying and deleting printers –Option –x removes a printer –Option –P changes a printer if it is existed. Managing Device class –Use –c option to place a printer into a class »#lpadmin –pPS2 -claser

Introduction1-16 System V printing  Adding a New printer m Physically connect the printer m Change the ownership of the special file to the user lp and change its mode to 600 m Check startup file (s file and K file) Make links if they do not exist m Shutdown printing service with lpshut if running, and then use lpadmin to add the printer m Start the printer and its queue #accept PS3 #enable PS3 m Test the new printer by spooling a small file.

Introduction1-17 Network Printing  Sharing printers among systems within a local area network m Print server: allow users on other hosts send jobs to one or more of its printers m Clients: send the jobs to remote hosts.  Between BSD System m Outgoing Set up printcap entry to specify –the destination host (rm) –The target printer (rp) m Incoming Allow a remote system to print –/etc/hosts.lpd or /etc/hosts.equiv

Introduction1-18 Network printing  Remote printing under Solaris m Outgoing Register the remote system name using lpsystem Set up a queue using lpadmin m Incoming Handled by the Service Access Facility –Configure the local listen port monitor using pmadm

Introduction1-19 Practice  Let’s configure the printer on Solaris m Connect the printer to the network m Set the printer IP address/netmask m Define the printer on your Solaris box Use lpadmin sun as #lpadmin –p printername –s systemname Or use /usr/sadm/admin/bin/printmgr m Enable the printer m Print a test page

Introduction1-20 Exercise  Configure the printer on Linux with CUPS m CUPS: common Unix printing system Dynamic printer detection –Broadcasts the printer available Grouping printers Integrating with Windows m Configure it via localhost:631 m Disable the queue m Disable the printer m Cancel a job m Check the print queue