X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=scripting%2Fjava%2Fdocs%2Fcom%2Feasysw%2Fcups%2FCupsPrinter.html;fp=scripting%2Fjava%2Fdocs%2Fcom%2Feasysw%2Fcups%2FCupsPrinter.html;h=3235483a01dfc66875a61153e6cfea4643cfb3f9;hp=0000000000000000000000000000000000000000;hb=ef416fc25c4af449e930416117bedb12fc9924ba;hpb=9ec11526e139aeacf6a052799a6aa22cbbe6ebb2 diff --git a/scripting/java/docs/com/easysw/cups/CupsPrinter.html b/scripting/java/docs/com/easysw/cups/CupsPrinter.html new file mode 100644 index 000000000..3235483a0 --- /dev/null +++ b/scripting/java/docs/com/easysw/cups/CupsPrinter.html @@ -0,0 +1,533 @@ + + + +
+ +
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+java.lang.Object + | + +--com.easysw.cups.CupsPrinter ++
+
+Constructor Summary | +|
CupsPrinter(Cups c)
+
++ Constructor. |
+|
CupsPrinter(Cups c,
+ java.lang.String name)
+
++ Constructor with name. |
+
+Method Summary | +|
+ boolean |
+getAttributes(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(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(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(Cups c)+
c
- Cups object.Cups
+public CupsPrinter(Cups c, + java.lang.String name)+
c
- Cups object.name
- Name of printer.Cups
+Method Detail | +
+public void setDefaults()+
+public boolean getStatus(Cups c)+
c
- Cups object.Boolean
True on success.Cups
+public boolean getAttributes(Cups c)+
c
- Cups object.Boolean
True on success.Cups
+public void updateAttribute(IPPAttribute a)+
a
- IPPAttribute.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: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +