<setting> tag
The <setting> tag specifies the settings associated with the class in which the <setting> tag is enclosed.
The attributes of the <setting> tag are:
- name
- Specifies the name of a customizable setting for the class defined
by the name attribute of the <class> tag. The available settings
depend on the class.
For the com.ibm.hats.common.HATSPrintSettings class, the customizable settings are:
- printFontName
- Specifies the font in which you want your output printed. Valid values depend on the value of the codePage attribute.
- printNumSwapSupport
- Specifies whether numeric swapping is enabled. This property applies to Arabic 3270 sessions only, when printRTLSupport is enabled. English numerals are replaced by Arabic numerals in right-to-left screens and Arabic numerals are replaced by English numerals in right-to-left Screens. Valid values are true and false. The default value is true.
- printOrientation
- Specifies how your printed output is positioned on the page.
Valid values for printOrientation are:
- PDF_ORIENTATION_PORTRAIT
- Orients the paper vertically.
- PDF_ORIENTATION_LANDSCAPE
- Rotates the paper 90 degrees clockwise.
- printPaperSize
- Specifies the size of the paper on which to print your output.
Valid values for printPaperSize are:
- ISO_A3
- ISO/DN & JIS A4, 297 x 420 mm
- ISO_A4
- ISO/DN & JIS A4, 210 x 297 mm
- ISO_A5
- ISO/DN & JIS A4, 148 x 210 mm
- ISO_B4
- ISO/DN B4, 250 x 353 mm
- ISO_B5
- ISO/DN B5, 176 x 250 mm
- JIS_B4
- JIS B4, 257 x 364 mm
- JIS_B5
- JIS B5, 182 x 257 mm
- ISO_C5
- ISO/DN C5, 162 x 229 mm
- ISO_DESIGNATED_LONG
- ISO/DN Designated Long, 110 x 220 mm
- EXECUTIVE
- Executive, 7 1/4 x 10 1/2 in
- LEDGER
- Ledger, 11 x 17 in
- NA_LETTER
- North American Letter, 8 1/2 x 11 in
- NA_LEGAL
- North American Legal, 8 1/2 x 14 in
- NA_NUMBER_9_ENVELOPE
- North American #9 Business Envelope, 3 7/8 x 8 7/8 in
- NA_NUMBER_10_ENVELOPE
- North American #10 Business Envelope, 4 1/8 x 9 1/2 in
- MONARCH_ENVELOPE
- Monarch Envelope, 3 7/8 x 7 1/2 in
- CONTINUOUS_80_COLUMNS
- Data Processing 80 Columns Continuous Sheet, 8 x 11 in
- CONTINUOUS_132_COLUMNS
- Data Processing 132 Columns Continuous Sheet, 13 1/5 x 11 in
- printRTLSupport
- Specifies whether right-to-left print support is enabled. This property applies to Arabic 3270 sessions only. Bidirectional files can be either RTL or LTR files. Valid values are true and false. The default value is true.
- printSupport
- Specifies whether your project includes print capability. Valid values for printSupport are true and false. The initial default is false.
- printSymSwapSupport
- Specifies whether symmetric swapping is enabled; swapping characters are swapped in right-to-left screens. This property applies to Arabic 3270 sessions only, when printRTLSupport is enabled. Valid values are true and false. The default value is true.
- printURL
- Specifies the URL for a System i® Access for Web Printer Output window on a 5250 server. The default URL is http://hostname/webaccess/iWASpool, where hostname is the name of the 5250 server.
The customizable settings for the com.ibm.hats.common.NextScreenSettings class are:- default.appletDelayInterval
- Specifies the maximum time (in milliseconds) that the server waits until a full host screen has arrived for a session running in asynchronous update mode. The initial default value is 400 milliseconds.
- default.blankScreen
- Specifies how to handle a blank screen received at connection
startup. Valid values are:
- normal
- Display the blank screen.
- sendkeys
- Send the host key defined on the default.blankScreen.keys setting.
- timeout
- Wait for the connection to time out before issuing an error message.
- default.blankScreen.keys
- Specifies the host key to send when default.blankScreen is set to sendkeys.
- default.delayInterval
- Specifies the maximum time, in milliseconds, that the server waits for the arrival of screen updates after the initial screen update. The initial default value is 1200 milliseconds.
- default.delayStart
- Specifies the minimum time (in milliseconds) that the server waits until the first full host screen has arrived after the host connection becomes ready. The initial default value is 2000 milliseconds.
- nextScreenClass
- Specifies a class that turns off the default, speed-optimized, algorithm in favor of accuracy. The class for the value attribute is com.ibm.hats.runtime.TimingNextScreenBean. As a result, screen transitions might be slower. The setting default.delayInterval is now the minimum amount of time (in milliseconds) per screen transition. The default.delayInterval value has a default of 1200 milliseconds, but you can customize it for your network and your host application. If you raise this value, remember that ZIETrans waits at least this long for the host screen to settle.
- oiaLockMaxWait
- Specifies the maximum time (in milliseconds) that ZIETrans should wait after the host screen has settled to ensure that the OIA system lock status has been released. The value can be in the range of 0–600000 milliseconds. The initial default value is 300000 milliseconds.
- value
- The values for the settings are included in the description of the individual settings.