|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gnu.jcifs.CifsPrintJobInfo
A CifsPrintJobInfo
contains informations about a print job.
(Corresponds to the structure PSJINFO_2).
Field Summary | |
static int |
PRJ_COMPLETE
Print job is complete |
static int |
PRJ_DESTCRTCHG
The printer is waiting for a cartridge change |
static int |
PRJ_DESTENCHG
The printer is waiting for a pen change |
static int |
PRJ_DESTFORMCHG
The printer is waiting for a form change |
static int |
PRJ_DESTNOPAPER
The print destination is out of paper |
static int |
PRJ_DESTOFFLINE
The print destination is offline |
static int |
PRJ_DESTPAUSED
The print destination is paused |
static int |
PRJ_ERROR
Print job is spooling |
static int |
PRJ_INTERV
An error occurred |
static int |
PRJ_NOTIFY
An alert is raised |
static int |
PRJ_PRINTING
An alert indicates the job was deleted |
static int |
PRJ_QS_PAUSED
Print job is paused |
static int |
PRJ_QS_PRINTING
Print job is printing, Print Job Status is valid |
static int |
PRJ_QS_QUEUED
Print job is queued |
static int |
PRJ_QS_SPOOLING
Print job is spooling |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares if the two object are the same (same Job ID) |
java.lang.String |
getComment()
Returns the comment about the print job |
java.lang.String |
getDocument()
Returns the name of the document |
int |
getJobId()
JobId uniquely specifies a print job within a printer queue. |
int |
getPosition()
Position specifies the position of the print job within the print queue. |
int |
getPrintJobQueueStatus()
Returns the status of the print queue. |
int |
getPrintJobStatus()
Returns the status of the print job. |
int |
getPriority()
Priority specifies the print job priority. |
long |
getSize()
Returns the size of the print job in terms of number of bytes. |
long |
getSubmittedTime()
Return the time when the user submitted the job. |
java.lang.String |
getUserName()
The user name specifies the name of the user who submitted the print job |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int PRJ_QS_QUEUED
public static final int PRJ_QS_PAUSED
public static final int PRJ_QS_SPOOLING
public static final int PRJ_QS_PRINTING
public static final int PRJ_COMPLETE
public static final int PRJ_INTERV
public static final int PRJ_ERROR
public static final int PRJ_DESTOFFLINE
public static final int PRJ_DESTPAUSED
public static final int PRJ_NOTIFY
public static final int PRJ_DESTNOPAPER
public static final int PRJ_DESTFORMCHG
public static final int PRJ_DESTCRTCHG
public static final int PRJ_DESTENCHG
public static final int PRJ_PRINTING
Method Detail |
public int getJobId()
public int getPriority()
public java.lang.String getUserName()
public int getPosition()
public int getPrintJobQueueStatus()
PRJ_QS_PRINTING
, the call getPrintJobStatus()
returns detailed status informations.public int getPrintJobStatus()
public long getSubmittedTime()
public long getSize()
public java.lang.String getComment()
public java.lang.String getDocument()
public boolean equals(java.lang.Object obj)
obj
- the object to testCifsPrintJobInfo
object
|
Norbert Hranitzky | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |