Printers and PlottersPrinters and Plotters is divided into two subareas: HP Distributed Print Service and LP Spooler. HP Distributed Print Service (HPDPS) is part of the Distributed Computing Environment (DCE). It is not covered in this book. LP Spooler is covered in this section; Figure 10-37 shows the hierarchy of Printers and Plotters : Figure 10-37. Printers and Plotters Menu Structure
Print RequestsUnder Print Requests, you can manage the print spooler and specific print jobs. You can start or stop the print spooler and cancel print jobs. The following information on print requests is listed for you:
The Actions menu allows you to act on print jobs by cancelling them. In addition, the print spooler can be stopped and started. You can configure both local and remote printers in Printers and Plotters . When you select Add Local Printer/Plotter from the Actions menu and then the appropriate type of printer, a window is opened for you in which you can supply the specifics about the printer. Before this window is opened, however, you must specify whether the type of printer to be added is: parallel serial; HP-IB; non-standard device file; or a printer connected to a TSM terminal, as well as to which I/O card to add the printer. One huge advantage to adding the printer using SAM is that this process is entirely menu-driven , so you only have to select from among the information that is supplied. The window appears to ask you for the following information:
You could use SAM to view printers or you could use the lpstat command showing printers configured on a system as shown in the following example: $ /usr/bin/lpstat -t scheduler is running system default destination: ljet5 members of class laser: ljet5 device for ljet5: /dev/c1t0d0_lp ljet5 accepting requests since Nov 21 22:45 printer ljet5 is idle. enabled since Nov 21 22:45 fence priority : 0 no entries As with all the other tasks that SAM helps you with, you can manage printers and plotters manually or you can use SAM. Not only does SAM make this easier for you, but I have also had nothing but good results having SAM do this for me. As you go through the SAM Log file, you will see a variety of lp commands that were issued. Some of the more common commands, including the lpstat command issued earlier, are listed in Table 10-1: Table 10-1. lp Commands
Save/Restore Spooler ConfigurationOccasionally, the spooler can get into an inconsistent state (usually something else has to go wrong with your system that ends up somehow changing or renaming some of the spooler configuration files). SAM keeps a saved version of the spooler's configuration each time it is used to make a change (only the most recent one is saved). This saved configuration can be restored by SAM to recover from the spooler having gotten into an inconsistent state. Your latest configuration is automatically saved by SAM, provided that you used SAM to create the configuration, as opposed to issuing lp commands at the command line, and it can be restored with Restore Spooler Configuration from Save/Restore Spooler Config . This screen allows you to save your current spooler configuration or restore a previously saved spooler configuration information. |