com.ibm.as400.access
Class PrintObject

java.lang.Object
  |
  +--com.ibm.as400.access.PrintObject
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AFPResource, OutputQueue, Printer, PrinterFile, SpooledFile, WriterJob

public abstract class PrintObject
extends java.lang.Object
implements java.io.Serializable

The PrintObject class is an abstract base class for the various types of network print objects.

See Also:
Serialized Form

Field Summary
static int ATTR_AFP
          Advanced function printing.
static int ATTR_AFP_RESOURCE
          AFP Resource integrated file system path.
static int ATTR_ALIGN
          Align page.
static int ATTR_ALIGNFORMS
          Align forms.
static int ATTR_ALWDRTPRT
          Allow direct print.
static int ATTR_AUTHCHCK
          Authority to check.
static int ATTR_AUTHORITY
          Authority.
static int ATTR_AUTOEND
          Automatically end writer.
static int ATTR_BACK_OVERLAY
          Back overlay integrated file system name.
static int ATTR_BKMGN_ACR
          Back margin offset across.
static int ATTR_BKMGN_DWN
          Back margin offset down.
static int ATTR_BKOVL_ACR
          Back overlay offset across.
static int ATTR_BKOVL_DWN
          Back overlay offset down.
static int ATTR_BTWNCPYSTS
          Between copies status.
static int ATTR_BTWNFILESTS
          Between files status.
static int ATTR_CHANGES
          Changes take effect.
static int ATTR_CHAR_ID
          Graphic character set.
static int ATTR_CODEDFNT
          Code font name.
static int ATTR_CODEDFNTLIB
          Coded font library name.
static int ATTR_CODEPAGE
          Code page.
static int ATTR_CONTROLCHAR
          Control character.
static int ATTR_CONVERT_LINEDATA
          Convert line data.
static int ATTR_COPIES
          Copies.
static int ATTR_COPIESLEFT
          Copies left to produce.
static int ATTR_CORNER_STAPLE
          Corner staple.
static int ATTR_CPI
          Characters per inch.
static int ATTR_CURPAGE
          Current page.
static int ATTR_DATA_QUEUE
          Data queue integrated file system name.
static int ATTR_DATAFORMAT
          Data format.
static int ATTR_DATE
          Date object created.
static int ATTR_DATE_END
          Date job created spooled file.
static int ATTR_DATE_WTR_BEGAN_FILE
          Date writer began processing spooled file.
static int ATTR_DATE_WTR_CMPL_FILE
          Date writer completed processing spooled filed.
static int ATTR_DBCSCPI
          DBCS characters per inch.
static int ATTR_DBCSDATA
          User specified DBCS data.
static int ATTR_DBCSEXTENSN
          DBCS extension characters.
static int ATTR_DBCSROTATE
          DBCS character rotation.
static int ATTR_DBCSSISO
          DBCS SO/SI spacing.
static int ATTR_DELETESPLF
          Delete file after sending.
static int ATTR_DESCRIPTION
          Text description.
static int ATTR_DESTINATION
          Destination type.
static int ATTR_DESTOPTION
          Destination option.
static int ATTR_DEVCLASS
          Device class.
static int ATTR_DEVMODEL
          Device model.
static int ATTR_DEVSTATUS
          Device status.
static int ATTR_DEVTYPE
          Device type.
static int ATTR_DFR_WRITE
          Defer write.
static int ATTR_DISPLAYANY
          Display any file.
static int ATTR_DRWRSEP
          Drawer for separators.
static int ATTR_DUPLEX
          Print on both sides.
static int ATTR_EDGESTITCH_NUMSTAPLES
          Edge stitch number of staples.
static int ATTR_EDGESTITCH_REF
          Edge stitch reference.
static int ATTR_EDGESTITCH_REFOFF
          Edge stitch reference offset.
static int ATTR_ENDPAGE
          Ending page.
static int ATTR_ENDPNDSTS
          End pending status.
static int ATTR_ENVLP_SOURCE
          Envelope Source.
static int ATTR_FIDELITY
          Print fidelity.
static int ATTR_FILESEP
          File separators.
static int ATTR_FOLDREC
          Fold records.
static int ATTR_FONTID
          Font identifier.
static int ATTR_FORM_DEFINITION
          Form definition integrated file system name.
static int ATTR_FORMFEED
          Form feed.
static int ATTR_FORMTYPE
          Form type.
static int ATTR_FORMTYPEMSG
          Form type message option.
static int ATTR_FRONT_OVERLAY
          Front overlay integrated file system name.
static int ATTR_FTMGN_ACR
          Front margin offset across.
static int ATTR_FTMGN_DWN
          Front margin offset down.
static int ATTR_FTOVL_ACR
          Front overlay offset across.
static int ATTR_FTOVL_DWN
          Front overlay offset down.
static int ATTR_HELDSTS
          Held status.
static int ATTR_HOLD
          Hold spool file.
static int ATTR_HOLDPNDSTS
          Hold pending status.
static int ATTR_HOLDTYPE
          When to hold file.
static int ATTR_IMGCFG
           Image Configuration .
static int ATTR_INTERNETADDR
          Internet address.
