HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 48
Removing a Printer
View all HP Visualize J210XC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 48 highlights
Printers Restarting the lpsched Daemon After you have defined the appropriate parallel and/or serial printers, the lpsched daemon must be restarted. To restart the lpsched daemon: 1. Run chkconfig to check the state of the lp spooler and set the state to on: # /sbin/chkconfig lp on 2. Start the lp spooler: # /etc/init.d/lp start Adding a Network Print Server Network printers allow for multiple users to share a single printer. This eliminates the need for a printer on every system and allows administration to consolidate resources. In such a networked environment, printers are attached to remote systems called print servers. Any client using the remote printer becomes a print client. Printer servers must be configured before they can accept remote print requests. To configure a print server, the system manager must successfully execute the following instructions: 1. Login as root to the print server system. 2. Grant permission to the print client, hostname, to access print servers across the network: # /usr/sbin/addclient hostname NOTE: The addclient command allows anyone who has access to the lp account on the print client to access the lp account on the print server. Therefore, any print client can modify the lp system. 3. Verify that both the print server and the print client can communicate over the network. 4. Log onto the print client as superuser. 5. On the print client, add the print server to the lp spooler using the script mknetpr: # /usr/sbin/mknetpr mknetpr should then prompt you for the name of the queue, the hostname and the printer name. 6. To make this print server the default printer, using the printer_name from the previous step, type: # /usr/lib/lpadmin -dprinter_name Removing a Printer Occasionally it may be necessary to remove one or more printers from the lp system. To use the rmprinter utility to remove the specified printer: 1. Become superuser with the su command, or login as root. 2. Remove the printer, printer_name, using the command: # /usr/sbin/rmprinter printer_name The printer, printer_name, should now be removed from the lp system. 43