1libpapi(3LIB)                 Interface Libraries                libpapi(3LIB)
2
3
4

NAME

6       libpapi  -  Free Standards Group Open Printing API (PAPI) library func‐
7       tions
8

SYNOPSIS

10       cc [ flag... ] file... -lpapi [ library... ]
11       #include <papi.h>
12
13

DESCRIPTION

15       Functions in this library provide an  interface  for  interaction  with
16       print  services  as described in v1.0 of the Free Standards Group (FSG)
17       Open Printing API (PAPI).
18
19
20       This particular implementation of the PAPI includes naming  support  as
21       described  in  the  printers.conf(4)  and printers(4) manual pages.  It
22       also supplies support for interaction with local  LP  services,  remote
23       LPD  services, and remote IPP services through the use of loadable mod‐
24       ules that export the same  interface.   These  modules  should  not  be
25       linked  with  directly, but can be used directly at runtime through the
26       use of LD_PRELOAD for debugging purposes.
27

INTERFACES

29       The shared object libpapi.so.0 provides the public  interfaces  defined
30       below.  See Intro(3) for additional information on shared object inter‐
31       faces.
32
33   Attribute
34       papiAttributeListAddBoolean      papiAttributeListAddCollection
35       papiAttributeListAddDatetime     papiAttributeListAddInteger
36       papiAttributeListAddMetadata     papiAttributeListAddRange
37       papiAttributeListAddResolution   papiAttributeListAddString
38       papiAttributeListAddValue        papiAttributeListDelete
39       papiAttributeListFind            papiAttributeListFree
40       papiAttributeListFromString      papiAttributeListGetBoolean
41       papiAttributeListGetCollection   papiAttributeListGetDatetime
42       papiAttributeListGetInteger      papiAttributeListGetMetadata
43       papiAttributeListGetNext         papiAttributeListGetRange
44       papiAttributeListGetResolution   papiAttributeListGetString
45       papiAttributeListGetValue        papiAttributeListToString
46
47
48   Service
49       papiServiceCreate             papiServiceDestroy
50       papiServiceGetAppData         papiServiceGetAttributeList
51       papiServiceGetEncryption      papiServiceGetPassword
52       papiServiceGetServiceName     papiServiceGetStatusMessage
53       papiServiceGetUserName        papiServiceSetAppData
54       papiServiceSetAuthCB          papiServiceSetEncryption
55       papiServiceSetPassword        papiServiceSetUserName
56
57
58   Printer
59       papiPrinterAdd                papiPrinterDisable
60       papiPrinterEnable             papiPrinterFree
61       papiPrinterGetAttributeList   papiPrinterListFree
62       papiPrinterListJobs           papiPrinterModify
63       papiPrinterPause              papiPrinterPurgeJobs
64       papiPrinterQuery              papiPrinterRemove
65       papiPrinterResume             papiPrintersList
66
67
68   Job
69       papiJobCancel                 papiJobFree
70       papiJobGetAttributeList       papiJobGetId
71       papiJobGetJobTicket           papiJobGetPrinterName
72       papiJobHold                   papiJobListFree
73       papiJobModify                 papiJobMove
74       papiJobPromote                papiJobQuery
75       papiJobRelease                papiJobRestart
76       papiJobStreamClose            papiJobStreamOpen
77       papiJobStreamWrite            papiJobSubmit
78       papiJobSubmitByReference      papiJobValidate
79
80
81   Miscellaneous
82       papiLibrarySupportedCall      papiLibrarySupportedCalls
83       papiStatusString
84
85

FILES

87       /usr/lib/libpapi.so.0
88
89           shared object
90
91
92       /usr/lib/libpapi-common.so.0
93
94           private shared code
95
96
97       /usr/lib/print/psm-lpd.so
98
99           private rfc1179 support
100
101
102       /usr/lib/print/psm-lpsched.so
103
104           private LP support
105
106
107       /usr/lib/print/psm-ipp.so
108
109           private IPP support
110
111
112       /usr/lib/libipp-core.so
113
114           private IPP marshalling support
115
116
117       /usr/lib/libipp-listener.so
118
119           private IPP operations support
120
121
122       /usr/lip/libhttp-core.so
123
124           private HTTP support
125
126

ATTRIBUTES

128       See attributes(5) for descriptions of the following attributes:
129
130
131
132
133       ┌─────────────────────────────┬─────────────────────────────┐
134       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
135       ├─────────────────────────────┼─────────────────────────────┤
136       │Availability                 │SUNWpapi                     │
137       ├─────────────────────────────┼─────────────────────────────┤
138       │Interface Stability          │Volatile                     │
139       ├─────────────────────────────┼─────────────────────────────┤
140       │MT-Level                     │Safe                         │
141       └─────────────────────────────┴─────────────────────────────┘
142

SEE ALSO

144       Intro(3), printers(4), printers.conf(4), attributes(5)
145
146
147
148SunOS 5.11                        18 Dec 2006                    libpapi(3LIB)
Impressum