com.starla.smb
Class SMBPrintQueueInfo

java.lang.Object
  |
  +--com.starla.smb.SMBPrintQueueInfo

public final class SMBPrintQueueInfo
extends java.lang.Object

SMB print queue information class

The SMBPrintQueueInfo class contains the details of a remote print queue on a remote print server.

A list of remote print queues is returned by the SMBAdminSession.getPrintList () method.


Field Summary
static int QueueActive
          Remote print queue is active
static int QueueDelPending
          Remote print queue has a delete pending
static int QueueError
          Remote print queue has an error
static int QueuePaused
          Remote print queue is paused
 
Method Summary
 java.lang.String getDeviceDriver()
          Return the printer queue device driver name
 java.lang.String getDriverData()
          Return the printer queue device driver data string
 int getJobCount()
          Return the count of jobs in the print queue
 java.lang.String getParameterString()
          Return the printer queue parameter string
 java.lang.String getPreProcessor()
          Return the print queue pre-processor.
 java.lang.String getPrinterList()
          Return the list of print destinations
 int getPriority()
          Return the queue priority.
 java.lang.String getQueueName()
          Return the queue name
 java.lang.String getSeperatorPage()
          Return the seperator page file name
 int getStartTime()
          Return the queue start time, as the number of seconds since midnight.
 int getStatus()
          Return the queue status.
 java.lang.String getStatusString()
          Return the queue status as a string
 int getStopTime()
          Return the queue stop time, as the number of seconds since midnight.
 java.lang.String toString()
          Output the printer queue information as a string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QueueActive

public static final int QueueActive
Remote print queue is active

QueuePaused

public static final int QueuePaused
Remote print queue is paused

QueueError

public static final int QueueError
Remote print queue has an error

QueueDelPending

public static final int QueueDelPending
Remote print queue has a delete pending
Method Detail

getDeviceDriver

public final java.lang.String getDeviceDriver()
Return the printer queue device driver name
Returns:
Printer device driver name

getDriverData

public final java.lang.String getDriverData()
Return the printer queue device driver data string
Returns:
Printer device driver data string

getJobCount

public final int getJobCount()
Return the count of jobs in the print queue
Returns:
Count of jobs in the print queue

getParameterString

public final java.lang.String getParameterString()
Return the printer queue parameter string
Returns:
Printer queue parameter string

getPreProcessor

public final java.lang.String getPreProcessor()
Return the print queue pre-processor. A null string indicates the default pre-processor.
Returns:
Print queue pre-processor

getPrinterList

public final java.lang.String getPrinterList()
Return the list of print destinations
Returns:
Print destination list

getPriority

public final int getPriority()
Return the queue priority. A value of 1 indidcates the highest priority and a value of 9 indicates the lowest priority.
Returns:
Queue priority

getQueueName

public final java.lang.String getQueueName()
Return the queue name
Returns:
Queue name string

getSeperatorPage

public final java.lang.String getSeperatorPage()
Return the seperator page file name
Returns:
Seperator page file name

getStartTime

public final int getStartTime()
Return the queue start time, as the number of seconds since midnight.
Returns:
Queue start time

getStatus

public final int getStatus()
Return the queue status. The value is one of QueueActive, QueuePaused, QueueError or QueueDelPending.
Returns:
Print queue status

getStatusString

public final java.lang.String getStatusString()
Return the queue status as a string
Returns:
Queue status string

getStopTime

public final int getStopTime()
Return the queue stop time, as the number of seconds since midnight.
Returns:
Queue stop time.

toString

public final java.lang.String toString()
Output the printer queue information as a string
Returns:
Printer queue information string
Overrides:
toString in class java.lang.Object