A B C D F G H I J M O P R S T U V W

A

attributes(Map<String, String>) - Method in class org.cups4j.PrintJob.Builder
Additional attributes for the print operation and the print job

B

build() - Method in class org.cups4j.PrintJob.Builder
Builds the PrintJob object.

C

cancelJob(int) - Method in class org.cups4j.CupsClient
Cancel the job with the provided jobID on the current host wit current user
cancelJob(String, String, int) - Method in class org.cups4j.CupsClient
Cancel the job with the provided jobID, hostname for provided userName
copies(int) - Method in class org.cups4j.PrintJob.Builder
Number of copies - 0 and 1 are both treated as one copy
CupsClient - Class in org.cups4j
Main Client for accessing CUPS features like - get printers - print documents - get job attributes - ...
CupsClient() - Constructor for class org.cups4j.CupsClient
Creates a CupsClient for localhost port 631 with user anonymous
CupsClient(String, int) - Constructor for class org.cups4j.CupsClient
Creates a CupsClient for provided host and port with user anonymous
CupsClient(String, int, String) - Constructor for class org.cups4j.CupsClient
Creates a CupsClient for provided host, port and user
CupsPrinter - Class in org.cups4j
Represents a printer on your IPP server
CupsPrinter(URL, String, boolean) - Constructor for class org.cups4j.CupsPrinter
Constructor

D

DEFAULT_HOST - Static variable in class org.cups4j.CupsClient
 
DEFAULT_PORT - Static variable in class org.cups4j.CupsClient
 
DEFAULT_USER - Static variable in class org.cups4j.CupsClient
 
duplex(boolean) - Method in class org.cups4j.PrintJob.Builder
Duplex mode

F

fromString(String) - Static method in enum org.cups4j.JobStateEnum
 

G

getAttributes() - Method in class org.cups4j.PrintJob
 
getCopies() - Method in class org.cups4j.PrintJob
 
getDefaultPrinter() - Method in class org.cups4j.CupsClient
Returns default printer
getDescription() - Method in class org.cups4j.CupsPrinter
Get description attribute for this printer
getDocument() - Method in class org.cups4j.PrintJob
 
getJobAttributes(int) - Method in class org.cups4j.CupsClient
Returns job attributes for the job associated with the provided jobID
getJobAttributes(String, int) - Method in class org.cups4j.CupsClient
Returns job attributes for the job associated with the provided jobID and user name
getJobCompleteTime() - Method in class org.cups4j.PrintJobAttributes
 
getJobCreateTime() - Method in class org.cups4j.PrintJobAttributes
 
getJobID() - Method in class org.cups4j.PrintJobAttributes
 
getJobId() - Method in class org.cups4j.PrintRequestResult
 
getJobName() - Method in class org.cups4j.PrintJob
 
getJobName() - Method in class org.cups4j.PrintJobAttributes
 
getJobs(CupsPrinter, WhichJobsEnum, String, boolean) - Method in class org.cups4j.CupsClient
Returns all jobs for given printer and user Name Currently all Jobs on the server are returned by this method.
getJobs(WhichJobsEnum, String, boolean) - Method in class org.cups4j.CupsPrinter
Get a list of jobs
getJobState() - Method in class org.cups4j.PrintJobAttributes
 
getJobStatus(int) - Method in class org.cups4j.CupsPrinter
Get current status for the print job with the given ID.
getJobStatus(String, int) - Method in class org.cups4j.CupsPrinter
Get current status for the print job with the given ID
getJobURL() - Method in class org.cups4j.PrintJobAttributes
 
getLocation() - Method in class org.cups4j.CupsPrinter
Get location attribute for this printer
getName() - Method in class org.cups4j.CupsPrinter
Get name of this printer.
getPageRanges() - Method in class org.cups4j.PrintJob
 
getPagesPrinted() - Method in class org.cups4j.PrintJobAttributes
 
getPrinter(URL) - Method in class org.cups4j.CupsClient
Returns the printer for the provided URL
getPrinters() - Method in class org.cups4j.CupsClient
Returns all available printers
getPrinterURL() - Method in class org.cups4j.CupsPrinter
Get the URL for this printer
getPrinterURL() - Method in class org.cups4j.PrintJobAttributes
 
getResultCode() - Method in class org.cups4j.PrintRequestResult
 
getResultDescription() - Method in class org.cups4j.PrintRequestResult
 
getSize() - Method in class org.cups4j.PrintJobAttributes
 
