LIBPAPI(3LIB) Interface Libraries LIBPAPI(3LIB)

libpapi - Free Standards Group Open Printing API (PAPI) library functions

cc [ flag... ] file... -lpapi [ library... ]
#include <papi.h>

Functions in this library provide an interface for interaction with print services as described in v1.0 of the Free Standards Group (FSG) Open Printing API (PAPI).

This particular implementation of the PAPI includes naming support as described in the printers.conf(5) and printers(5) manual pages. It also supplies support for interaction with local LP services, remote LPD services, and remote IPP services through the use of loadable modules that export the same interface. These modules should not be linked with directly, but can be used directly at runtime through the use of LD_PRELOAD for debugging purposes.

The shared object libpapi.so.0 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

papiAttributeListAddBoolean papiAttributeListAddCollection
papiAttributeListAddDatetime papiAttributeListAddInteger
papiAttributeListAddMetadata papiAttributeListAddRange
papiAttributeListAddResolution papiAttributeListAddString
papiAttributeListAddValue papiAttributeListDelete
papiAttributeListFind papiAttributeListFree
papiAttributeListFromString papiAttributeListGetBoolean
papiAttributeListGetCollection papiAttributeListGetDatetime
papiAttributeListGetInteger papiAttributeListGetMetadata
papiAttributeListGetNext papiAttributeListGetRange
papiAttributeListGetResolution papiAttributeListGetString
papiAttributeListGetValue papiAttributeListToString

papiServiceCreate papiServiceDestroy
papiServiceGetAppData papiServiceGetAttributeList
papiServiceGetEncryption papiServiceGetPassword
papiServiceGetServiceName papiServiceGetStatusMessage
papiServiceGetUserName papiServiceSetAppData
papiServiceSetAuthCB papiServiceSetEncryption
papiServiceSetPassword papiServiceSetUserName

papiPrinterAdd papiPrinterDisable
papiPrinterEnable papiPrinterFree
papiPrinterGetAttributeList papiPrinterListFree
papiPrinterListJobs papiPrinterModify
papiPrinterPause papiPrinterPurgeJobs
papiPrinterQuery papiPrinterRemove
papiPrinterResume papiPrintersList

papiJobCancel papiJobFree
papiJobGetAttributeList papiJobGetId
papiJobGetJobTicket papiJobGetPrinterName
papiJobHold papiJobListFree
papiJobModify papiJobMove
papiJobPromote papiJobQuery
papiJobRelease papiJobRestart
papiJobStreamClose papiJobStreamOpen
papiJobStreamWrite papiJobSubmit
papiJobSubmitByReference papiJobValidate

papiLibrarySupportedCall papiLibrarySupportedCalls
papiStatusString

/usr/lib/libpapi.so.0

shared object

/usr/lib/libpapi-common.so.0

private shared code

/usr/lib/print/psm-lpd.so

private rfc1179 support

/usr/lib/print/psm-lpsched.so

private LP support

/usr/lib/print/psm-ipp.so

private IPP support

/usr/lib/libipp-core.so

private IPP marshalling support

/usr/lib/libipp-listener.so

private IPP operations support

/usr/lip/libhttp-core.so

private HTTP support

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Volatile
MT-Level Safe

Intro(3), printers(5), printers.conf(5), attributes(7)

August 19, 2019 OmniOS