+++ /dev/null
-<!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> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
- <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>
- <A HREF="Cups.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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>
- 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 p_url)</CODE>
-
-<BR>
- Constructor using a <code>URL</code>.</TD>
-</TR>
-</TABLE>
-
-<!-- ========== 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> 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 printer_name,
- int p_job_id,
- java.lang.String p_user_name)</CODE>
-
-<BR>
- 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> java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#cupsGetDefault()">cupsGetDefault</A></B>()</CODE>
-
-<BR>
- Get default destination.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <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 showMyJobs,
- boolean showCompleted)</CODE>
-
-<BR>
- Get a list of jobs.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> 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 printer_name)</CODE>
-
-<BR>
- Get printer attributes</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.lang.String[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#cupsGetPrinters()">cupsGetPrinters</A></B>()</CODE>
-
-<BR>
- Get a list of printers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> 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 printer_name)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <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 p_filename,
- <A HREF="../../../com/easysw/cups/IPPAttribute.html">IPPAttribute</A>[] p_attrs)</CODE>
-
-<BR>
- Print a file.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#doRequest()">doRequest</A></B>()</CODE>
-
-<BR>
- 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> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#doRequest(java.io.File)">doRequest</A></B>(java.io.File file)</CODE>
-
-<BR>
- 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> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#doRequest(java.lang.String)">doRequest</A></B>(java.lang.String from)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#getEncrypt()">getEncrypt</A></B>()</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setDest(java.lang.String)">setDest</A></B>(java.lang.String p_dest)</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setEncrypt(boolean)">setEncrypt</A></B>(boolean p_encrypt)</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setInstance(java.lang.String)">setInstance</A></B>(java.lang.String p_instance)</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setPasswd(java.lang.String)">setPasswd</A></B>(java.lang.String p_passwd)</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setPath(java.lang.String)">setPath</A></B>(java.lang.String p_path)</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setPort(int)">setPort</A></B>(int p_port)</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setProtocol(java.lang.String)">setProtocol</A></B>(java.lang.String p_protocol)</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setServer(java.lang.String)">setServer</A></B>(java.lang.String p_server)</CODE>
-
-<BR>
- 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> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../com/easysw/cups/Cups.html#setUser(java.lang.String)">setUser</A></B>(java.lang.String p_user)</CODE>
-
-<BR>
- Set the value of the <code>user</code> member.</TD>
-</TR>
-</TABLE>
- <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>
-
-<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 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 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 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 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 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 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 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 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 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 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 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 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 showMyJobs,
- boolean 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 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 p_filename,
- <A HREF="../../../com/easysw/cups/IPPAttribute.html">IPPAttribute</A>[] 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 printer_name,
- int p_job_id,
- java.lang.String 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 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> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
- <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>
- <A HREF="Cups.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>