static int ATTR_IPP_ATTR_CCSID
          IPP Attributes-ccsid.
static int ATTR_IPP_ATTR_NL
          IPP Natural Language.
static int ATTR_IPP_JOB_ID
          IPP Job ID.
static int ATTR_IPP_JOB_NAME
          IPP Job Name .
static int ATTR_IPP_JOB_NAME_NL
          IPP Job Name NL.
static int ATTR_IPP_JOB_ORIGUSER
          IPP Job Originating user name .
static int ATTR_IPP_JOB_ORIGUSER_NL
          IPP Job Originating user name NL.
static int ATTR_IPP_PRINTER_NAME
          IPP Printer name.
static int ATTR_JOBNAME
          Job name.
static int ATTR_JOBNUMBER
          Job number.
static int ATTR_JOBSEPRATR
          Job separators.
static int ATTR_JOBSYSTEM
          System Job which created spooled file was running.
static int ATTR_JOBUSER
          Job user.
static int ATTR_JUSTIFY
          Hardware justification.
static int ATTR_LASTPAGE
          Last page printed.
static int ATTR_LIBRARY
          Library name.
static int ATTR_LINESPACING
          Line spacing.
static int ATTR_LPI
          Lines per inch.
static int ATTR_MAX_JOBS_PER_CLIENT
          Maximum jobs per client.
static int ATTR_MAXRCDS
          Maximum spooled output records.
static int ATTR_MEASMETHOD
          Measurement method.
static int ATTR_MESSAGE_QUEUE
          Message queue integrated file system name.
static int ATTR_MFGTYPE
          Manufacturer type and model.
static int ATTR_MSGHELP
          Message help.
static int ATTR_MSGID
          Message ID.
static int ATTR_MSGREPLY
          Message reply.
static int ATTR_MSGSEV
          Message severity.
static int ATTR_MSGTEXT
          Message text.
static int ATTR_MSGTYPE
          Message type.
static int ATTR_MULTI_ITEM_REPLY
          Multi-item reply capability.
static int ATTR_MULTIUP
          Pages per side.
static int ATTR_NETWORK
          Network where output was created.
static int ATTR_NPSCCSID
          NPS CCSID.
static int ATTR_NPSLEVEL
          NPS level.
static int ATTR_NUMBYTES
          Number of bytes to read/write.
static int ATTR_NUMBYTES_SPLF
          Number of bytes available in a stream or spooled file.
static int ATTR_NUMFILES
          Number of files.
static int ATTR_NUMWRITERS
          Number of writers started to queue
static int ATTR_OBJEXTATTR
          Object extended attribute.
static int ATTR_ONJOBQSTS
          On job queue status.
static int ATTR_OPCNTRL
          Operator controlled.
static int ATTR_OPENCMDS
          Open time commands.
static int ATTR_ORDER
          Order of files On queue.
static int ATTR_OUTPTY
          Output priority.
static int ATTR_OUTPUT_QUEUE
          Output queue integrated file system name.
static int ATTR_OUTPUTBIN
          Output bin.
static int ATTR_OUTQSTS
          Output queue status.
static int ATTR_OVERALLSTS
          Overall status of printer.
static int ATTR_OVERFLOW
          Overflow line number.
static int ATTR_PAGE_AT_A_TIME
          Page at a time.
static int ATTR_PAGE_DEFINITION
          Page definition integrated file system name.
static int ATTR_PAGELEN
          Length of page.
static int ATTR_PAGENUMBER
          Page number.
static int ATTR_PAGES
          Total pages.
static int ATTR_PAGES_EST
          Total pages estimated.
static int ATTR_PAGEWIDTH
          Width of page.
static int ATTR_PAGRTT
          Degree of page rotation.
static int ATTR_PAPER_SOURCE_1
          Paper Source 1.
static int ATTR_PAPER_SOURCE_2
          Paper Source 2.
static int ATTR_PELDENSITY
          Pel density.
static int ATTR_POINTSIZE
          Point size.
static int ATTR_PRINTER
          Printer.
static int ATTR_PRINTER_FILE
          Printer file integrated file system name.
static int ATTR_PRTASSIGNED
          Printer assigned.
static int ATTR_PRTDEVTYPE
          Printer device type.
static int ATTR_PRTQUALITY
          Print quality.
static int ATTR_PRTSEQUENCE
          Print sequence.
static int ATTR_PRTTEXT
          Print text.
static int ATTR_PUBINF_COLOR_SUP
          Color supported indicator.
static int ATTR_PUBINF_DS
          Data Stream supported.
static int ATTR_PUBINF_DUPLEX_SUP
          Duplex supported indicator.
static int ATTR_PUBINF_LOCATION
          Published location description.
static int ATTR_PUBINF_PPM
          Pages per minute (monochrome printing).
static int ATTR_PUBINF_PPM_COLOR
          Pages per minute (color printing).
static int ATTR_RECLENGTH
          Record length.
static int ATTR_REDUCE
          Reduce output.
static int ATTR_RESTART
          Restart printing.
static int ATTR_RMTLOCNAME
          Printer device location name.
static int ATTR_RMTPRTQ
          Printer queue.
static int ATTR_RMTSYSTEM
          Remote system.
