|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ibm.as400.access.ISeriesPrinter
Represents a printer attached to an iSeries system. This class provides access to the specified printer's attributes via the QGYRPRTA system API.
To determine a list of printer device descriptions on the iSeries system,
use the ConfigurationDescriptionList class.
This class uses the remote command host server to obtain printer information.
Use the Printer class to retrieve
similer information using the network print host server.
Example:
AS400 system = new AS400("mySystem", "myUserID", "myPassword");
ISeriesPrinter printer = new ISeriesPrinter(system, "myPrinter");
String type = printer.getPrinterDeviceType();
if (type == ISeriesPrinter.PRINTER_DEVICE_TYPE_SCS)
{
System.out.println(printer.getCopiesLeft());
}
Printer,
com.ibm.as400.access.config.ConfigurationDescriptionList,
com.ibm.as400.access.config.PrinterDeviceDescription,
Serialized Form| Field Summary | |
static int |
DEVICE_STATUS_ACTIVE
Constant representing a value of 60. |
static int |
DEVICE_STATUS_ACTIVE_READER
Constant representing a value of 63. |
static int |
DEVICE_STATUS_ACTIVE_WRITER
Constant representing a value of 66. |
static int |
DEVICE_STATUS_AS36_DISABLED
Constant representing a value of 5. |
static int |
DEVICE_STATUS_AS36_ENABLED
Constant representing a value of 62. |
static int |
DEVICE_STATUS_CONNECT_PENDING
Constant representing a value of 40. |
static int |
DEVICE_STATUS_DAMAGED
Constant representing a value of 111. |
static int |
DEVICE_STATUS_DIAGNOSTIC_MODE
Constant representing a value of 110. |
static int |
DEVICE_STATUS_FAILED
Constant representing a value of 100. |
static int |
DEVICE_STATUS_FAILED_READER
Constant representing a value of 103. |
static int |
DEVICE_STATUS_FAILED_WRITER
Constant representing a value of 106. |
static int |
DEVICE_STATUS_HELD
Constant representing a value of 70. |
static int |
DEVICE_STATUS_LOCKED
Constant representing a value of 112. |
static int |
DEVICE_STATUS_POWERED_OFF
Constant representing a value of 75. |
static int |
DEVICE_STATUS_RCYCNL
Constant representing a value of 90. |
static int |
DEVICE_STATUS_RCYPND
Constant representing a value of 80. |
static int |
DEVICE_STATUS_SIGNON_DISPLAY
Constant representing a value of 50. |
static int |
DEVICE_STATUS_SYSTEM_REQUEST
Constant representing a value of 95. |
static int |
DEVICE_STATUS_UNKNOWN
Constant representing a value of 113. |
static int |
DEVICE_STATUS_VARIED_OFF
Constant representing a value of 0. |
static int |
DEVICE_STATUS_VARIED_ON
Constant representing a value of 30. |
static int |
DEVICE_STATUS_VARY_OFF_PENDING
Constant representing a value of 10. |
static int |
DEVICE_STATUS_VARY_ON_PENDING
Constant representing a value of 20. |
static java.lang.String |
FORM_ALIGNMENT_FILE
Constant representing a value of "*FILE". |
static java.lang.String |
FORM_ALIGNMENT_WRITER
Constant representing a value of "*WTR". |
static java.lang.String |
FORM_TYPE_ALL
Constant representing a value of "*ALL". |
static java.lang.String |
FORM_TYPE_FORMS
Constant representing a value of "*FORMS". |
static java.lang.String |
FORM_TYPE_STANDARD
Constant representing a value of "*STD". |
static java.lang.String |
MESSAGE_OPTION_INFO
Constant representing a value of "*INFOMSG". |
static java.lang.String |
MESSAGE_OPTION_INQUIRY
Constant representing a value of "*INQMSG". |
static java.lang.String |
MESSAGE_OPTION_NONE
Constant representing a value of "*NOMSG". |
static java.lang.String |
MESSAGE_OPTION_STANDARD
Constant representing a value of "*MSG". |
static int |
OUTPUT_QUEUE_STATUS_HELD
Constant representing an EBCDIC value of "H". |
static int |
OUTPUT_QUEUE_STATUS_RELEASED
Constant representing an EBCDIC value of "R". |
static int |
OVERALL_STATUS_BEING_SERVICED
Constant representing a value of 15. |
static int |
OVERALL_STATUS_CONNECT_PENDING
Constant representing a value of 12. |
static int |
OVERALL_STATUS_HELD
Constant representing a value of 5. |
static int |
OVERALL_STATUS_HOLD_PENDING
Constant representing a value of 7. |
static int |
OVERALL_STATUS_MESSAGE_WAITING
Constant representing a value of 4. |
static int |
OVERALL_STATUS_NOT_YET_AVAILABLE
Constant representing a value of 2. |
static int |
OVERALL_STATUS_POWERED_OFF
Constant representing a value of 13. |
static int |
OVERALL_STATUS_PRINTING
Constant representing a value of 10. |
static int |
OVERALL_STATUS_STOP_PENDING
Constant representing a value of 6. |
static int |
OVERALL_STATUS_STOPPED
Constant representing a value of 3. |
static int |
OVERALL_STATUS_UNAVAILABLE
Constant representing a value of 1. |
static int |
OVERALL_STATUS_UNKNOWN
Constant representing a value of 999. |
static int |
OVERALL_STATUS_UNUSABLE
Constant representing a value of 14. |
static int |
OVERALL_STATUS_WAITING_FOR_PRINTER
Constant representing a value of 8. |
static int |
OVERALL_STATUS_WAITING_FOR_PRINTER_OUTPUT
Constant representing a value of 11. |
static int |
OVERALL_STATUS_WAITING_TO_START
Constant representing a value of 9. |
static int |
PENDING_STATUS_CONTROLLED
Constant representing an EBCDIC value of "C". |
static int |
PENDING_STATUS_IMMEDIATE
Constant representing an EBCDIC value of "I". |
static int |
PENDING_STATUS_NONE
Constant representing an EBCDIC value of "N". |
static int |
PENDING_STATUS_PAGE_END
Constant representing an EBCDIC value of "P". |
static java.lang.String |
PRINTER_DEVICE_TYPE_IPDS
Constant representing a value of "*IPDS". |
static java.lang.String |
PRINTER_DEVICE_TYPE_SCS
Constant representing a value of "*SCS". |
static int |
WRITER_STATUS_ENDED
Constant representing a value of 2. |
static int |
WRITER_STATUS_HELD
Constant representing a value of 4. |
static int |
WRITER_STATUS_MESSAGE_WAITING
Constant representing a value of 5. |
static int |
WRITER_STATUS_ON_JOB_QUEUE
Constant representing a value of 3. |
static int |
WRITER_STATUS_STARTED
Constant representing a value of 1. |
static java.lang.String |
WRITER_TIME_ALL_DONE
Constant representing a value of "*NORDYF". |
static java.lang.String |
WRITER_TIME_CURRENT_DONE
Constant representing a value of "*FILEEND". |
static java.lang.String |
WRITER_TIME_NONE
Constant representing a value of "". |
static java.lang.String |
WRITER_TIME_WAIT
Constant representing a value of "*NO". |
static int |
WRITING_STATUS_FILE_SEPARATORS
Constant representing an EBCDIC value of "S". |
static int |
WRITING_STATUS_NOT_WRITING
Constant representing an EBCDIC value of "N". |
static int |
WRITING_STATUS_WRITING
Constant representing an EBCDIC value of "Y". |
| Constructor Summary | |
ISeriesPrinter(AS400 system,
java.lang.String name)
Constructs an ISeriesPrinter object with the specified name. |
|
| Method Summary | |
boolean |
allowsDirectPrinting()
Returns whether or not the printer writer allows the printer to be allocated to a job that prints directly to the printer. |
boolean |
equals(java.lang.Object obj)
Returns whether or not the specified object is equal to this object. |
int |
getCopiesLeft()
Returns the number of copies left to be printed. |
java.lang.String |
getDescription()
Returns the text description of the printer device. |
int |
getDeviceStatus()
Returns the status of the printer device. |
int |
getEndPendingStatus()
Returns whether an End Writer (ENDWTR) command has been issued for this writer. |
java.lang.String |
getFormAlignmentMessageTime()
Returns the time at which the forms alignment message will be sent. |
java.lang.String |
getFormType()
Returns the type of form being used to print the spooled file. |
int |
getHoldPendingStatus()
Returns whether a Hold Writer (HLDWTR) command has been issued for this writer. |
java.lang.String |
getMessageOption()
Returns the message option for sending a message to the message queue when this form is finished. |
java.lang.String |
getMessageQueue()
Returns the fully qualified integrated file system pathname of the message queue associated with this printer. |
java.lang.String |
getName()
Returns the name of this printer. |
int |
getNumberOfSeparators()
Returns the number of separator pages to be printed. |
java.lang.String |
getOutputQueue()
Returns the fully qualified integrated file system pathname of the output queue associated with this printer from which spooled files are selected for printing. |
int |
getOutputQueueStatus()
Returns the status of the output queue from which spooled files are being selected for printing. |
int |
getOverallStatus()
Returns the overall status of the logical printer. |
int |
getPageBeingWritten()
Returns the page number in the spooled file that is currently being processed by the writer. |
java.lang.String |
getPendingFormType()
Returns the name of the next form type to be printed. |
java.lang.String |
getPendingMessageOption()
Returns the message option for sending a message to the message queue when the next form type is finished. |
int |
getPendingNumberOfSeparators()
Returns the next number of separator pages to be printed when the change to the writer takes place. |
java.lang.String |
getPendingOutputQueue()
Returns the fully qualified integrated file system pathname of the next output queue. |
int |
getPendingSeparatorDrawer()
Returns the drawer from which to take the separator pages if there is a change to the writer. |
java.lang.String |
getPrinterDeviceType()
Returns the type of printer being used to print the spooled file. |
int |
getSeparatorDrawer()
Returns the drawer from which the job and file separator pages are to be taken. |
java.util.Date |
getSpooledFileCreationDate()
Returns the date and time the spooled file was created on the system. |
java.lang.String |
getSpooledFileJobName()
Returns the name of the job that created the spooled file currently being processed by the writer. |
java.lang.String |
getSpooledFileJobNumber()
Returns the number of the job that created the spooled file currently being processed by the writer. |
java.lang.String |
getSpooledFileJobSystem()
Returns the name of the system where the job that created the spooled file ran. |
java.lang.String |
getSpooledFileJobUser()
Returns the user of the job that created the spooled file currently being processed by the writer. |
java.lang.String |
getSpooledFileName()
Returns the name of the spooled file currently being processed by the writer. |
int |
getSpooledFileNumber()
Returns the number of the spooled file currently being processed by the writer. |
java.lang.String |
getStarterUser()
Returns the name of the user that started the writer. |
AS400 |
getSystem()
Returns the system. |
int |
getTotalCopies()
Returns the total number of copies to be printed. |
int |
getTotalPages()
Returns the total number of pages in the spooled file. |
java.lang.String |
getWriterChangeTime()
Returns the time at which the pending changes to the writer take effect. |
java.lang.String |
getWriterEndTime()
Returns when to end the writer if it is to end automatically. |
java.lang.String |
getWriterJobName()
Returns the job name of the printer writer. |
java.lang.String |
getWriterJobNumber()
Returns the job number of the printer writer. |
java.lang.String |
getWriterJobUser()
Returns the name of the system user. |
byte[] |
getWriterMessageKey()
Returns the key to the message that the writer is waiting for a reply. |
int |
getWriterStatus()
Returns the status of the writer for this printer. |
int |
getWritingStatus()
Returns whether the printer writer is in writing status. |
int |
hashCode()
Returns the hash code value for the name of this ISeriesPrinter object. |
boolean |
isBetweenCopies()
Returns whether the writer is between copies of a multiple copy spooled file. |
boolean |
isBetweenFiles()
Returns whether the writer is between spooled files. |
boolean |
isHeld()
Returns whether the writer is held. |
boolean |
isOnJobQueue()
Returns whether the writer is on a job queue and is not currently running. |
boolean |
isPublishedInNetworkDirectory()
Returns whether the printer is published in the network directory. |
boolean |
isWaitingForData()
Returns whether the writer has written all the data currently in the spooled file and is waiting for more data. |
boolean |
isWaitingForDevice()
Returns whether the writer is waiting to get the device from a job that is printing directly to the printer. |
boolean |
isWaitingForMessage()
Returns whether the writer is waiting for a reply to an inquiry message. |
boolean |
isWriterStarted()
Returns whether the writer is started for this printer. |
void |
refresh()
Refreshes the information about this printer object from the system. |
boolean |
supportsAFP()
Returns whether the printer supports Advanced Function Printing. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DEVICE_STATUS_VARIED_OFF
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_AS36_DISABLED
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_VARY_OFF_PENDING
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_VARY_ON_PENDING
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_VARIED_ON
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_CONNECT_PENDING
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_SIGNON_DISPLAY
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_ACTIVE
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_AS36_ENABLED
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_ACTIVE_READER
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_ACTIVE_WRITER
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_HELD
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_POWERED_OFF
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_RCYPND
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_RCYCNL
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_SYSTEM_REQUEST
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_FAILED
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_FAILED_READER
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_FAILED_WRITER
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_DIAGNOSTIC_MODE
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_DAMAGED
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_LOCKED
getDeviceStatus(),
Constant Field Valuespublic static final int DEVICE_STATUS_UNKNOWN
getDeviceStatus(),
Constant Field Valuespublic static final java.lang.String FORM_ALIGNMENT_WRITER
getFormAlignmentMessageTime(),
Constant Field Valuespublic static final java.lang.String FORM_ALIGNMENT_FILE
getFormAlignmentMessageTime(),
Constant Field Valuespublic static final java.lang.String FORM_TYPE_ALL
getFormType(),
Constant Field Valuespublic static final java.lang.String FORM_TYPE_FORMS
getFormType(),
Constant Field Valuespublic static final java.lang.String FORM_TYPE_STANDARD
getFormType(),
Constant Field Valuespublic static final java.lang.String MESSAGE_OPTION_NONE
getMessageOption(),
Constant Field Valuespublic static final java.lang.String MESSAGE_OPTION_STANDARD
getMessageOption(),
Constant Field Valuespublic static final java.lang.String MESSAGE_OPTION_INFO
getMessageOption(),
Constant Field Valuespublic static final java.lang.String MESSAGE_OPTION_INQUIRY
getMessageOption(),
Constant Field Valuespublic static final int OUTPUT_QUEUE_STATUS_HELD
getOutputQueueStatus(),
Constant Field Valuespublic static final int OUTPUT_QUEUE_STATUS_RELEASED
getOutputQueueStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_UNAVAILABLE
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_NOT_YET_AVAILABLE
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_STOPPED
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_MESSAGE_WAITING
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_HELD
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_STOP_PENDING
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_HOLD_PENDING
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_WAITING_FOR_PRINTER
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_WAITING_TO_START
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_PRINTING
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_WAITING_FOR_PRINTER_OUTPUT
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_CONNECT_PENDING
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_POWERED_OFF
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_UNUSABLE
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_BEING_SERVICED
getOverallStatus(),
Constant Field Valuespublic static final int OVERALL_STATUS_UNKNOWN
getOverallStatus(),
Constant Field Valuespublic static final int PENDING_STATUS_NONE
getEndPendingStatus(),
getHoldPendingStatus(),
Constant Field Valuespublic static final int PENDING_STATUS_IMMEDIATE
getEndPendingStatus(),
getHoldPendingStatus(),
Constant Field Valuespublic static final int PENDING_STATUS_CONTROLLED
getEndPendingStatus(),
getHoldPendingStatus(),
Constant Field Valuespublic static final int PENDING_STATUS_PAGE_END
getEndPendingStatus(),
getHoldPendingStatus(),
Constant Field Valuespublic static final java.lang.String PRINTER_DEVICE_TYPE_SCS
getPrinterDeviceType(),
Constant Field Valuespublic static final java.lang.String PRINTER_DEVICE_TYPE_IPDS
getPrinterDeviceType(),
Constant Field Valuespublic static final int WRITER_STATUS_STARTED
getWriterStatus(),
Constant Field Valuespublic static final int WRITER_STATUS_ENDED
getWriterStatus(),
Constant Field Valuespublic static final int WRITER_STATUS_ON_JOB_QUEUE
getWriterStatus(),
Constant Field Valuespublic static final int WRITER_STATUS_HELD
getWriterStatus(),
Constant Field Valuespublic static final int WRITER_STATUS_MESSAGE_WAITING
getWriterStatus(),
Constant Field Valuespublic static final java.lang.String WRITER_TIME_ALL_DONE
getWriterChangeTime(),
getWriterEndTime(),
Constant Field Valuespublic static final java.lang.String WRITER_TIME_CURRENT_DONE
getWriterChangeTime(),
getWriterEndTime(),
Constant Field Valuespublic static final java.lang.String WRITER_TIME_WAIT
getWriterChangeTime(),
getWriterEndTime(),
Constant Field Valuespublic static final java.lang.String WRITER_TIME_NONE
getWriterChangeTime(),
getWriterEndTime(),
Constant Field Valuespublic static final int WRITING_STATUS_WRITING
getWritingStatus(),
Constant Field Valuespublic static final int WRITING_STATUS_NOT_WRITING
getWritingStatus(),
Constant Field Valuespublic static final int WRITING_STATUS_FILE_SEPARATORS
getWritingStatus(),
Constant Field Values| Constructor Detail |
public ISeriesPrinter(AS400 system,
java.lang.String name)
refresh() is called, either implicitly or explicitly.
system - The system.name - The name of the printer.| Method Detail |
public boolean allowsDirectPrinting()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj.getSystem().equals(this.getSystem()) && obj.getName().equals(this.getName())Otherwise, false is returned.
public int getCopiesLeft()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getDescription()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getDeviceStatus()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
DEVICE_STATUS_VARIED_OFF
DEVICE_STATUS_AS36_DISABLED
DEVICE_STATUS_VARY_OFF_PENDING
DEVICE_STATUS_VARY_ON_PENDING
DEVICE_STATUS_VARIED_ON
DEVICE_STATUS_CONNECT_PENDING
DEVICE_STATUS_SIGNON_DISPLAY
DEVICE_STATUS_ACTIVE
DEVICE_STATUS_AS36_ENABLED
DEVICE_STATUS_ACTIVE_READER
DEVICE_STATUS_ACTIVE_WRITER
DEVICE_STATUS_HELD
DEVICE_STATUS_POWERED_OFF
DEVICE_STATUS_RCYPND
DEVICE_STATUS_RCYCNL
DEVICE_STATUS_SYSTEM_REQUEST
DEVICE_STATUS_FAILED
DEVICE_STATUS_FAILED_READER
DEVICE_STATUS_FAILED_WRITER
DEVICE_STATUS_DIAGNOSTIC_MODE
DEVICE_STATUS_DAMAGED
DEVICE_STATUS_LOCKED
DEVICE_STATUS_UNKNOWN
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getEndPendingStatus()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
PENDING_STATUS_NONE - No ENDWTR command was issued.
PENDING_STATUS_IMMEDIATE - The writer ends as soon as its output buffers are empty.
PENDING_STATUS_CONTROLLED - The writer ends after the current copy of the spooled file has been printed.
PENDING_STATUS_PAGE_END - The writer ends at the end of the page.
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getFormAlignmentMessageTime()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getFormType()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
FORM_TYPE_ALL
FORM_TYPE_FORMS
FORM_TYPE_STANDARD
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getHoldPendingStatus()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
PENDING_STATUS_NONE - No HLDWTR command was issued.
PENDING_STATUS_IMMEDIATE - The writer is held as soon as its output buffers are empty.
PENDING_STATUS_CONTROLLED - The writer is held after the current copy of the file has been printed.
PENDING_STATUS_PAGE_END - The writer is held at the end of the page.
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getMessageOption()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
MESSAGE_OPTION_STANDARD - A message is sent to the message queue.
MESSAGE_OPTION_NONE - No message is sent to the message queue.
MESSAGE_OPTION_INFO - An informational message is sent to the message queue.
MESSAGE_OPTION_INQUIRY - An inquiry message is sent to the message queue.
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getMessageQueue()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptionMessageQueuepublic java.lang.String getName()
ISeriesPrinter(com.ibm.as400.access.AS400, java.lang.String)
public int getNumberOfSeparators()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getOutputQueue()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptionOutputQueue
public int getOutputQueueStatus()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
OUTPUT_QUEUE_STATUS_HELD - The output queue is held.
OUTPUT_QUEUE_STATUS_RELEASED - The output queue is released.
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getOverallStatus()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
OVERALL_STATUS_UNAVAILABLE
OVERALL_STATUS_NOT_YET_AVAILABLE
OVERALL_STATUS_STOPPED
OVERALL_STATUS_MESSAGE_WAITING
OVERALL_STATUS_HELD
OVERALL_STATUS_STOP_PENDING
OVERALL_STATUS_HOLD_PENDING
OVERALL_STATUS_WAITING_FOR_PRINTER
OVERALL_STATUS_WAITING_TO_START
OVERALL_STATUS_PRINTING
OVERALL_STATUS_WAITING_FOR_PRINTER_OUTPUT
OVERALL_STATUS_CONNECT_PENDING
OVERALL_STATUS_POWERED_OFF
OVERALL_STATUS_UNUSABLE
OVERALL_STATUS_BEING_SERVICED
OVERALL_STATUS_UNKNOWN
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getPageBeingWritten()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getPendingFormType()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
FORM_TYPE_ALL - The writer is changed with the option to print all spooled files of any form type.
FORM_TYPE_FORMS - The writer is changed with the option to print all the spooled files with the same form type before using a different form type.
FORM_TYPE_STANDARD - The writer is changed with the option to print all the spooled files with a form type of *STD.
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptiongetFormType()
public java.lang.String getPendingMessageOption()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
MESSAGE_OPTION_STANDARD - A message is sent to the message queue.
MESSAGE_OPTION_NONE - No message is sent to the message queue.
MESSAGE_OPTION_INFO - An informational message is sent to the message queue.
MESSAGE_OPTION_INQUIRY - An inquiry message is sent to the message queue.
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptiongetMessageOption()
public int getPendingNumberOfSeparators()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptiongetNumberOfSeparators()
public java.lang.String getPendingOutputQueue()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptiongetOutputQueue(),
OutputQueue
public int getPendingSeparatorDrawer()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptiongetSeparatorDrawer(),
com.ibm.as400.access.config.PrinterDeviceDescription
public java.lang.String getPrinterDeviceType()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
DEVICE_TYPE_SCS - SNA (Systems Network Architecture) character string.
DEVICE_TYPE_IPDS - Intelligent Printer Data Stream (tm).
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getSeparatorDrawer()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptioncom.ibm.as400.access.config.PrinterDeviceDescription
public java.util.Date getSpooledFileCreationDate()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getSpooledFileJobName()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptionJob
public java.lang.String getSpooledFileJobNumber()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptionJob
public java.lang.String getSpooledFileJobSystem()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getSpooledFileJobUser()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptionJob,
User
public java.lang.String getSpooledFileName()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getSpooledFileNumber()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getStarterUser()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptionUserpublic AS400 getSystem()
ISeriesPrinter(com.ibm.as400.access.AS400, java.lang.String)
public int getTotalCopies()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getTotalPages()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getWriterChangeTime()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getWriterEndTime()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public java.lang.String getWriterJobName()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptiongetWriterJobNumber(),
getWriterJobUser(),
Job
public java.lang.String getWriterJobNumber()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptiongetWriterJobName(),
getWriterJobUser(),
Job
public java.lang.String getWriterJobUser()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptiongetWriterJobName(),
getWriterJobNumber(),
Job,
User
public byte[] getWriterMessageKey()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getWriterStatus()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
WRITER_STATUS_STARTED
WRITER_STATUS_ENDED
WRITER_STATUS_ON_JOB_QUEUE
WRITER_STATUS_HELD
WRITER_STATUS_MESSAGE_WAITING
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public int getWritingStatus()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
WRITING_STATUS_WRITING - The writer is in writing status.
WRITING_STATUS_NOT_WRITING - The writer is not in writing status.
WRITING_STATUS_FILE_SEPARATORS - The writer is writing the file separators.
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistExceptionpublic int hashCode()
hashCode in class java.lang.Object
public boolean isBetweenCopies()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean isBetweenFiles()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean isHeld()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean isOnJobQueue()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean isPublishedInNetworkDirectory()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean isWaitingForData()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean isWaitingForDevice()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean isWaitingForMessage()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean isWriterStarted()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public void refresh()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
public boolean supportsAFP()
throws AS400SecurityException,
ErrorCompletingRequestException,
java.io.IOException,
java.lang.InterruptedException,
ObjectDoesNotExistException
AS400SecurityException
ErrorCompletingRequestException
java.io.IOException
java.lang.InterruptedException
ObjectDoesNotExistException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||