src.com.ibm.as400.access.doc-files.PrinterFileAttrs.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400-jdk8 Show documentation
Show all versions of jt400-jdk8 Show documentation
The Open Source version of the IBM Toolbox for Java
IBM Toolbox for Java: Printer file attributes
Printer file attributes
Retrieve attributes
The following attributes may be retrieved for a printer file using the appropriate
getIntegerAttribute(), getStringAttribute(), or getFloatAttribute() method:
- ATTR_ALIGN - Align Page
- ATTR_BKMGN_ACR - Back Margin Offset Across
- ATTR_BKMGN_DWN - Back Margin Offset Down
- ATTR_BACK_OVERLAY - Back Overlay Integrated File System Name
- ATTR_BKOVL_ACR - Back Overlay Offset Across
- ATTR_BKOVL_DWN - Back Overlay Offset Down
- ATTR_CPI - Characters per Inch
- ATTR_CODEDFNTLIB - Coded Font Library Name
- ATTR_CODEDFNT - Coded Font Name
- ATTR_CODEPAGE - Code Page
- ATTR_CONTROLCHAR - Control Character
- ATTR_CONVERT_LINEDATA - Convert Line Data
- ATTR_COPIES - Copies
- ATTR_CORNER_STAPLE - Corner Staple
- ATTR_DAYS_UNTIL_EXPIRE - Days Until File Expires
- ATTR_DBCSDATA - User Specified DBCS Data
- ATTR_DBCSEXTENSN - DBCS Extension Characters
- ATTR_DBCSROTATE - DBCS Character Rotation
- ATTR_DBCSCPI - DBCS Characters per Inch
- ATTR_DBCSSISO - DBCS SO/SI Spacing
- ATTR_DFR_WRITE - Defer Write
- ATTR_PAGRTT - Degree of Page Rotation
- ATTR_EDGESTITCH_NUMSTAPLES - Edge Stitch Number of Staples
- ATTR_EDGESTITCH_REF - Edge Stitch Reference Edge
- ATTR_EDGESTITCH_REFOFF - Offset From Edge Stitch Reference Edge
- ATTR_ENDPAGE - Ending Page
- ATTR_EXPIRATION_DATE - Expiration Date
- ATTR_FILESEP - File Separators
- ATTR_FOLDREC - Fold Records
- ATTR_FONTID - Font Identifier
- ATTR_FORM_DEFINITION - Form Definition Integrated File System Name
- ATTR_FORMFEED - Form Feed
- ATTR_FORMTYPE - Form Type
- ATTR_FTMGN_ACR - Front Margin Offset Across
- ATTR_FTMGN_DWN - Front Margin Offset Down
- ATTR_FRONT_OVERLAY - Front Overlay Integrated File System Name
- ATTR_FTOVL_ACR - Front Overlay Offset Across
- ATTR_FTOVL_DWN - Front Overlay Offset Down
- ATTR_CHAR_ID - Graphic Character Set
- ATTR_JUSTIFY - Justification
- ATTR_HOLD - Hold Spool File
- ATTR_LPI - Lines Per Inch
- ATTR_MAXRCDS - Maximum Records
- ATTR_OUTPTY - Output Priority
- ATTR_OUTPUT_QUEUE - Output Queue Integrated File System Name
- ATTR_OVERFLOW - Overflow Line Number
- ATTR_PAGE_DEFINITION - Page Definition Integrated File System Name
- ATTR_PAGELEN - Length of Page
- ATTR_MEASMETHOD - Measurement Method
- ATTR_PAGEWIDTH - Width of Page
- ATTR_MULTIUP - Pages Per Side
- ATTR_POINTSIZE - Point Size
- ATTR_FIDELITY - Print Fidelity
- ATTR_DUPLEX - Print on Both Sides
- ATTR_PRTQUALITY - Print Quality
- ATTR_PRTTEXT - Print Text
- ATTR_PRINTER - Printer
- ATTR_PRTDEVTYPE - Printer Device Type
- ATTR_RPLUNPRT - Replace Unprintable Characters
- ATTR_RPLCHAR - Replacement Character
- ATTR_SADDLESTITCH_NUMSTAPLES - Saddle Stitch Number of Staples
- ATTR_SADDLESTITCH_REF - Saddle Stitch Reference Edge
- ATTR_SAVE -Save Spooled File After Written
- ATTR_SRCDRWR - Source Drawer
- ATTR_SPOOL - Spool the Data
- ATTR_SCHEDULE - File Available
- ATTR_STARTPAGE - Starting Page
- ATTR_DESCRIPTION - Text Description
- ATTR_UNITOFMEAS - Unit of Measure
- ATTR_USERDATA - User Data
- ATTR_USRDEFDATA - User Defined Data
- ATTR_USRDEFOPT - User Defined Option(s)
- ATTR_USER_DEFINED_OBJECT - User Defined Object Integrated File System Name
Set attributes
The following attributes may be set for a printer file
using the setAttributes() method:
- ATTR_ALIGN - Align Page
- ATTR_BKMGN_ACR - Back Margin Offset Across
- ATTR_BKMGN_DWN - Back Margin Offset Down
- ATTR_BACK_OVERLAY - Back Overlay Integrated File System Name
- ATTR_BKOVL_ACR - Back Overlay Offset Across
- ATTR_BKOVL_DWN - Back Overlay Offset Down
- ATTR_CPI - Characters per Inch
- ATTR_CODEDFNTLIB - Coded Font Library Name
- ATTR_CODEDFNT - Coded Font Name
- ATTR_CODEPAGE - Code Page
- ATTR_CONTROLCHAR - Control Character
- ATTR_CONVERT_LINEDATA - Convert Line Data
- ATTR_COPIES - Copies
- ATTR_CORNER_STAPLE - Corner Staple
- ATTR_DAYS_UNTIL_EXPIRE - Days Until File Expires
- ATTR_DBCSDATA - User Specified DBCS Data
- ATTR_DBCSEXTENSN - DBCS Extension Characters
- ATTR_DBCSROTATE - DBCS Character Rotation
- ATTR_DBCSCPI - DBCS Characters per Inch
- ATTR_DBCSSISO - DBCS SO/SI Spacing
- ATTR_DFR_WRITE - Defer Write
- ATTR_PAGRTT - Degree of Page Rotation
- ATTR_EDGESTITCH_NUMSTAPLES - Edge Stitch Number of Staples
- ATTR_EDGESTITCH_REF - Edge Stitch Reference Edge
- ATTR_EDGESTITCH_REFOFF - Offset From Edge Stitch Reference Edge
- ATTR_ENDPAGE - Ending Page
- ATTR_EXPIRATION_DATE - Expiration Date
- ATTR_FILESEP - File Separators
- ATTR_FOLDREC - Fold Records
- ATTR_FONTID - Font Identifier
- ATTR_FORM_DEFINITION - Form Definition Integrated File System Name
- ATTR_FORMFEED - Form Feed
- ATTR_FORMTYPE - Form Type
- ATTR_FTMGN_ACR - Front Margin Offset Across
- ATTR_FTMGN_DWN - Front Margin Offset Down
- ATTR_FRONT_OVERLAY - Front overlay Integrated File System Name
- ATTR_FTOVL_ACR - Front Overlay Offset Across
- ATTR_FTOVL_DWN - Front Overlay Offset Down
- ATTR_CHAR_ID - Graphic Character Set
- ATTR_JUSTIFY - Justification
- ATTR_HOLD - Hold Spool File
- ATTR_LPI - Lines Per Inch
- ATTR_MAXRCDS - Maximum Records
- ATTR_OUTPTY - Output Priority
- ATTR_OUTPUT_QUEUE - Output Queue Integrated File System Name
- ATTR_OVERFLOW - Overflow Line Number
- ATTR_PAGE_DEFINITION - Page Definition Integrated File System Name
- ATTR_PAGELEN - Length of Page
- ATTR_MEASMETHOD - Measurement Method
- ATTR_PAGEWIDTH - Width of Page
- ATTR_MULTIUP - Pages Per Side
- ATTR_POINTSIZE - Point Size
- ATTR_FIDELITY - Print Fidelity
- ATTR_DUPLEX - Print on Both Sides
- ATTR_PRTQUALITY - Print Quality
- ATTR_PRTTEXT - Print Text
- ATTR_PRINTER - Printer
- ATTR_PRTDEVTYPE - Printer Device Type
- ATTR_RPLUNPRT - Replace Unprintable Characters
- ATTR_RPLCHAR - Replacement Character
- ATTR_SADDLESTITCH_NUMSTAPLES - Saddle Stitch Number of Staples
- ATTR_SADDLESTITCH_REF - Saddle Stitch Reference Edge
- ATTR_SAVE -Save Spooled File After Written
- ATTR_SRCDRWR - Source Drawer
- ATTR_SPOOL - Spool the Data
- ATTR_SCHEDULE - File Available
- ATTR_STARTPAGE - Starting Page
- ATTR_DESCRIPTION - Text Description
- ATTR_UNITOFMEAS - Unit of Measure
- ATTR_USERDATA - User Data
- ATTR_USRDEFDATA - User Defined Data
- ATTR_USRDEFOPT - User Defined Option(s)
- ATTR_USER_DEFINED_OBJECT - User Defined Object Integrated File System Name