static int ATTR_RPLCHAR
          Replacement character.
static int ATTR_RPLUNPRT
          Replace unprintable characters.
static int ATTR_SADDLESTITCH_NUMSTAPLES
          Saddle stitch number of staples.
static int ATTR_SADDLESTITCH_REF
          Saddle stitch reference.
static int ATTR_SAVE
          Save spooled file.
static int ATTR_SCHEDULE
          Spooled output schedule.
static int ATTR_SCS2ASCII
          Transform SCS to ASCII.
static int ATTR_SEEKOFF
          Seek offset.
static int ATTR_SEEKORG
          Seek origin.
static int ATTR_SENDPTY
          Send priority.
static int ATTR_SEPPAGE
          Separator page.
static int ATTR_SPLF_AUTH_METHOD
          Spooled file Creation Authenication Method.
static int ATTR_SPLF_SECURITY_METHOD
          Spooled file Creation Security Method.
static int ATTR_SPLFNUM
          Spooled file number.
static int ATTR_SPLFSTATUS
          Spooled file status.
static int ATTR_SPLSCS
          Spool SCS.
static int ATTR_SPOOL
          Spool the data.
static int ATTR_SPOOLFILE
          Spooled file name.
static int ATTR_SRCDRWR
          Source drawer.
static int ATTR_STARTEDBY
          Started by.
static int ATTR_STARTPAGE
          Starting page.
static int ATTR_SYSTEM
          System where output was created.
static int ATTR_TIME
          Time object created.
static int ATTR_TIME_END
          Time Job creating spooled file ended.
static int ATTR_TIME_WTR_BEGAN_FILE
          Time writer began procesing spooled file.
static int ATTR_TIME_WTR_CMPL_FILE
          Time writer completed processing spooled filed.
static int ATTR_TOADDRESS
          User ID address.
static int ATTR_TOUSERID
          User ID.
static int ATTR_UNITOFMEAS
          Unit of measure.
static int ATTR_USER_DEFINED_OBJECT
          User defined object integrated file system name.
static int ATTR_USER_DRIVER_PROG
          User driver program integrated file system name.
static int ATTR_USER_TRANSFORM_PROG
          User transform program integrated file system name.
static int ATTR_USERCMT
          User comment.
static int ATTR_USERDATA
          User data.
static int ATTR_USRDEFDATA
          User defined data.
static int ATTR_USRDEFFILE
          User defined file.
static int ATTR_USRDEFOPT
          User defined option(s).
static int ATTR_USRDRVDATA
          User driver program data.
static int ATTR_VIEWING_FIDELITY
          Viewing fidelity.
static int ATTR_VMMVSCLASS
          VM/MVS Class.
static int ATTR_WORKSTATION_CUST_OBJECT
          Workstation customization object integrated file system name.
static int ATTR_WRTNGSTS
          Writing status.
static int ATTR_WTNGDATASTS
          Waiting for data status.
static int ATTR_WTNGDEVSTS
          Waiting for device status.
static int ATTR_WTNGMSGSTS
          Waiting for message status.
static int ATTR_WTRAUTOEND
          When to automatically end writer.
static int ATTR_WTREND
          When to end writer.
static int ATTR_WTRINIT
          Initialize the writer.
static int ATTR_WTRJOBNAME
          Writer job name.
static int ATTR_WTRJOBNUM
          Writer job number.
static int ATTR_WTRJOBSTS
          Writer job status.
static int ATTR_WTRJOBUSER
          Writer job user name.
static int ATTR_WTRSTRPAGE
          Writer starting page.
static int ATTR_WTRSTRTD
          Writer started.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Adds the specified PropertyChange listener to receive PropertyChange events from this print object.
 void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
          Adds the specified VetoableChange listener to receive VetoableChange events from this print object.
 java.lang.Float getFloatAttribute(int attributeID)
          Returns an attribute of the object that is a Float type attribute.
 java.lang.Integer getIntegerAttribute(int attributeID)
          Returns an attribute of the object that is a Integer type attribute.
 java.lang.String getStringAttribute(int attributeID)
          Returns an attribute of the object that is a String type attribute.
 AS400 getSystem()
          Returns the AS/400 system on which this object exists.
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
          Removes the specified PropertyChange listener so that it no longer receives PropertyChange events from this print object.
 void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
          Removes the specified VetoableChange listener so that it no longer receives VetoableChange events from this print object.
 void setSystem(AS400 system)
          Sets the AS/400 system on which this object exists.
 void update()
          Updates the attributes of this object by going to the AS/400 and retrieving the latest attributes for the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_AFP

public static final int ATTR_AFP
Advanced function printing.

ATTR_AFP_RESOURCE

public static final int ATTR_AFP_RESOURCE
AFP Resource integrated file system path.

ATTR_ALIGNFORMS

public static final int ATTR_ALIGNFORMS
Align forms.

ATTR_ALIGN

public static final int ATTR_ALIGN
Align page.

ATTR_ALWDRTPRT

public static final int ATTR_ALWDRTPRT
Allow direct print.

ATTR_AUTHORITY

public static final int ATTR_AUTHORITY
Authority.

ATTR_AUTHCHCK

public static final int ATTR_AUTHCHCK
Authority to check.

ATTR_AUTOEND

public static final int ATTR_AUTOEND
Automatically end writer.

ATTR_BKMGN_ACR

public static final int ATTR_BKMGN_ACR
Back margin offset across.

ATTR_BKMGN_DWN

public static final int ATTR_BKMGN_DWN
Back margin offset down.

ATTR_BACK_OVERLAY

public static final int ATTR_BACK_OVERLAY
Back overlay integrated file system name.

ATTR_BKOVL_DWN

public static final int ATTR_BKOVL_DWN
Back overlay offset down.

ATTR_BKOVL_ACR

public static final int ATTR_BKOVL_ACR
Back overlay offset across.

ATTR_BTWNCPYSTS

public static final int ATTR_BTWNCPYSTS
Between copies status.

ATTR_BTWNFILESTS

public static final int ATTR_BTWNFILESTS
Between files status.

ATTR_CHANGES

public static final int ATTR_CHANGES
Changes take effect.

ATTR_CHAR_ID

public static final int ATTR_CHAR_ID
Graphic character set.

ATTR_CPI

public static final int ATTR_CPI
Characters per inch.

ATTR_CODEDFNTLIB

public static final int ATTR_CODEDFNTLIB
Coded font library name.

ATTR_CODEPAGE

public static final int ATTR_CODEPAGE
Code page.

ATTR_CODEDFNT

public static final int ATTR_CODEDFNT
Code font name.

ATTR_CONTROLCHAR

public static final int ATTR_CONTROLCHAR
Control character.

ATTR_CONVERT_LINEDATA

public static final int ATTR_CONVERT_LINEDATA
Convert line data.

ATTR_COPIES

public static final int ATTR_COPIES
Copies.

ATTR_COPIESLEFT

public static final int ATTR_COPIESLEFT
Copies left to produce.

ATTR_CORNER_STAPLE

public static final int ATTR_CORNER_STAPLE
Corner staple.

ATTR_CURPAGE

public static final int ATTR_CURPAGE
Current page.

ATTR_DATAFORMAT

public static final int ATTR_DATAFORMAT
Data format.

ATTR_DATA_QUEUE

public static final int ATTR_DATA_QUEUE
Data queue integrated file system name.

ATTR_DATE

public static final int ATTR_DATE
Date object created.

ATTR_DATE_END

public static final int ATTR_DATE_END
Date job created spooled file.

ATTR_DATE_WTR_BEGAN_FILE

public static final int ATTR_DATE_WTR_BEGAN_FILE
Date writer began processing spooled file.

ATTR_DATE_WTR_CMPL_FILE

public static final int ATTR_DATE_WTR_CMPL_FILE
Date writer completed processing spooled filed.

ATTR_DBCSDATA

public static final int ATTR_DBCSDATA
User specified DBCS data.

ATTR_DBCSEXTENSN

public static final int ATTR_DBCSEXTENSN
DBCS extension characters.

ATTR_DBCSROTATE

public static final int ATTR_DBCSROTATE
DBCS character rotation.

ATTR_DBCSCPI

public static final int ATTR_DBCSCPI
DBCS characters per inch.

ATTR_DBCSSISO

public static final int ATTR_DBCSSISO
DBCS SO/SI spacing.

ATTR_DFR_WRITE

public static final int ATTR_DFR_WRITE
Defer write.

ATTR_DELETESPLF

public static final int ATTR_DELETESPLF
Delete file after sending.

ATTR_DESCRIPTION

public static final int ATTR_DESCRIPTION
Text description.

ATTR_DESTINATION

public static final int ATTR_DESTINATION
Destination type.

ATTR_DESTOPTION

public static final int ATTR_DESTOPTION
Destination option.

ATTR_DEVCLASS

public static final int ATTR_DEVCLASS
Device class.

ATTR_DEVMODEL

public static final int ATTR_DEVMODEL
Device model.

ATTR_DEVSTATUS

public static final int ATTR_DEVSTATUS
Device status.

ATTR_DEVTYPE

public static final int ATTR_DEVTYPE
Device type.

ATTR_DISPLAYANY

public static final int ATTR_DISPLAYANY
Display any file.

ATTR_DRWRSEP

public static final int ATTR_DRWRSEP
Drawer for separators.

ATTR_DUPLEX

public static final int ATTR_DUPLEX
Print on both sides.

ATTR_EDGESTITCH_REF

public static final int ATTR_EDGESTITCH_REF
Edge stitch reference.

ATTR_EDGESTITCH_NUMSTAPLES

public static final int ATTR_EDGESTITCH_NUMSTAPLES
Edge stitch number of staples.

ATTR_EDGESTITCH_REFOFF

public static final int ATTR_EDGESTITCH_REFOFF
Edge stitch reference offset.

ATTR_ENDPAGE

public static final int ATTR_ENDPAGE
Ending page.

ATTR_ENDPNDSTS

public static final int ATTR_ENDPNDSTS
End pending status.

ATTR_ENVLP_SOURCE

public static final int ATTR_ENVLP_SOURCE
Envelope Source.

ATTR_FIDELITY

public static final int ATTR_FIDELITY
Print fidelity.

ATTR_FILESEP

public static final int ATTR_FILESEP
File separators.

ATTR_FOLDREC

public static final int ATTR_FOLDREC
Fold records.

ATTR_FONTID

public static final int ATTR_FONTID
Font identifier.

ATTR_FORM_DEFINITION

public static final int ATTR_FORM_DEFINITION
Form definition integrated file system name.

ATTR_FORMFEED

public static final int ATTR_FORMFEED
Form feed.

ATTR_FORMTYPE

public static final int ATTR_FORMTYPE
Form type.

ATTR_FORMTYPEMSG

public static final int ATTR_FORMTYPEMSG
Form type message option.

ATTR_FTMGN_ACR

public static final int ATTR_FTMGN_ACR
Front margin offset across.

ATTR_FTMGN_DWN

public static final int ATTR_FTMGN_DWN
Front margin offset down.

ATTR_FRONT_OVERLAY

public static final int ATTR_FRONT_OVERLAY
Front overlay integrated file system name.

ATTR_FTOVL_ACR

public static final int ATTR_FTOVL_ACR
Front overlay offset across.

ATTR_FTOVL_DWN

public static final int ATTR_FTOVL_DWN
Front overlay offset down.

ATTR_HELDSTS

public static final int ATTR_HELDSTS
Held status.

ATTR_HOLD

public static final int ATTR_HOLD
Hold spool file.

ATTR_HOLDPNDSTS

public static final int ATTR_HOLDPNDSTS
Hold pending status.

ATTR_HOLDTYPE

public static final int ATTR_HOLDTYPE
When to hold file.

ATTR_IMGCFG

public static final int ATTR_IMGCFG
Image Configuration .

ATTR_INTERNETADDR

public static final int ATTR_INTERNETADDR
Internet address.

ATTR_IPP_ATTR_CCSID

public static final int ATTR_IPP_ATTR_CCSID
IPP Attributes-ccsid.

ATTR_IPP_JOB_ID

public static final int ATTR_IPP_JOB_ID
IPP Job ID.

ATTR_IPP_JOB_NAME

public static final int ATTR_IPP_JOB_NAME
IPP Job Name .

ATTR_IPP_JOB_NAME_NL

public static final int ATTR_IPP_JOB_NAME_NL
IPP Job Name NL.

ATTR_IPP_JOB_ORIGUSER

public static final int ATTR_IPP_JOB_ORIGUSER
IPP Job Originating user name .

ATTR_IPP_JOB_ORIGUSER_NL

public static final int ATTR_IPP_JOB_ORIGUSER_NL
IPP Job Originating user name NL.

ATTR_IPP_PRINTER_NAME

public static final int ATTR_IPP_PRINTER_NAME
IPP Printer name.

ATTR_IPP_ATTR_NL

public static final int ATTR_IPP_ATTR_NL
IPP Natural Language.

ATTR_JOBNAME

public static final int ATTR_JOBNAME
Job name.

ATTR_JOBNUMBER

public static final int ATTR_JOBNUMBER
Job number.

ATTR_JOBSEPRATR

public static final int ATTR_JOBSEPRATR
Job separators.

ATTR_JOBSYSTEM

public static final int ATTR_JOBSYSTEM
System Job which created spooled file was running.

ATTR_JOBUSER

public static final int ATTR_JOBUSER
Job user.

ATTR_JUSTIFY

public static final int ATTR_JUSTIFY
Hardware justification.

ATTR_LASTPAGE

public static final int ATTR_LASTPAGE
Last page printed.

ATTR_LIBRARY

public static final int ATTR_LIBRARY
Library name.

ATTR_LINESPACING

public static final int ATTR_LINESPACING
Line spacing.

ATTR_LPI

public static final int ATTR_LPI
Lines per inch.

ATTR_MAX_JOBS_PER_CLIENT

public static final int ATTR_MAX_JOBS_PER_CLIENT
Maximum jobs per client.

ATTR_MAXRCDS

public static final int ATTR_MAXRCDS
Maximum spooled output records.

ATTR_MEASMETHOD

public static final int ATTR_MEASMETHOD
Measurement method.

ATTR_MFGTYPE

public static final int ATTR_MFGTYPE
Manufacturer type and model.

ATTR_MESSAGE_QUEUE

public static final int ATTR_MESSAGE_QUEUE
Message queue integrated file system name.

ATTR_MSGHELP

public static final int ATTR_MSGHELP
Message help.

ATTR_MSGID

public static final int ATTR_MSGID
Message ID.

ATTR_MSGREPLY

public static final int ATTR_MSGREPLY
Message reply.

ATTR_MSGSEV

public static final int ATTR_MSGSEV
Message severity.

ATTR_MSGTEXT

public static final int ATTR_MSGTEXT
Message text.

ATTR_MSGTYPE

public static final int ATTR_MSGTYPE
Message type.

ATTR_MULTI_ITEM_REPLY

public static final int ATTR_MULTI_ITEM_REPLY
Multi-item reply capability.

ATTR_MULTIUP

public static final int ATTR_MULTIUP
Pages per side.

ATTR_NETWORK

public static final int ATTR_NETWORK
Network where output was created.

ATTR_NPSCCSID

public static final int ATTR_NPSCCSID
NPS CCSID.

ATTR_NPSLEVEL

public static final int ATTR_NPSLEVEL
NPS level.

ATTR_NUMBYTES

public static final int ATTR_NUMBYTES
Number of bytes to read/write.

ATTR_NUMBYTES_SPLF

public static final int ATTR_NUMBYTES_SPLF
Number of bytes available in a stream or spooled file.

ATTR_NUMFILES

public static final int ATTR_NUMFILES
Number of files.

ATTR_NUMWRITERS

public static final int ATTR_NUMWRITERS
Number of writers started to queue

ATTR_OBJEXTATTR

public static final int ATTR_OBJEXTATTR
Object extended attribute.

ATTR_ONJOBQSTS

public static final int ATTR_ONJOBQSTS
On job queue status.

ATTR_OPENCMDS

public static final int ATTR_OPENCMDS
Open time commands.

ATTR_OPCNTRL

public static final int ATTR_OPCNTRL
Operator controlled.

ATTR_ORDER

public static final int ATTR_ORDER
Order of files On queue.

ATTR_OUTPTY

public static final int ATTR_OUTPTY
Output priority.

ATTR_OUTPUTBIN

public static final int ATTR_OUTPUTBIN
Output bin.

ATTR_OUTPUT_QUEUE

public static final int ATTR_OUTPUT_QUEUE
Output queue integrated file system name.

ATTR_OUTQSTS

public static final int ATTR_OUTQSTS
Output queue status.

ATTR_OVERALLSTS

public static final int ATTR_OVERALLSTS
Overall status of printer.

ATTR_OVERFLOW

public static final int ATTR_OVERFLOW
Overflow line number.

ATTR_PAGE_AT_A_TIME

public static final int ATTR_PAGE_AT_A_TIME
Page at a time.

ATTR_PAGE_DEFINITION

public static final int ATTR_PAGE_DEFINITION
Page definition integrated file system name.

ATTR_PAGELEN

public static final int ATTR_PAGELEN
Length of page.

ATTR_PAGENUMBER

public static final int ATTR_PAGENUMBER
Page number.

ATTR_PAGES

public static final int ATTR_PAGES
Total pages.

ATTR_PAGES_EST

public static final int ATTR_PAGES_EST
Total pages estimated.

ATTR_PAGRTT

public static final int ATTR_PAGRTT
Degree of page rotation.

ATTR_PAGEWIDTH

public static final int ATTR_PAGEWIDTH
Width of page.

ATTR_PELDENSITY

public static final int ATTR_PELDENSITY
Pel density.

ATTR_PAPER_SOURCE_1

public static final int ATTR_PAPER_SOURCE_1
Paper Source 1.

ATTR_PAPER_SOURCE_2

public static final int ATTR_PAPER_SOURCE_2
Paper Source 2.

ATTR_POINTSIZE

public static final int ATTR_POINTSIZE
Point size.

ATTR_PRTQUALITY

public static final int ATTR_PRTQUALITY
Print quality.

ATTR_PRTSEQUENCE

public static final int ATTR_PRTSEQUENCE
Print sequence.

ATTR_PRTTEXT

public static final int ATTR_PRTTEXT
Print text.

ATTR_PRINTER

public static final int ATTR_PRINTER
Printer.

ATTR_PRTASSIGNED

public static final int ATTR_PRTASSIGNED
Printer assigned.

ATTR_PRTDEVTYPE

public static final int ATTR_PRTDEVTYPE
Printer device type.

ATTR_PRINTER_FILE

public static final int ATTR_PRINTER_FILE
Printer file integrated file system name.

ATTR_PUBINF_COLOR_SUP

public static final int ATTR_PUBINF_COLOR_SUP
Color supported indicator.

ATTR_PUBINF_PPM_COLOR

public static final int ATTR_PUBINF_PPM_COLOR
Pages per minute (color printing).

ATTR_PUBINF_DS

public static final int ATTR_PUBINF_DS
Data Stream supported.

ATTR_PUBINF_PPM

public static final int ATTR_PUBINF_PPM
Pages per minute (monochrome printing).

ATTR_PUBINF_DUPLEX_SUP

public static final int ATTR_PUBINF_DUPLEX_SUP
Duplex supported indicator.

ATTR_PUBINF_LOCATION

public static final int ATTR_PUBINF_LOCATION
Published location description.

ATTR_RMTLOCNAME

public static final int ATTR_RMTLOCNAME
Printer device location name.

ATTR_RMTPRTQ

public static final int ATTR_RMTPRTQ
Printer queue.

ATTR_RECLENGTH

public static final int ATTR_RECLENGTH
Record length.

ATTR_REDUCE

public static final int ATTR_REDUCE
Reduce output.

ATTR_RMTSYSTEM

public static final int ATTR_RMTSYSTEM
Remote system.

ATTR_RPLUNPRT

public static final int ATTR_RPLUNPRT
Replace unprintable characters.

ATTR_RPLCHAR

public static final int ATTR_RPLCHAR
Replacement character.

ATTR_RESTART

public static final int ATTR_RESTART
Restart printing.

ATTR_SADDLESTITCH_NUMSTAPLES

public static final int ATTR_SADDLESTITCH_NUMSTAPLES
Saddle stitch number of staples.

ATTR_SADDLESTITCH_REF

public static final int ATTR_SADDLESTITCH_REF
Saddle stitch reference.

ATTR_SAVE

public static final int ATTR_SAVE
Save spooled file.

ATTR_SCHEDULE

public static final int ATTR_SCHEDULE
Spooled output schedule.

ATTR_SCS2ASCII

public static final int ATTR_SCS2ASCII
Transform SCS to ASCII.

ATTR_SEEKOFF

public static final int ATTR_SEEKOFF
Seek offset.

ATTR_SEEKORG

public static final int ATTR_SEEKORG
Seek origin.

ATTR_SENDPTY

public static final int ATTR_SENDPTY
Send priority.

ATTR_SEPPAGE

public static final int ATTR_SEPPAGE
Separator page.

ATTR_SRCDRWR

public static final int ATTR_SRCDRWR
Source drawer.

ATTR_SPOOL

public static final int ATTR_SPOOL
Spool the data.

ATTR_SPOOLFILE

public static final int ATTR_SPOOLFILE
Spooled file name.

ATTR_SPLF_AUTH_METHOD

public static final int ATTR_SPLF_AUTH_METHOD
Spooled file Creation Authenication Method.

ATTR_SPLF_SECURITY_METHOD

public static final int ATTR_SPLF_SECURITY_METHOD
Spooled file Creation Security Method.

ATTR_SPLFNUM

public static final int ATTR_SPLFNUM
Spooled file number.

ATTR_SPLFSTATUS

public static final int ATTR_SPLFSTATUS
Spooled file status.

ATTR_SPLSCS

public static final int ATTR_SPLSCS
Spool SCS.

ATTR_STARTPAGE

public static final int ATTR_STARTPAGE
Starting page.

ATTR_STARTEDBY

public static final int ATTR_STARTEDBY
Started by.

ATTR_SYSTEM

public static final int ATTR_SYSTEM
System where output was created.

ATTR_TIME

public static final int ATTR_TIME
Time object created.

ATTR_TIME_END

public static final int ATTR_TIME_END
Time Job creating spooled file ended.

ATTR_TIME_WTR_BEGAN_FILE

public static final int ATTR_TIME_WTR_BEGAN_FILE
Time writer began procesing spooled file.

ATTR_TIME_WTR_CMPL_FILE

public static final int ATTR_TIME_WTR_CMPL_FILE
Time writer completed processing spooled filed.

ATTR_TOUSERID

public static final int ATTR_TOUSERID
User ID.

ATTR_TOADDRESS

public static final int ATTR_TOADDRESS
User ID address.

ATTR_UNITOFMEAS

public static final int ATTR_UNITOFMEAS
Unit of measure.

ATTR_USERCMT

public static final int ATTR_USERCMT
User comment.

ATTR_USERDATA

public static final int ATTR_USERDATA
User data.

ATTR_USRDEFDATA

public static final int ATTR_USRDEFDATA
User defined data.

ATTR_USRDEFFILE

public static final int ATTR_USRDEFFILE
User defined file.

ATTR_USRDEFOPT

public static final int ATTR_USRDEFOPT
User defined option(s).

ATTR_USER_DEFINED_OBJECT

public static final int ATTR_USER_DEFINED_OBJECT
User defined object integrated file system name.

ATTR_USER_TRANSFORM_PROG

public static final int ATTR_USER_TRANSFORM_PROG
User transform program integrated file system name.

ATTR_USRDRVDATA

public static final int ATTR_USRDRVDATA
User driver program data.

ATTR_USER_DRIVER_PROG

public static final int ATTR_USER_DRIVER_PROG
User driver program integrated file system name.

ATTR_VIEWING_FIDELITY

public static final int ATTR_VIEWING_FIDELITY
Viewing fidelity.

ATTR_VMMVSCLASS

public static final int ATTR_VMMVSCLASS
VM/MVS Class.

ATTR_WORKSTATION_CUST_OBJECT

public static final int ATTR_WORKSTATION_CUST_OBJECT
Workstation customization object integrated file system name.

ATTR_WRTNGSTS

public static final int ATTR_WRTNGSTS
Writing status.

ATTR_WTNGDATASTS

public static final int ATTR_WTNGDATASTS
Waiting for data status.

ATTR_WTNGDEVSTS

public static final int ATTR_WTNGDEVSTS
Waiting for device status.

ATTR_WTNGMSGSTS

public static final int ATTR_WTNGMSGSTS
Waiting for message status.

ATTR_WTRAUTOEND

public static final int ATTR_WTRAUTOEND
When to automatically end writer.

ATTR_WTREND

public static final int ATTR_WTREND
When to end writer.

ATTR_WTRINIT

public static final int ATTR_WTRINIT
Initialize the writer.

ATTR_WTRJOBNAME

public static final int ATTR_WTRJOBNAME
Writer job name.

ATTR_WTRJOBNUM

public static final int ATTR_WTRJOBNUM
Writer job number.

ATTR_WTRJOBSTS

public static final int ATTR_WTRJOBSTS
Writer job status.

ATTR_WTRJOBUSER

