CupsPrinter.html   [plain text]


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Apr 11 14:20:30 EDT 2003 -->
<TITLE>
CupsPrinter
</TITLE>
<META NAME="keywords" CONTENT="org.cups.CupsPrinter,CupsPrinter class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="CupsPrinter";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../org/cups/CupsJob.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../org/cups/IPP.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CupsPrinter.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;
<SCRIPT>
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.cups</FONT>
<BR>
Class CupsPrinter</H2>
<PRE>
java.lang.Object
  |
  +--<B>org.cups.CupsPrinter</B>
</PRE>
<HR>
<DL>
<DT>public class <B>CupsPrinter</B><DT>extends java.lang.Object</DL>

<P>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->


<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#CupsPrinter(org.cups.Cups)">CupsPrinter</A></B>(org.cups.Cups&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#CupsPrinter(org.cups.Cups, java.lang.String)">CupsPrinter</A></B>(org.cups.Cups&nbsp;c,
            java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor with name.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getAttributes(org.cups.Cups)">getAttributes</A></B>(org.cups.Cups&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer's attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getCopiesDefault()">getCopiesDefault</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer number of copies default.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getJobSheetsDefault()">getJobSheetsDefault</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the default job sheets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getJobSheetsSupported()">getJobSheetsSupported</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer job sheets supported.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getLocation()">getLocation</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer location.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getLowerCopiesSupported()">getLowerCopiesSupported</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer lower copies supported.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getMakeAndModel()">getMakeAndModel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer make and model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getOrientationDefault()">getOrientationDefault</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the default orientation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getOrientationSupported()">getOrientationSupported</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer orientation supported.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getPageRangesSupported()">getPageRangesSupported</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get whether the printer supports page ranges.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getPrinterName()">getPrinterName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getStateReasons()">getStateReasons</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer state reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getStateText()">getStateText</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer state text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getStatus(org.cups.Cups)">getStatus</A></B>(org.cups.Cups&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer's status.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#getUpperCopiesSupported()">getUpperCopiesSupported</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the printer upper copies supported.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#setDefaults()">setDefaults</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the members with mostly sane values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../org/cups/CupsPrinter.html#updateAttribute(org.cups.IPPAttribute)">updateAttribute</A></B>(org.cups.IPPAttribute&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process an attribute from the cups.doRequest() method and move
  the values into local members.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="CupsPrinter(org.cups.Cups)"><!-- --></A><H3>
CupsPrinter</H3>
<PRE>
public <B>CupsPrinter</B>(org.cups.Cups&nbsp;c)</PRE>
<DL>
<DD>Constructor.  Does not get status or attributes.
<P>
<DT><B>See Also:</B><DD><code>Cups</code></DL>
<HR>

<A NAME="CupsPrinter(org.cups.Cups, java.lang.String)"><!-- --></A><H3>
CupsPrinter</H3>
<PRE>
public <B>CupsPrinter</B>(org.cups.Cups&nbsp;c,
                   java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Constructor with name.  Get status and attributes.
<P>
<DT><B>See Also:</B><DD><code>Cups</code></DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="setDefaults()"><!-- --></A><H3>
setDefaults</H3>
<PRE>
public void <B>setDefaults</B>()</PRE>
<DL>
<DD>Initialize the members with mostly sane values.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getStatus(org.cups.Cups)"><!-- --></A><H3>
getStatus</H3>
<PRE>
public boolean <B>getStatus</B>(org.cups.Cups&nbsp;c)</PRE>
<DL>
<DD>Get the printer's status.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>Boolean</code>	True on success.<DT><B>See Also:</B><DD><code>Cups</code></DL>
</DD>
</DL>
<HR>

<A NAME="getAttributes(org.cups.Cups)"><!-- --></A><H3>
getAttributes</H3>
<PRE>
public boolean <B>getAttributes</B>(org.cups.Cups&nbsp;c)</PRE>
<DL>
<DD>Get the printer's attributes.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>Boolean</code>	True on success.<DT><B>See Also:</B><DD><code>Cups</code></DL>
</DD>
</DL>
<HR>

<A NAME="updateAttribute(org.cups.IPPAttribute)"><!-- --></A><H3>
updateAttribute</H3>
<PRE>
public void <B>updateAttribute</B>(org.cups.IPPAttribute&nbsp;a)</PRE>
<DL>
<DD>Process an attribute from the cups.doRequest() method and move
  the values into local members.
<P>
<DD><DL>
<DT><B>See Also:</B><DD><code>IPPAttributes</code>, 
<code>IPPValues</code></DL>
</DD>
</DL>
<HR>

<A NAME="getPrinterName()"><!-- --></A><H3>
getPrinterName</H3>
<PRE>
public java.lang.String <B>getPrinterName</B>()</PRE>
<DL>
<DD>Get the printer name.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>String</code>	Printer Name.</DL>
</DD>
</DL>
<HR>

<A NAME="getStateText()"><!-- --></A><H3>
getStateText</H3>
<PRE>
public java.lang.String <B>getStateText</B>()</PRE>
<DL>
<DD>Get the printer state text.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>String</code>	State text.</DL>
</DD>
</DL>
<HR>

<A NAME="getStateReasons()"><!-- --></A><H3>
getStateReasons</H3>
<PRE>
public java.lang.String <B>getStateReasons</B>()</PRE>
<DL>
<DD>Get the printer state reasons.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>String</code>	State reason.</DL>
</DD>
</DL>
<HR>

<A NAME="getLocation()"><!-- --></A><H3>
getLocation</H3>
<PRE>
public java.lang.String <B>getLocation</B>()</PRE>
<DL>
<DD>Get the printer location.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>String</code>	State location.</DL>
</DD>
</DL>
<HR>

<A NAME="getMakeAndModel()"><!-- --></A><H3>
getMakeAndModel</H3>
<PRE>
public java.lang.String <B>getMakeAndModel</B>()</PRE>
<DL>
<DD>Get the printer make and model.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>String</code>	Make and model.</DL>
</DD>
</DL>
<HR>

<A NAME="getJobSheetsDefault()"><!-- --></A><H3>
getJobSheetsDefault</H3>
<PRE>
public java.lang.String <B>getJobSheetsDefault</B>()</PRE>
<DL>
<DD>Get the default job sheets.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>String</code>	Default job sheets.</DL>
</DD>
</DL>
<HR>

<A NAME="getJobSheetsSupported()"><!-- --></A><H3>
getJobSheetsSupported</H3>
<PRE>
public java.lang.String[] <B>getJobSheetsSupported</B>()</PRE>
<DL>
<DD>Get the printer job sheets supported.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>String[]</code>	Array of supported job sheets.</DL>
</DD>
</DL>
<HR>

<A NAME="getOrientationDefault()"><!-- --></A><H3>
getOrientationDefault</H3>
<PRE>
public int <B>getOrientationDefault</B>()</PRE>
<DL>
<DD>Get the default orientation.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>int</code>	Default page orientation.</DL>
</DD>
</DL>
<HR>

<A NAME="getOrientationSupported()"><!-- --></A><H3>
getOrientationSupported</H3>
<PRE>
public int[] <B>getOrientationSupported</B>()</PRE>
<DL>
<DD>Get the printer orientation supported.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>int[]</code>	Array of supported orientations.</DL>
</DD>
</DL>
<HR>

<A NAME="getLowerCopiesSupported()"><!-- --></A><H3>
getLowerCopiesSupported</H3>
<PRE>
public int <B>getLowerCopiesSupported</B>()</PRE>
<DL>
<DD>Get the printer lower copies supported.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>int</code>	Lower of the range.</DL>
</DD>
</DL>
<HR>

<A NAME="getUpperCopiesSupported()"><!-- --></A><H3>
getUpperCopiesSupported</H3>
<PRE>
public int <B>getUpperCopiesSupported</B>()</PRE>
<DL>
<DD>Get the printer upper copies supported.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>int</code>	Upper of the range.</DL>
</DD>
</DL>
<HR>

<A NAME="getCopiesDefault()"><!-- --></A><H3>
getCopiesDefault</H3>
<PRE>
public int <B>getCopiesDefault</B>()</PRE>
<DL>
<DD>Get the printer number of copies default.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>int</code>	Default number of copies.</DL>
</DD>
</DL>
<HR>

<A NAME="getPageRangesSupported()"><!-- --></A><H3>
getPageRangesSupported</H3>
<PRE>
public boolean <B>getPageRangesSupported</B>()</PRE>
<DL>
<DD>Get whether the printer supports page ranges.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>boolean</code>	True or false.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../org/cups/CupsJob.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../org/cups/IPP.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CupsPrinter.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;
<SCRIPT>
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>