-
- All Implemented Interfaces:
public final class CupsClient
-
-
Constructor Summary
Constructors Constructor Description CupsClient(URI cupsUri)CupsClient(URI cupsUri, IppClient ippClient)
-
Method Summary
-
-
Method Detail
-
getUserName
final String getUserName()
-
setUserName
final Unit setUserName(String userName)
-
getCupsDirectory
final File getCupsDirectory()
-
setCupsDirectory
final Unit setCupsDirectory(File cupsDirectory)
-
getVersion
final String getVersion()
-
getHttpServer
final String getHttpServer()
-
setHttpServer
final Unit setHttpServer(String httpServer)
-
getCupsUri
final URI getCupsUri()
-
getIppClient
final IppClient getIppClient()
-
getPrinters
final List<IppPrinter> getPrinters()
-
getPrinterNames
final List<String> getPrinterNames()
-
printerExists
final Boolean printerExists(String printerName)
-
getPrinter
final IppPrinter getPrinter(String printerName)
-
getDefault
final IppPrinter getDefault()
-
setDefault
final IppResponse setDefault(String printerName)
-
addModifyPrinter
final IppResponse addModifyPrinter(String printerName, URI deviceUri, String printerInfo, String printerLocation, String ppdName, InputStream ppdInputStream)
-
addPrinterWithPPD
final IppPrinter addPrinterWithPPD(String printerName, URI deviceUri, String printerInfo, String printerLocation, File ppdFile)
-
deletePrinter
final IppResponse deletePrinter(String printerName)
-
createLocalPrinter
final IppPrinter createLocalPrinter(String printerName, URI deviceUri, String printerInfo, String printerLocation, String ppdName)
-
getJobs
final Collection<IppJob> getJobs(WhichJobs whichJobs, Integer limit, List<String> requestedAttributes)
-
getSubscriptions
final List<IppSubscription> getSubscriptions()
-
getSubscription
final IppSubscription getSubscription(Integer id)
-
getOwnersOfAllSubscriptions
final Set<IppString> getOwnersOfAllSubscriptions()
-
createSubscription
final IppSubscription createSubscription(List<String> notifyEvents, Duration notifyLeaseDuration, Duration notifyTimeInterval)
-
createSubscription
final IppSubscription createSubscription(String notifyEvents, Duration notifyLeaseDuration, Duration notifyTimeInterval)
-
createIppEverywherePrinter
final IppPrinter createIppEverywherePrinter(String printerName, URI deviceUri, String printerInfo, String printerLocation, Boolean savePPD)
-
getOwnersOfAllJobs
final SortedSet<String> getOwnersOfAllJobs()
-
getJobsAndSaveDocuments
final Collection<IppJob> getJobsAndSaveDocuments(WhichJobs whichJobs, Boolean updateJobAttributes, String commandToHandleSavedFile)
-
-
-
-