getText() - Method in enum org.cups4j.JobStateEnum
 
getUserName() - Method in class org.cups4j.PrintJob
 
getUserName() - Method in class org.cups4j.PrintJobAttributes
 
getValue() - Method in enum org.cups4j.WhichJobsEnum
 

H

holdJob(int) - Method in class org.cups4j.CupsClient
Hold the job with the provided jobID on the current host wit current set user
holdJob(String, String, int) - Method in class org.cups4j.CupsClient
Hold the job with the provided jobID, hostname for provided userName

I

isDefault() - Method in class org.cups4j.CupsPrinter
Is this the default printer
isDuplex() - Method in class org.cups4j.PrintJob
 
isSuccessfulResult() - Method in class org.cups4j.PrintRequestResult
 

J

jobName(String) - Method in class org.cups4j.PrintJob.Builder
Job name
JobStateEnum - Enum in org.cups4j
State of print jobs

M

moveJob(int, String, CupsPrinter, CupsPrinter) - Method in class org.cups4j.CupsClient
Moves the print job with job ID jobID from currentPrinter to targetPrinter

O

org.cups4j - package org.cups4j
 

P

pageRanges(String) - Method in class org.cups4j.PrintJob.Builder
Page ranges
print(PrintJob) - Method in class org.cups4j.CupsPrinter
Print method
PrintJob - Class in org.cups4j
Print job class
PrintJob.Builder - Class in org.cups4j
Builds PrintJob objects like so: PrintJob printJob = new PrintJob.Builder(document).jobName("jobXY").userName ("harald").copies(2).build(); documents are supplied as byte[] or as InputStream
PrintJob.Builder(byte[]) - Constructor for class org.cups4j.PrintJob.Builder
Constructor
PrintJob.Builder(InputStream) - Constructor for class org.cups4j.PrintJob.Builder
Constructor
PrintJobAttributes - Class in org.cups4j
Holds print job attributes
PrintJobAttributes() - Constructor for class org.cups4j.PrintJobAttributes
 
PrintRequestResult - Class in org.cups4j
Result of a print request
PrintRequestResult(IppResult) - Constructor for class org.cups4j.PrintRequestResult
 

R

releaseJob(int) - Method in class org.cups4j.CupsClient
Release the held job with the provided jobID on the current host wit current set user
releaseJob(String, String, int) - Method in class org.cups4j.CupsClient
Release the job with the provided jobID, hostname for provided userName

S

setAttributes(Map<String, String>) - Method in class org.cups4j.PrintJob
 
setDefault(boolean) - Method in class org.cups4j.CupsPrinter
 
setDescription(String) - Method in class org.cups4j.CupsPrinter
 
setJobCompleteTime(Date) - Method in class org.cups4j.PrintJobAttributes
 
setJobCreateTime(Date) - Method in class org.cups4j.PrintJobAttributes
 
setJobID(int) - Method in class org.cups4j.PrintJobAttributes
 
setJobId(int) - Method in class org.cups4j.PrintRequestResult
 
setJobName(String) - Method in class org.cups4j.PrintJobAttributes
 
setJobState(JobStateEnum) - Method in class org.cups4j.PrintJobAttributes
 
setJobURL(URL) - Method in class org.cups4j.PrintJobAttributes
 
setLocation(String) - Method in class org.cups4j.CupsPrinter
 
setPagesPrinted(int) - Method in class org.cups4j.PrintJobAttributes
 
setPrinterURL(URL) - Method in class org.cups4j.PrintJobAttributes
 
setSize(int) - Method in class org.cups4j.PrintJobAttributes
 
setUserName(String) - Method in class org.cups4j.PrintJobAttributes
 

T

toString() - Method in class org.cups4j.CupsPrinter
Get a String representation of this printer consisting of the printer URL and the name
toString() - Method in enum org.cups4j.JobStateEnum
 

U

userName(String) - Method in class org.cups4j.PrintJob.Builder
User name

V

valueOf(String) - Static method in enum org.cups4j.JobStateEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.cups4j.WhichJobsEnum
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.cups4j.JobStateEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.cups4j.WhichJobsEnum
Returns an array containing the constants of this enum type, in the order they are declared.

W

WhichJobsEnum - Enum in org.cups4j
Used while querying print jobs to define which jobs should be returned.

A B C D F G H I J M O P R S T U V W

Copyright © 2009 Harald Weyhing. All Rights Reserved.