1 LIBPAPI(3LIB) Interface Libraries LIBPAPI(3LIB) 2 3 4 5 NAME 6 libpapi - Free Standards Group Open Printing API (PAPI) library 7 functions 8 9 SYNOPSIS 10 cc [ flag... ] file... -lpapi [ library... ] 11 #include <papi.h> 12 13 14 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 24 modules 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 28 INTERFACES 29 The shared object libpapi.so.0 provides the public interfaces defined 30 below. See Intro(3) for additional information on shared object 31 interfaces. 32 33 Attribute 34 35 papiAttributeListAddBoolean papiAttributeListAddCollection 36 papiAttributeListAddDatetime papiAttributeListAddInteger 37 papiAttributeListAddMetadata papiAttributeListAddRange 38 papiAttributeListAddResolution papiAttributeListAddString 39 papiAttributeListAddValue papiAttributeListDelete 40 papiAttributeListFind papiAttributeListFree 41 papiAttributeListFromString papiAttributeListGetBoolean 42 papiAttributeListGetCollection papiAttributeListGetDatetime 43 papiAttributeListGetInteger papiAttributeListGetMetadata 44 papiAttributeListGetNext papiAttributeListGetRange 45 papiAttributeListGetResolution papiAttributeListGetString 46 papiAttributeListGetValue papiAttributeListToString 47 48 49 Service 50 51 papiServiceCreate papiServiceDestroy 52 papiServiceGetAppData papiServiceGetAttributeList 53 papiServiceGetEncryption papiServiceGetPassword 54 papiServiceGetServiceName papiServiceGetStatusMessage 55 papiServiceGetUserName papiServiceSetAppData 56 papiServiceSetAuthCB papiServiceSetEncryption 57 papiServiceSetPassword papiServiceSetUserName 58 59 60 Printer 61 62 papiPrinterAdd papiPrinterDisable 63 papiPrinterEnable papiPrinterFree 64 papiPrinterGetAttributeList papiPrinterListFree 65 papiPrinterListJobs papiPrinterModify 66 papiPrinterPause papiPrinterPurgeJobs 67 papiPrinterQuery papiPrinterRemove 68 papiPrinterResume papiPrintersList 69 70 71 Job 72 73 papiJobCancel papiJobFree 74 papiJobGetAttributeList papiJobGetId 75 papiJobGetJobTicket papiJobGetPrinterName 76 papiJobHold papiJobListFree 77 papiJobModify papiJobMove 78 papiJobPromote papiJobQuery 79 papiJobRelease papiJobRestart 80 papiJobStreamClose papiJobStreamOpen 81 papiJobStreamWrite papiJobSubmit 82 papiJobSubmitByReference papiJobValidate 83 84 85 Miscellaneous 86 87 papiLibrarySupportedCall papiLibrarySupportedCalls 88 papiStatusString 89 90 91 FILES 92 /usr/lib/libpapi.so.0 93 94 shared object 95 96 97 /usr/lib/libpapi-common.so.0 98 99 private shared code 100 101 102 /usr/lib/print/psm-lpd.so 103 104 private rfc1179 support 105 106 107 /usr/lib/print/psm-lpsched.so 108 109 private LP support 110 111 112 /usr/lib/print/psm-ipp.so 113 114 private IPP support 115 116 117 /usr/lib/libipp-core.so 118 119 private IPP marshalling support 120 121 122 /usr/lib/libipp-listener.so 123 124 private IPP operations support 125 126 127 /usr/lip/libhttp-core.so 128 129 private HTTP support 130 131 132 ATTRIBUTES 133 See attributes(5) for descriptions of the following attributes: 134 135 136 137 138 +--------------------+-----------------+ 139 | ATTRIBUTE TYPE | ATTRIBUTE VALUE | 140 +--------------------+-----------------+ 141 |Interface Stability | Volatile | 142 +--------------------+-----------------+ 143 |MT-Level | Safe | 144 +--------------------+-----------------+ 145 146 SEE ALSO 147 Intro(3), printers(4), printers.conf(4), attributes(5) 148 149 150 151 August 19, 2019 LIBPAPI(3LIB)