public final class PrintQueueInfo extends Object implements Serializable
The PrintQueueInfo class contains the details of a remote print queue on a remote print server.
A list of remote print queues is returned by the AdminSession.getPrintList () method.
Modifier and Type | Field and Description |
---|---|
static int |
QueueActive |
static int |
QueueDelPending |
static int |
QueueError |
static int |
QueuePaused |
Constructor and Description |
---|
PrintQueueInfo(String qname)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Return the queue comment.
|
String |
getDeviceDriver()
Return the printer queue device driver name
|
String |
getDriverData()
Return the printer queue device driver data string
|
int |
getJobCount()
Return the count of jobs in the print queue
|
String |
getParameterString()
Return the printer queue parameter string
|
String |
getPreProcessor()
Return the print queue pre-processor.
|
String |
getPrinterList()
Return the list of print destinations
|
int |
getPriority()
Return the queue priority.
|
String |
getQueueName()
Return the queue name
|
String |
getSeperatorPage()
Return the seperator page file name
|
int |
getStartTime()
Return the queue start time, as the number of minutes since midnight.
|
int |
getStatus()
Return the queue status.
|
String |
getStatusString()
Return the queue status as a string
|
static String |
getStatusString(int s)
Return the queue status as a string
|
int |
getStopTime()
Return the queue stop time, as the number of minutes since midnight.
|
void |
setComment(String comment)
Set the queue comment.
|
void |
setJobCount(int jobs)
Set the pending print job count for the queue
|
void |
setParameterString(String prm)
Set the printer parameters string
|
void |
setPreProcessor(String pre)
Set the queue pre-processor
|
void |
setPrinterList(String prn)
Set the printer queue destination print device(s)
|
void |
setPriority(int pri)
Set the queue priority
|
void |
setSeperatorPage(String sep)
Set the seperator page details
|
void |
setStartTime(int startMin)
Set the queue start time, in minutes since midnight.
|
void |
setStatus(int sts)
Set the queue status
|
void |
setStopTime(int stopMin)
Set the queue stop time, in minutes since midnight.
|
String |
toString()
Output the printer queue information as a string
|
public static final int QueueActive
public static final int QueuePaused
public static final int QueueError
public static final int QueueDelPending
public PrintQueueInfo(String qname)
qname
- Name of the print queuepublic String getComment()
public final String getDeviceDriver()
public final String getDriverData()
public final int getJobCount()
public final String getParameterString()
public final String getPreProcessor()
public final String getPrinterList()
public final int getPriority()
public final String getQueueName()
public final String getSeperatorPage()
public final int getStartTime()
public final int getStatus()
public final String getStatusString()
public static final String getStatusString(int s)
public final int getStopTime()
public void setComment(String comment)
comment
- java.lang.Stringpublic final void setJobCount(int jobs)
jobs
- Number of pending print jobspublic final void setParameterString(String prm)
prm
- Printer parameters string.public final void setPreProcessor(String pre)
pre
- Queeu pre-processorpublic final void setPrinterList(String prn)
prn
- Destination print device listpublic final void setPriority(int pri)
pri
- Queue priority, 1 is the highest priority and 9 is the lowest priority.public final void setSeperatorPage(String sep)
sep
- Seperator page detailspublic void setStartTime(int startMin)
startMin
- intpublic final void setStatus(int sts)
sts
- Queue statuspublic void setStopTime(int stopMin)
stopMin
- intCopyright © 2005–2017 Alfresco Software. All rights reserved.