| Package | Description |
|---|---|
| j4cups.client | |
| j4cups.op |
This is the package for the IPP operations like 'print-job' or
'send-document'.
|
| j4cups.protocol |
This package supports the data types which are described in RFC-2910 and
RFC-8011.
|
| j4cups.server |
If you want to build up your own little CUPS server you find in this
package some lightweight components for this task.
|
| j4cups.server.http |
| Modifier and Type | Method and Description |
|---|---|
IppResponse |
CupsClient.cancelJob(int jobId,
java.net.URI printerURI)
Cancels a job.
|
IppResponse |
CupsClient.createJob(java.net.URI printerURI)
Creates a Job.
|
IppResponse |
CupsClient.print(java.net.URI printerURI,
java.nio.file.Path... files)
Sends a list of files as one job to the given printer.
|
IppResponse |
CupsClient.print(java.net.URI printerURI,
java.nio.file.Path path)
Sends a print job to the printer.
|
IppResponse |
CupsClient.send(IppRequest ippRequest)
Sends the IPP request to CUPS.
|
IppResponse |
CupsClient.send(Operation op)
Sends an IPP operation to CUPS.
|
IppResponse |
CupsClient.sendDocument(java.net.URI printerURI,
java.nio.file.Path path,
int jobId,
boolean lastDocument) |
| Modifier and Type | Method and Description |
|---|---|
IppResponse |
GetPrinterAttributes.getIppResponse()
Gets the IPP response for the stored IPP request.
|
IppResponse |
GetDefault.getIppResponse()
Gets the IPP response for the stored IPP request.
|
IppResponse |
Operation.getIppResponse()
Gets the IPP response for the stored IPP request.
|
IppResponse |
PrintJob.getIppResponse()
Gets the IPP response for the stored IPP request.
|
| Modifier and Type | Method and Description |
|---|---|
IppResponse |
IppRequestException.getResponse()
Gets the error response of the request
|
| Constructor and Description |
|---|
IppRequestException(IppResponse ippResponse)
Constructs a new runtime exception with the specified IPP response.
|
IppRequestException(IppResponse ippResponse,
java.lang.Throwable cause)
Constructs a new runtime exception with the specified IPP response
and cause.
|
| Modifier and Type | Method and Description |
|---|---|
IppResponse |
IppProxyHandler.cancelJob(java.net.URI printerURI,
int jobId)
Cancels a (created) job.
|
IppResponse |
IppHandler.cancelJob(java.net.URI printerURI,
int jobId)
Cancels a (created) job.
|
IppResponse |
IppProxyHandler.createJob(java.net.URI printerURI)
Creates a new job.
|
IppResponse |
IppHandler.createJob(java.net.URI printerURI)
Creates a new job.
|
IppResponse |
IppProxyHandler.getJobs(java.net.URI printerURI)
Gets all jobs of a printer.
|
IppResponse |
IppHandler.getJobs(java.net.URI printerURI)
Gets all jobs of a printer.
|
IppResponse |
IppProxyHandler.getPrinterAttributes(java.net.URI printerURI)
Sends a get-printer-attributes to CUPS.
|
IppResponse |
IppHandler.getPrinterAttributes(java.net.URI printerURI)
Sends a get-printer-attributes to CUPS.
|
IppResponse |
IppProxyHandler.printJob(java.net.URI printerURI,
java.nio.file.Path path)
Sends a print job to the printer.
|
IppResponse |
IppHandler.printJob(java.net.URI printerURI,
java.nio.file.Path path)
Sends a print job to the printer.
|
IppResponse |
IppProxyHandler.send(IppRequest ippRequest) |
IppResponse |
IppHandler.send(IppRequest ippRequest)
Sends an IPP request to a CUPS server.
|
IppResponse |
IppProxyHandler.sendDocument(java.net.URI printerURI,
java.nio.file.Path path,
int jobId,
boolean lastDocument)
Sends one print job of a multiple document to the printer
|
IppResponse |
IppHandler.sendDocument(java.net.URI printerURI,
java.nio.file.Path path,
int jobId,
boolean lastDocument)
Sends one print job of a multiple document to the printer
|
| Modifier and Type | Method and Description |
|---|---|
static IppResponse |
IppEntity.toIppResponse(org.apache.http.HttpResponse response)
This is a utility method to convert an
HttpResponse to an
IppResponse. |
Copyright © 2018–2020. All rights reserved.