]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scripting/java/docs/com/easysw/cups/Cups.html
Load cups into easysw/current.
[thirdparty/cups.git] / scripting / java / docs / com / easysw / cups / Cups.html
diff --git a/scripting/java/docs/com/easysw/cups/Cups.html b/scripting/java/docs/com/easysw/cups/Cups.html
new file mode 100644 (file)
index 0000000..77f25a7
--- /dev/null
@@ -0,0 +1,600 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc on Tue Feb 11 14:29:07 PST 2003 -->
+<TITLE>
+: Class  Cups
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+</HEAD>
+<BODY BGCOLOR="white">
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_top"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=2 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="package-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;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../com/easysw/cups/CupsJob.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="Cups.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY: &nbsp;INNER&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">
+com.easysw.cups</FONT>
+<BR>
+Class  Cups</H2>
+<PRE>
+java.lang.Object
+  |
+  +--<B>com.easysw.cups.Cups</B>
+</PRE>
+<HR>
+<DL>
+<DT>public class <B>Cups</B><DT>extends java.lang.Object</DL>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== INNER 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="../../../com/easysw/cups/Cups.html#Cups()">Cups</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Void constructor.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#Cups(java.net.URL)">Cups</A></B>(java.net.URL&nbsp;p_url)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor using a <code>URL</code>.</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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#cupsCancelJob(java.lang.String, int, java.lang.String)">cupsCancelJob</A></B>(java.lang.String&nbsp;printer_name,
+              int&nbsp;p_job_id,
+              java.lang.String&nbsp;p_user_name)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cancel a job - send a job cancel request to the server.</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="../../../com/easysw/cups/Cups.html#cupsGetDefault()">cupsGetDefault</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get default destination.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/easysw/cups/CupsJob.html">CupsJob</A>[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#cupsGetJobs(boolean, boolean)">cupsGetJobs</A></B>(boolean&nbsp;showMyJobs,
+            boolean&nbsp;showCompleted)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of jobs.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.util.List</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#cupsGetPrinterAttributes(java.lang.String)">cupsGetPrinterAttributes</A></B>(java.lang.String&nbsp;printer_name)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get printer attributes</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="../../../com/easysw/cups/Cups.html#cupsGetPrinters()">cupsGetPrinters</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of printers.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.util.List</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#cupsGetPrinterStatus(java.lang.String)">cupsGetPrinterStatus</A></B>(java.lang.String&nbsp;printer_name)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/easysw/cups/CupsJob.html">CupsJob</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#cupsPrintFile(java.lang.String, com.easysw.cups.IPPAttribute[])">cupsPrintFile</A></B>(java.lang.String&nbsp;p_filename,
+              <A HREF="../../../com/easysw/cups/IPPAttribute.html">IPPAttribute</A>[]&nbsp;p_attrs)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print a file.</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="../../../com/easysw/cups/Cups.html#doRequest()">doRequest</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do a CUPS request to the server.</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="../../../com/easysw/cups/Cups.html#doRequest(java.io.File)">doRequest</A></B>(java.io.File&nbsp;file)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send a FILE to the CUPS server.</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="../../../com/easysw/cups/Cups.html#doRequest(java.lang.String)">doRequest</A></B>(java.lang.String&nbsp;from)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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="../../../com/easysw/cups/Cups.html#getEncrypt()">getEncrypt</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of the <code>encrypt</code> member.</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="../../../com/easysw/cups/Cups.html#setDest(java.lang.String)">setDest</A></B>(java.lang.String&nbsp;p_dest)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>dest</code> member.</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="../../../com/easysw/cups/Cups.html#setEncrypt(boolean)">setEncrypt</A></B>(boolean&nbsp;p_encrypt)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>encrypt</code> member.</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="../../../com/easysw/cups/Cups.html#setInstance(java.lang.String)">setInstance</A></B>(java.lang.String&nbsp;p_instance)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>instance</code> member.</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="../../../com/easysw/cups/Cups.html#setPasswd(java.lang.String)">setPasswd</A></B>(java.lang.String&nbsp;p_passwd)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>passwd</code> member.</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="../../../com/easysw/cups/Cups.html#setPath(java.lang.String)">setPath</A></B>(java.lang.String&nbsp;p_path)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>path</code> member.</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="../../../com/easysw/cups/Cups.html#setPort(int)">setPort</A></B>(int&nbsp;p_port)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>port</code> member.</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="../../../com/easysw/cups/Cups.html#setProtocol(java.lang.String)">setProtocol</A></B>(java.lang.String&nbsp;p_protocol)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>protocol</code> member.</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="../../../com/easysw/cups/Cups.html#setServer(java.lang.String)">setServer</A></B>(java.lang.String&nbsp;p_server)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>server</code> member.</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="../../../com/easysw/cups/Cups.html#setUser(java.lang.String)">setUser</A></B>(java.lang.String&nbsp;p_user)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the <code>user</code> member.</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="Cups()"><!-- --></A><H3>
+Cups</H3>
+<PRE>
+public <B>Cups</B>()</PRE>
+<DL>
+<DD>Void constructor.</DL>
+<HR>
+
+<A NAME="Cups(java.net.URL)"><!-- --></A><H3>
+Cups</H3>
+<PRE>
+public <B>Cups</B>(java.net.URL&nbsp;p_url)</PRE>
+<DL>
+<DD>Constructor using a <code>URL</code>.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_url</code></CODE> - A <code>URL</code> object.</DL>
+</DD>
+</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="setProtocol(java.lang.String)"><!-- --></A><H3>
+setProtocol</H3>
+<PRE>
+public void <B>setProtocol</B>(java.lang.String&nbsp;p_protocol)</PRE>
+<DL>
+<DD>Set the value of the <code>protocol</code> member.  Valid values
+ are ipp or http.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_protocol</code></CODE> - String with protocol.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setServer(java.lang.String)"><!-- --></A><H3>
+setServer</H3>
+<PRE>
+public void <B>setServer</B>(java.lang.String&nbsp;p_server)</PRE>
+<DL>
+<DD>Set the value of the <code>server</code> member.  This is an
+ IP address or a hostname.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_server</code></CODE> - IP address or hostname.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setPort(int)"><!-- --></A><H3>
+setPort</H3>
+<PRE>
+public void <B>setPort</B>(int&nbsp;p_port)</PRE>
+<DL>
+<DD>Set the value of the <code>port</code> member.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_port</code></CODE> - Port number.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setUser(java.lang.String)"><!-- --></A><H3>
+setUser</H3>
+<PRE>
+public void <B>setUser</B>(java.lang.String&nbsp;p_user)</PRE>
+<DL>
+<DD>Set the value of the <code>user</code> member.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_user</code></CODE> - User name.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setPasswd(java.lang.String)"><!-- --></A><H3>
+setPasswd</H3>
+<PRE>
+public void <B>setPasswd</B>(java.lang.String&nbsp;p_passwd)</PRE>
+<DL>
+<DD>Set the value of the <code>passwd</code> member.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_passwd</code></CODE> - Password.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setDest(java.lang.String)"><!-- --></A><H3>
+setDest</H3>
+<PRE>
+public void <B>setDest</B>(java.lang.String&nbsp;p_dest)</PRE>
+<DL>
+<DD>Set the value of the <code>dest</code> member.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_dest</code></CODE> - Destination.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setInstance(java.lang.String)"><!-- --></A><H3>
+setInstance</H3>
+<PRE>
+public void <B>setInstance</B>(java.lang.String&nbsp;p_instance)</PRE>
+<DL>
+<DD>Set the value of the <code>instance</code> member.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_instance</code></CODE> - Instance.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setEncrypt(boolean)"><!-- --></A><H3>
+setEncrypt</H3>
+<PRE>
+public void <B>setEncrypt</B>(boolean&nbsp;p_encrypt)</PRE>
+<DL>
+<DD>Set the value of the <code>encrypt</code> member.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_enrypt</code></CODE> - Yes or no.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getEncrypt()"><!-- --></A><H3>
+getEncrypt</H3>
+<PRE>
+public boolean <B>getEncrypt</B>()</PRE>
+<DL>
+<DD>Get the value of the <code>encrypt</code> member.<DD><DL>
+<DT><B>Returns:</B><DD><code>boolean</code>            Encryption on or off.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setPath(java.lang.String)"><!-- --></A><H3>
+setPath</H3>
+<PRE>
+public void <B>setPath</B>(java.lang.String&nbsp;p_path)</PRE>
+<DL>
+<DD>Set the value of the <code>path</code> member.  This is the
+ path that will be used in the POST method.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_path</code></CODE> - Path on server.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="doRequest(java.lang.String)"><!-- --></A><H3>
+doRequest</H3>
+<PRE>
+public boolean <B>doRequest</B>(java.lang.String&nbsp;from)
+                  throws java.io.IOException</PRE>
+<DL>
+</DL>
+<HR>
+
+<A NAME="doRequest()"><!-- --></A><H3>
+doRequest</H3>
+<PRE>
+public boolean <B>doRequest</B>()
+                  throws java.io.IOException</PRE>
+<DL>
+<DD>Do a CUPS request to the server.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_dest</code></CODE> - Destination name.<DT><B>Returns:</B><DD><code>boolean</code>            True on success, false otherwise</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="doRequest(java.io.File)"><!-- --></A><H3>
+doRequest</H3>
+<PRE>
+public boolean <B>doRequest</B>(java.io.File&nbsp;file)
+                  throws java.io.IOException</PRE>
+<DL>
+<DD>Send a FILE to the CUPS server.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>file</code></CODE> - File to send.<DT><B>Returns:</B><DD><code>boolean</code>            True on success, false otherwise</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="cupsGetJobs(boolean, boolean)"><!-- --></A><H3>
+cupsGetJobs</H3>
+<PRE>
+public <A HREF="../../../com/easysw/cups/CupsJob.html">CupsJob</A>[] <B>cupsGetJobs</B>(boolean&nbsp;showMyJobs,
+                             boolean&nbsp;showCompleted)
+                      throws java.io.IOException</PRE>
+<DL>
+<DD>Get a list of jobs.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>showMyJobs</code></CODE> - Show only jobs for user.<DD><CODE><code>showCompleted</code></CODE> - Show completed OR active jobs.<DT><B>Returns:</B><DD><code>CupsJob[]</code>             Array of job objects, or null.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="cupsGetPrinters()"><!-- --></A><H3>
+cupsGetPrinters</H3>
+<PRE>
+public java.lang.String[] <B>cupsGetPrinters</B>()
+                                   throws java.io.IOException</PRE>
+<DL>
+<DD>Get a list of printers.<DD><DL>
+<DT><B>Returns:</B><DD><code>String[]</code>           Array of printers, or null.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="cupsGetDefault()"><!-- --></A><H3>
+cupsGetDefault</H3>
+<PRE>
+public java.lang.String <B>cupsGetDefault</B>()
+                                throws java.io.IOException</PRE>
+<DL>
+<DD>Get default destination.<DD><DL>
+<DT><B>Returns:</B><DD><code>String</code>     Name of default printer, or null.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="cupsGetPrinterAttributes(java.lang.String)"><!-- --></A><H3>
+cupsGetPrinterAttributes</H3>
+<PRE>
+public java.util.List <B>cupsGetPrinterAttributes</B>(java.lang.String&nbsp;printer_name)
+                                        throws java.io.IOException</PRE>
+<DL>
+<DD>Get printer attributes<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>printer_name</code></CODE> - Name of printer to get info for.<DT><B>Returns:</B><DD><code>List</code>            List of attributes.<DT><B>See Also: </B><DD><code>CupsPrinter</code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="cupsPrintFile(java.lang.String, com.easysw.cups.IPPAttribute[])"><!-- --></A><H3>
+cupsPrintFile</H3>
+<PRE>
+public <A HREF="../../../com/easysw/cups/CupsJob.html">CupsJob</A> <B>cupsPrintFile</B>(java.lang.String&nbsp;p_filename,
+                             <A HREF="../../../com/easysw/cups/IPPAttribute.html">IPPAttribute</A>[]&nbsp;p_attrs)
+                      throws java.io.IOException</PRE>
+<DL>
+<DD>Print a file.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>p_filename</code></CODE> - Path of file to print.<DD><CODE><code>p_attrs[]</code></CODE> - Array of print job attributes.<DT><B>Returns:</B><DD><code>CupsJob</code>             Object with job info.<DT><B>See Also: </B><DD><code>CupsJob</code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="cupsCancelJob(java.lang.String, int, java.lang.String)"><!-- --></A><H3>
+cupsCancelJob</H3>
+<PRE>
+public int <B>cupsCancelJob</B>(java.lang.String&nbsp;printer_name,
+                         int&nbsp;p_job_id,
+                         java.lang.String&nbsp;p_user_name)
+                  throws java.io.IOException</PRE>
+<DL>
+<DD>Cancel a job - send a job cancel request to the server.<DD><DL>
+<DT><B>Parameters:</B><DD><CODE><code>printer_name</code></CODE> - Destination.<DD><CODE><code>p_job_id</code></CODE> - ID of job.<DD><CODE><code>p_user_name</code></CODE> - Requesting user name.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="cupsGetPrinterStatus(java.lang.String)"><!-- --></A><H3>
+cupsGetPrinterStatus</H3>
+<PRE>
+public java.util.List <B>cupsGetPrinterStatus</B>(java.lang.String&nbsp;printer_name)
+                                    throws java.io.IOException</PRE>
+<DL>
+</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=2 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="package-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;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../com/easysw/cups/CupsJob.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="Cups.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY: &nbsp;INNER&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>