public static final int ATTR_WTRJOBUSER
Writer job user name.

ATTR_WTRSTRPAGE

public static final int ATTR_WTRSTRPAGE
Writer starting page.

ATTR_WTRSTRTD

public static final int ATTR_WTRSTRTD
Writer started.
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds the specified PropertyChange listener to receive PropertyChange events from this print object.
Parameters:
listener - The PropertyChange listener.
See Also:
removePropertyChangeListener(java.beans.PropertyChangeListener)

addVetoableChangeListener

public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds the specified VetoableChange listener to receive VetoableChange events from this print object.
Parameters:
listener - The VetoableChange listener.
See Also:
removeVetoableChangeListener(java.beans.VetoableChangeListener)

getIntegerAttribute

public java.lang.Integer getIntegerAttribute(int attributeID)
                                      throws AS400Exception,
                                             AS400SecurityException,
                                             ErrorCompletingRequestException,
                                             java.io.IOException,
                                             java.lang.InterruptedException,
                                             RequestNotSupportedException
Returns an attribute of the object that is a Integer type attribute.
Parameters:
attributeID - Identifies which attribute to retrieve. See the following links for the attribute IDs that are valid for each particular subclass.
Returns:
The value of the attribute.
Throws:
AS400Exception - If the AS/400 system returns an error message.
AS400SecurityException - If a security or authority error occurs.
ErrorCompletingRequestException - If an error occurs before the request is completed.
java.io.IOException - If an error occurs while communicating with the AS/400.
java.lang.InterruptedException - If this thread is interrupted.
RequestNotSupportedException - If the requested function is not supported because the the AS/400 system is not at the correct level.

getFloatAttribute

public java.lang.Float getFloatAttribute(int attributeID)
                                  throws AS400Exception,
                                         AS400SecurityException,
                                         ErrorCompletingRequestException,
                                         java.io.IOException,
                                         java.lang.InterruptedException,
                                         RequestNotSupportedException
Returns an attribute of the object that is a Float type attribute.
Parameters:
attributeID - Identifies which attribute to retrieve. See the following links for the attribute IDs that are valid for each particular subclass.
Returns:
The value of the attribute.
Throws:
AS400Exception - If the AS/400 system returns an error message.
AS400SecurityException - If a security or authority error occurs.
ErrorCompletingRequestException - If an error occurs before the request is completed.
java.io.IOException - If an error occurs while communicating with the AS/400.
java.lang.InterruptedException - If this thread is interrupted.
RequestNotSupportedException - If the requested function is not supported because the the AS/400 system is not at the correct level.

getStringAttribute

public java.lang.String getStringAttribute(int attributeID)
                                    throws AS400Exception,
                                           AS400SecurityException,
                                           ErrorCompletingRequestException,
                                           java.io.IOException,
                                           java.lang.InterruptedException,
                                           RequestNotSupportedException
Returns an attribute of the object that is a String type attribute.
Parameters:
attributeID - Identifies which attribute to retrieve. See the following links for the attribute IDs that are valid for each particular subclass.
Returns:
The value of the attribute.
Throws:
AS400Exception - If the AS/400 system returns an error message.
AS400SecurityException - If a security or authority error occurs.
ErrorCompletingRequestException - If an error occurs before the request is completed.
java.io.IOException - If an error occurs while communicating with the AS/400.
java.lang.InterruptedException - If this thread is interrupted.
RequestNotSupportedException - If the requested function is not supported because the the AS/400 system is not at the correct level.

getSystem

public final AS400 getSystem()
Returns the AS/400 system on which this object exists.
Returns:
The AS/400 system on which this object exists.

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes the specified PropertyChange listener so that it no longer receives PropertyChange events from this print object.
Parameters:
listener - The PropertyChange listener.
See Also:
addPropertyChangeListener(java.beans.PropertyChangeListener)

removeVetoableChangeListener

public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes the specified VetoableChange listener so that it no longer receives VetoableChange events from this print object.
Parameters:
listener - The VetoableChange listener.
See Also:
addVetoableChangeListener(java.beans.VetoableChangeListener)

setSystem

public final void setSystem(AS400 system)
                     throws java.beans.PropertyVetoException
Sets the AS/400 system on which this object exists. This method is primarily provided for visual application builders that support JavaBeans. Application programmers should specify the AS/400 system in the constructor for the specific print object.
Parameters:
system - The AS/400 system on which this object exists.
Throws:
java.beans.PropertyVetoException - If the change is vetoed.

update

public void update()
            throws AS400Exception,
                   AS400SecurityException,
                   ErrorCompletingRequestException,
                   java.io.IOException,
                   java.lang.InterruptedException,
                   RequestNotSupportedException
Updates the attributes of this object by going to the AS/400 and retrieving the latest attributes for the object.
Throws:
AS400Exception - If the AS/400 system returns an error message.
AS400SecurityException - If a security or authority error occurs.
ErrorCompletingRequestException - If an error occurs before the request is completed.
java.io.IOException - If an error occurs while communicating with the AS/400.
java.lang.InterruptedException - If this thread is interrupted.
RequestNotSupportedException - If the requested function is not supported because the the AS/400 system is not at the correct level.