]> git.ipfire.org Git - thirdparty/cups.git/blob - scripting/java/docs/com/easysw/cups/CupsPrinter.html
3235483a01dfc66875a61153e6cfea4643cfb3f9
[thirdparty/cups.git] / scripting / java / docs / com / easysw / cups / CupsPrinter.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc on Tue Feb 11 14:29:07 PST 2003 -->
6 <TITLE>
7 : Class CupsPrinter
8 </TITLE>
9 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
10 </HEAD>
11 <BODY BGCOLOR="white">
12
13 <!-- ========== START OF NAVBAR ========== -->
14 <A NAME="navbar_top"><!-- --></A>
15 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
16 <TR>
17 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18 <A NAME="navbar_top_firstrow"><!-- --></A>
19 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20 <TR ALIGN="center" VALIGN="top">
21 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
22 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
23 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
24 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
25 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
26 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
27 </TR>
28 </TABLE>
29 </TD>
30 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
31 </EM>
32 </TD>
33 </TR>
34
35 <TR>
36 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
37 &nbsp;<A HREF="../../../com/easysw/cups/CupsJob.html"><B>PREV CLASS</B></A>&nbsp;
38 &nbsp;<A HREF="../../../com/easysw/cups/IPP.html"><B>NEXT CLASS</B></A></FONT></TD>
39 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
40 <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
41 &nbsp;<A HREF="CupsPrinter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
42 </TR>
43 <TR>
44 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
45 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
46 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
47 DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
48 </TR>
49 </TABLE>
50 <!-- =========== END OF NAVBAR =========== -->
51
52 <HR>
53 <!-- ======== START OF CLASS DATA ======== -->
54 <H2>
55 <FONT SIZE="-1">
56 com.easysw.cups</FONT>
57 <BR>
58 Class CupsPrinter</H2>
59 <PRE>
60 java.lang.Object
61 |
62 +--<B>com.easysw.cups.CupsPrinter</B>
63 </PRE>
64 <HR>
65 <DL>
66 <DT>public class <B>CupsPrinter</B><DT>extends java.lang.Object</DL>
67
68 <P>
69 <HR>
70
71 <P>
72 <!-- ======== INNER CLASS SUMMARY ======== -->
73
74
75 <!-- =========== FIELD SUMMARY =========== -->
76
77
78 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
79
80 <A NAME="constructor_summary"><!-- --></A>
81 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
82 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
83 <TD COLSPAN=2><FONT SIZE="+2">
84 <B>Constructor Summary</B></FONT></TD>
85 </TR>
86 <TR BGCOLOR="white" CLASS="TableRowColor">
87 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#CupsPrinter(com.easysw.cups.Cups)">CupsPrinter</A></B>(<A HREF="../../../com/easysw/cups/Cups.html">Cups</A>&nbsp;c)</CODE>
88
89 <BR>
90 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
91 </TR>
92 <TR BGCOLOR="white" CLASS="TableRowColor">
93 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#CupsPrinter(com.easysw.cups.Cups, java.lang.String)">CupsPrinter</A></B>(<A HREF="../../../com/easysw/cups/Cups.html">Cups</A>&nbsp;c,
94 java.lang.String&nbsp;name)</CODE>
95
96 <BR>
97 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor with name.</TD>
98 </TR>
99 </TABLE>
100 &nbsp;
101 <!-- ========== METHOD SUMMARY =========== -->
102
103 <A NAME="method_summary"><!-- --></A>
104 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
105 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
106 <TD COLSPAN=2><FONT SIZE="+2">
107 <B>Method Summary</B></FONT></TD>
108 </TR>
109 <TR BGCOLOR="white" CLASS="TableRowColor">
110 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
111 <CODE>&nbsp;boolean</CODE></FONT></TD>
112 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getAttributes(com.easysw.cups.Cups)">getAttributes</A></B>(<A HREF="../../../com/easysw/cups/Cups.html">Cups</A>&nbsp;c)</CODE>
113
114 <BR>
115 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer's attributes.</TD>
116 </TR>
117 <TR BGCOLOR="white" CLASS="TableRowColor">
118 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
119 <CODE>&nbsp;int</CODE></FONT></TD>
120 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getCopiesDefault()">getCopiesDefault</A></B>()</CODE>
121
122 <BR>
123 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer number of copies default.</TD>
124 </TR>
125 <TR BGCOLOR="white" CLASS="TableRowColor">
126 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
128 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getJobSheetsDefault()">getJobSheetsDefault</A></B>()</CODE>
129
130 <BR>
131 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the default job sheets.</TD>
132 </TR>
133 <TR BGCOLOR="white" CLASS="TableRowColor">
134 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135 <CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
136 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getJobSheetsSupported()">getJobSheetsSupported</A></B>()</CODE>
137
138 <BR>
139 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer job sheets supported.</TD>
140 </TR>
141 <TR BGCOLOR="white" CLASS="TableRowColor">
142 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
144 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getLocation()">getLocation</A></B>()</CODE>
145
146 <BR>
147 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer location.</TD>
148 </TR>
149 <TR BGCOLOR="white" CLASS="TableRowColor">
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151 <CODE>&nbsp;int</CODE></FONT></TD>
152 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getLowerCopiesSupported()">getLowerCopiesSupported</A></B>()</CODE>
153
154 <BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer lower copies supported.</TD>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
160 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getMakeAndModel()">getMakeAndModel</A></B>()</CODE>
161
162 <BR>
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer make and model.</TD>
164 </TR>
165 <TR BGCOLOR="white" CLASS="TableRowColor">
166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167 <CODE>&nbsp;int</CODE></FONT></TD>
168 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getOrientationDefault()">getOrientationDefault</A></B>()</CODE>
169
170 <BR>
171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the default orientation.</TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175 <CODE>&nbsp;int[]</CODE></FONT></TD>
176 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getOrientationSupported()">getOrientationSupported</A></B>()</CODE>
177
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer orientation supported.</TD>
180 </TR>
181 <TR BGCOLOR="white" CLASS="TableRowColor">
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183 <CODE>&nbsp;boolean</CODE></FONT></TD>
184 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getPageRangesSupported()">getPageRangesSupported</A></B>()</CODE>
185
186 <BR>
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get whether the printer supports page ranges.</TD>
188 </TR>
189 <TR BGCOLOR="white" CLASS="TableRowColor">
190 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
192 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getPrinterName()">getPrinterName</A></B>()</CODE>
193
194 <BR>
195 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer name.</TD>
196 </TR>
197 <TR BGCOLOR="white" CLASS="TableRowColor">
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
200 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getStateReasons()">getStateReasons</A></B>()</CODE>
201
202 <BR>
203 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer state reasons.</TD>
204 </TR>
205 <TR BGCOLOR="white" CLASS="TableRowColor">
206 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
208 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getStateText()">getStateText</A></B>()</CODE>
209
210 <BR>
211 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer state text.</TD>
212 </TR>
213 <TR BGCOLOR="white" CLASS="TableRowColor">
214 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215 <CODE>&nbsp;boolean</CODE></FONT></TD>
216 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getStatus(com.easysw.cups.Cups)">getStatus</A></B>(<A HREF="../../../com/easysw/cups/Cups.html">Cups</A>&nbsp;c)</CODE>
217
218 <BR>
219 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer's status.</TD>
220 </TR>
221 <TR BGCOLOR="white" CLASS="TableRowColor">
222 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223 <CODE>&nbsp;int</CODE></FONT></TD>
224 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#getUpperCopiesSupported()">getUpperCopiesSupported</A></B>()</CODE>
225
226 <BR>
227 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer upper copies supported.</TD>
228 </TR>
229 <TR BGCOLOR="white" CLASS="TableRowColor">
230 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231 <CODE>&nbsp;void</CODE></FONT></TD>
232 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#setDefaults()">setDefaults</A></B>()</CODE>
233
234 <BR>
235 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the members with mostly sane values.</TD>
236 </TR>
237 <TR BGCOLOR="white" CLASS="TableRowColor">
238 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239 <CODE>&nbsp;void</CODE></FONT></TD>
240 <TD><CODE><B><A HREF="../../../com/easysw/cups/CupsPrinter.html#updateAttribute(com.easysw.cups.IPPAttribute)">updateAttribute</A></B>(<A HREF="../../../com/easysw/cups/IPPAttribute.html">IPPAttribute</A>&nbsp;a)</CODE>
241
242 <BR>
243 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process an attribute from the cups.doRequest() method and move
244 the values into local members.</TD>
245 </TR>
246 </TABLE>
247 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
248 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
249 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
250 <TD><B>Methods inherited from class java.lang.Object</B></TD>
251 </TR>
252 <TR BGCOLOR="white" CLASS="TableRowColor">
253 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
254 </TR>
255 </TABLE>
256 &nbsp;
257 <P>
258
259 <!-- ============ FIELD DETAIL =========== -->
260
261
262 <!-- ========= CONSTRUCTOR DETAIL ======== -->
263
264 <A NAME="constructor_detail"><!-- --></A>
265 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
266 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
267 <TD COLSPAN=1><FONT SIZE="+2">
268 <B>Constructor Detail</B></FONT></TD>
269 </TR>
270 </TABLE>
271
272 <A NAME="CupsPrinter(com.easysw.cups.Cups)"><!-- --></A><H3>
273 CupsPrinter</H3>
274 <PRE>
275 public <B>CupsPrinter</B>(<A HREF="../../../com/easysw/cups/Cups.html">Cups</A>&nbsp;c)</PRE>
276 <DL>
277 <DD>Constructor. Does not get status or attributes.<DD><DL>
278 <DT><B>Parameters:</B><DD><CODE><code>c</code></CODE> - Cups object.<DT><B>See Also: </B><DD><code>Cups</code></DL>
279 </DD>
280 </DL>
281 <HR>
282
283 <A NAME="CupsPrinter(com.easysw.cups.Cups, java.lang.String)"><!-- --></A><H3>
284 CupsPrinter</H3>
285 <PRE>
286 public <B>CupsPrinter</B>(<A HREF="../../../com/easysw/cups/Cups.html">Cups</A>&nbsp;c,
287 java.lang.String&nbsp;name)</PRE>
288 <DL>
289 <DD>Constructor with name. Get status and attributes.<DD><DL>
290 <DT><B>Parameters:</B><DD><CODE><code>c</code></CODE> - Cups object.<DD><CODE><code>name</code></CODE> - Name of printer.<DT><B>See Also: </B><DD><code>Cups</code></DL>
291 </DD>
292 </DL>
293
294 <!-- ============ METHOD DETAIL ========== -->
295
296 <A NAME="method_detail"><!-- --></A>
297 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
298 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
299 <TD COLSPAN=1><FONT SIZE="+2">
300 <B>Method Detail</B></FONT></TD>
301 </TR>
302 </TABLE>
303
304 <A NAME="setDefaults()"><!-- --></A><H3>
305 setDefaults</H3>
306 <PRE>
307 public void <B>setDefaults</B>()</PRE>
308 <DL>
309 <DD>Initialize the members with mostly sane values.</DL>
310 <HR>
311
312 <A NAME="getStatus(com.easysw.cups.Cups)"><!-- --></A><H3>
313 getStatus</H3>
314 <PRE>
315 public boolean <B>getStatus</B>(<A HREF="../../../com/easysw/cups/Cups.html">Cups</A>&nbsp;c)</PRE>
316 <DL>
317 <DD>Get the printer's status.<DD><DL>
318 <DT><B>Parameters:</B><DD><CODE><code>c</code></CODE> - Cups object.<DT><B>Returns:</B><DD><code>Boolean</code> True on success.<DT><B>See Also: </B><DD><code>Cups</code></DL>
319 </DD>
320 </DL>
321 <HR>
322
323 <A NAME="getAttributes(com.easysw.cups.Cups)"><!-- --></A><H3>
324 getAttributes</H3>
325 <PRE>
326 public boolean <B>getAttributes</B>(<A HREF="../../../com/easysw/cups/Cups.html">Cups</A>&nbsp;c)</PRE>
327 <DL>
328 <DD>Get the printer's attributes.<DD><DL>
329 <DT><B>Parameters:</B><DD><CODE><code>c</code></CODE> - Cups object.<DT><B>Returns:</B><DD><code>Boolean</code> True on success.<DT><B>See Also: </B><DD><code>Cups</code></DL>
330 </DD>
331 </DL>
332 <HR>
333
334 <A NAME="updateAttribute(com.easysw.cups.IPPAttribute)"><!-- --></A><H3>
335 updateAttribute</H3>
336 <PRE>
337 public void <B>updateAttribute</B>(<A HREF="../../../com/easysw/cups/IPPAttribute.html">IPPAttribute</A>&nbsp;a)</PRE>
338 <DL>
339 <DD>Process an attribute from the cups.doRequest() method and move
340 the values into local members.<DD><DL>
341 <DT><B>Parameters:</B><DD><CODE><code>a</code></CODE> - IPPAttribute.<DT><B>See Also: </B><DD><code>IPPAttributes</code>,
342 <code>IPPValues</code></DL>
343 </DD>
344 </DL>
345 <HR>
346
347 <A NAME="getPrinterName()"><!-- --></A><H3>
348 getPrinterName</H3>
349 <PRE>
350 public java.lang.String <B>getPrinterName</B>()</PRE>
351 <DL>
352 <DD>Get the printer name.<DD><DL>
353 <DT><B>Returns:</B><DD><code>String</code> Printer Name.</DL>
354 </DD>
355 </DL>
356 <HR>
357
358 <A NAME="getStateText()"><!-- --></A><H3>
359 getStateText</H3>
360 <PRE>
361 public java.lang.String <B>getStateText</B>()</PRE>
362 <DL>
363 <DD>Get the printer state text.<DD><DL>
364 <DT><B>Returns:</B><DD><code>String</code> State text.</DL>
365 </DD>
366 </DL>
367 <HR>
368
369 <A NAME="getStateReasons()"><!-- --></A><H3>
370 getStateReasons</H3>
371 <PRE>
372 public java.lang.String <B>getStateReasons</B>()</PRE>
373 <DL>
374 <DD>Get the printer state reasons.<DD><DL>
375 <DT><B>Returns:</B><DD><code>String</code> State reason.</DL>
376 </DD>
377 </DL>
378 <HR>
379
380 <A NAME="getLocation()"><!-- --></A><H3>
381 getLocation</H3>
382 <PRE>
383 public java.lang.String <B>getLocation</B>()</PRE>
384 <DL>
385 <DD>Get the printer location.<DD><DL>
386 <DT><B>Returns:</B><DD><code>String</code> State location.</DL>
387 </DD>
388 </DL>
389 <HR>
390
391 <A NAME="getMakeAndModel()"><!-- --></A><H3>
392 getMakeAndModel</H3>
393 <PRE>
394 public java.lang.String <B>getMakeAndModel</B>()</PRE>
395 <DL>
396 <DD>Get the printer make and model.<DD><DL>
397 <DT><B>Returns:</B><DD><code>String</code> Make and model.</DL>
398 </DD>
399 </DL>
400 <HR>
401
402 <A NAME="getJobSheetsDefault()"><!-- --></A><H3>
403 getJobSheetsDefault</H3>
404 <PRE>
405 public java.lang.String <B>getJobSheetsDefault</B>()</PRE>
406 <DL>
407 <DD>Get the default job sheets.<DD><DL>
408 <DT><B>Returns:</B><DD><code>String</code> Default job sheets.</DL>
409 </DD>
410 </DL>
411 <HR>
412
413 <A NAME="getJobSheetsSupported()"><!-- --></A><H3>
414 getJobSheetsSupported</H3>
415 <PRE>
416 public java.lang.String[] <B>getJobSheetsSupported</B>()</PRE>
417 <DL>
418 <DD>Get the printer job sheets supported.<DD><DL>
419 <DT><B>Returns:</B><DD><code>String[]</code> Array of supported job sheets.</DL>
420 </DD>
421 </DL>
422 <HR>
423
424 <A NAME="getOrientationDefault()"><!-- --></A><H3>
425 getOrientationDefault</H3>
426 <PRE>
427 public int <B>getOrientationDefault</B>()</PRE>
428 <DL>
429 <DD>Get the default orientation.<DD><DL>
430 <DT><B>Returns:</B><DD><code>int</code> Default page orientation.</DL>
431 </DD>
432 </DL>
433 <HR>
434
435 <A NAME="getOrientationSupported()"><!-- --></A><H3>
436 getOrientationSupported</H3>
437 <PRE>
438 public int[] <B>getOrientationSupported</B>()</PRE>
439 <DL>
440 <DD>Get the printer orientation supported.<DD><DL>
441 <DT><B>Returns:</B><DD><code>int[]</code> Array of supported orientations.</DL>
442 </DD>
443 </DL>
444 <HR>
445
446 <A NAME="getLowerCopiesSupported()"><!-- --></A><H3>
447 getLowerCopiesSupported</H3>
448 <PRE>
449 public int <B>getLowerCopiesSupported</B>()</PRE>
450 <DL>
451 <DD>Get the printer lower copies supported.<DD><DL>
452 <DT><B>Returns:</B><DD><code>int</code> Lower of the range.</DL>
453 </DD>
454 </DL>
455 <HR>
456
457 <A NAME="getUpperCopiesSupported()"><!-- --></A><H3>
458 getUpperCopiesSupported</H3>
459 <PRE>
460 public int <B>getUpperCopiesSupported</B>()</PRE>
461 <DL>
462 <DD>Get the printer upper copies supported.<DD><DL>
463 <DT><B>Returns:</B><DD><code>int</code> Upper of the range.</DL>
464 </DD>
465 </DL>
466 <HR>
467
468 <A NAME="getCopiesDefault()"><!-- --></A><H3>
469 getCopiesDefault</H3>
470 <PRE>
471 public int <B>getCopiesDefault</B>()</PRE>
472 <DL>
473 <DD>Get the printer number of copies default.<DD><DL>
474 <DT><B>Returns:</B><DD><code>int</code> Default number of copies.</DL>
475 </DD>
476 </DL>
477 <HR>
478
479 <A NAME="getPageRangesSupported()"><!-- --></A><H3>
480 getPageRangesSupported</H3>
481 <PRE>
482 public boolean <B>getPageRangesSupported</B>()</PRE>
483 <DL>
484 <DD>Get whether the printer supports page ranges.<DD><DL>
485 <DT><B>Returns:</B><DD><code>boolean</code> True or false.</DL>
486 </DD>
487 </DL>
488 <!-- ========= END OF CLASS DATA ========= -->
489 <HR>
490
491 <!-- ========== START OF NAVBAR ========== -->
492 <A NAME="navbar_bottom"><!-- --></A>
493 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
494 <TR>
495 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
496 <A NAME="navbar_bottom_firstrow"><!-- --></A>
497 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
498 <TR ALIGN="center" VALIGN="top">
499 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
500 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
501 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
502 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
503 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
504 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
505 </TR>
506 </TABLE>
507 </TD>
508 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
509 </EM>
510 </TD>
511 </TR>
512
513 <TR>
514 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
515 &nbsp;<A HREF="../../../com/easysw/cups/CupsJob.html"><B>PREV CLASS</B></A>&nbsp;
516 &nbsp;<A HREF="../../../com/easysw/cups/IPP.html"><B>NEXT CLASS</B></A></FONT></TD>
517 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
518 <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
519 &nbsp;<A HREF="CupsPrinter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
520 </TR>
521 <TR>
522 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
523 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
524 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
525 DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
526 </TR>
527 </TABLE>
528 <!-- =========== END OF NAVBAR =========== -->
529
530 <HR>
531
532 </BODY>
533 </HTML>