The spooler routes a request to be printed on a particular printer when five conditions are met:

1.The request names the printer (or a class in which the printer is a member) as its destination.

2.The printer becomes available, that is, the printer is declared to be operational for spooling purposes and it is not already busy printing a request.

3.No higherpriority requests are queued for that printer.

4.The •priority fence" for the printer is set such that the request may be sent to the printer. Details of priority fences are given in a following section.

5.The request is the first of all requests with the same priority in the queue for that printer.

Output Destinations

In the LP spool system, the term •printer" refers to any device to which it can output, in keeping with the HPUX terminology. The actual type of output device is not restricted by the LP spool system, although HP provides support only for printer and plotter devices. In this documentation, the term printer is used to mean any output device, unless printer devices are specifically indicated.

Three general categories of printers are accessed by the LP spool system: local printers, which are actual print devices directly connected to the local system, network peripherals, which are printers connected to a LAN (not to any one system), and remote printers, which are network links to printers located on remote hosts.

Local Printers

Local printers are physical print devices directly connected to the local system, usually through a MUX, ASIC, or HPIB interface. The LP spooler prints to any supported printer or plotter in a supported configuration using the standard RTE drivers. Additionally, you can develop your own custom device handlers for other devices to which you want to spool output.

Network Peripherals

The LP spooler prints to network peripherals connected to Ethernet LANs by HP JetDirect cards. You must have the NSARPA/1000 or ARPA/1000 subsystem installed to print to these devices. Network peripherals function similarly to local devices connected to your system via a LAN.

22 LP Spool System