System Administration Guide: Solaris Printing
Previous Next

How PAPI Is Implemented in the 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:

  • Querying the print service

  • Submitting print jobs

  • Modifying print jobs

  • Canceling print jobs

Modified Solaris Print Commands

Table Table 11-10 describes the Solaris print commands that have been modified for use with the PAPI.

Table 11-10 Modified Solaris 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.

Previous Next