|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.cups.CupsPrinter
Constructor Summary | |
CupsPrinter(org.cups.Cups c)
Constructor. |
|
CupsPrinter(org.cups.Cups c,
java.lang.String name)
Constructor with name. |
Method Summary | |
boolean |
getAttributes(org.cups.Cups c)
Get the printer's attributes. |
int |
getCopiesDefault()
Get the printer number of copies default. |
java.lang.String |
getJobSheetsDefault()
Get the default job sheets. |
java.lang.String[] |
getJobSheetsSupported()
Get the printer job sheets supported. |
java.lang.String |
getLocation()
Get the printer location. |
int |
getLowerCopiesSupported()
Get the printer lower copies supported. |
java.lang.String |
getMakeAndModel()
Get the printer make and model. |
int |
getOrientationDefault()
Get the default orientation. |
int[] |
getOrientationSupported()
Get the printer orientation supported. |
boolean |
getPageRangesSupported()
Get whether the printer supports page ranges. |
java.lang.String |
getPrinterName()
Get the printer name. |
java.lang.String |
getStateReasons()
Get the printer state reasons. |
java.lang.String |
getStateText()
Get the printer state text. |
boolean |
getStatus(org.cups.Cups c)
Get the printer's status. |
int |
getUpperCopiesSupported()
Get the printer upper copies supported. |
void |
setDefaults()
Initialize the members with mostly sane values. |
void |
updateAttribute(org.cups.IPPAttribute a)
Process an attribute from the cups.doRequest() method and move the values into local members. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CupsPrinter(org.cups.Cups c)
Cups
public CupsPrinter(org.cups.Cups c, java.lang.String name)
Cups
Method Detail |
public void setDefaults()
public boolean getStatus(org.cups.Cups c)
Boolean
True on success.Cups
public boolean getAttributes(org.cups.Cups c)
Boolean
True on success.Cups
public void updateAttribute(org.cups.IPPAttribute a)
IPPAttributes
,
IPPValues
public java.lang.String getPrinterName()
String
Printer Name.public java.lang.String getStateText()
String
State text.public java.lang.String getStateReasons()
String
State reason.public java.lang.String getLocation()
String
State location.public java.lang.String getMakeAndModel()
String
Make and model.public java.lang.String getJobSheetsDefault()
String
Default job sheets.public java.lang.String[] getJobSheetsSupported()
String[]
Array of supported job sheets.public int getOrientationDefault()
int
Default page orientation.public int[] getOrientationSupported()
int[]
Array of supported orientations.public int getLowerCopiesSupported()
int
Lower of the range.public int getUpperCopiesSupported()
int
Upper of the range.public int getCopiesDefault()
int
Default number of copies.public boolean getPageRangesSupported()
boolean
True or false.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |