System Administration Guide: Printing

How the PAPI Is Implemented in the Oracle Solaris OS

This section contains additional background information about the FSG OpenPrinting Open Standard Print Application Programming Interface (PAPI), a print service-independent interface for accessing printing support on a local host or a network.

The PAPI contains a set of printing related objects or data structures and a set of operations or functions to manipulate the objects.

The following are supported tasks:

Modified Print Commands

Table Table 12–13 describes the print commands that have been modified for use with the PAPI.

Table 12–13 Modified Print Commands

Command 

Origin 

Function 

lpr

BSD 

Submit print jobs. 

lpq

BSD 

Query print queues and print jobs. 

lprm

BSD 

Remove print jobs. 

lpc

BSD 

Control print jobs: 

accept, reject, enable, disable, clear, topq

lp

SysV 

Submit print jobs. 

lpstat

SysV 

Query print server (print queues, print jobs, other). 

cancel

SysV 

Remove print jobs. 

lpmove

SysV 

Move jobs between local print queues. 

accept

SysV 

Enable queueing of print jobs on a print queue. 

reject

SysV 

Disable queueing of print jobs on a print queue. 

enable

SysV 

Enable job processing on a print queue. 

disable

SysV 

Disable job processing on a print queue.