The ECLHostPrintSession class can be used to establish a print connection
with a host. This class defines the behavior and characteristics of the
print session with the host. This class inherits operating characteristics
and behaviors from its parent class ECLSession. Like ECLSession,
ECLHostPrintSession can be constructed with a Properties object which contains
all the configuration information for the print session. Configurable information
includes the session type (3270 printer session or 5250 printer session),
PDT file name and port number.
createDefaultProperties()
This method returns a properties' object that has been filled with
all necessary initial properties set to their default values.
void
removePrintJobListener(ECLPrintJobListener listener)
Registered print job event listeners will need to call this method
when they no longer need print job event notification.
Methods inherited from class com.ibm.eNetwork.ECL.ECLSession
public ECLHostPrintSession(java.util.Properties configData)
throws ECLErr
Creates and initializes a host print session.
Parameters:
configData - java.util.Properties object containing
keyword and value pairs which control the
behavior of the new host print session.
The keys are always instances of java.lang.String.
The values are instances of java.lang.String
unless otherwise specified.
The table below shows the valid keys and values. The required
parameters are denoted with an '*'.
Key
Properties Shared by ECLHostPrintSession and ECLSession
SESSION_HOST * - The TCP/IP name or address of a host
to which the session will be established.
This value must be a valid TCP/IP host name or address.
SESSION_HOST_PORT - Host port number.
The TCP/IP port used by the host or CICS gateway (default for 3270, 5250,
or VT sessions = "23", default for CICS sessions = "2006").
SESSION_NAME - Name used to identify the session.
User defined session name. This value can be one or more characters. (default = "A")
SESSION_TYPE - Type of session to establish.
The value can be one of the following:
Constant
Value
Session Type
SESSION_TYPE_3270_PRT_STR
"5"
3270 Printer (default)
SESSION_TYPE_5250_PRT_STR
"6"
5250 Printer
SESSION_LU_NAME - The LU name or LU pool name.
Must be a valid LU name or LU pool name. This parameter only has
significance when the SESSION_TN_ENHANCED parameter is ON.
SESSION_WORKSTATION_ID - The Workstation ID.
Must be a valid Workstation ID. This parameter only has
significance when the AS/400 supports the enhanced device negotiation.
SESSION_AUTOCONNECT - Determines whether the session
will autoconnect when constructed.
The value can be one of the following:
Constant
Value
Description
SESSION_OFF
"false"
Do not autoconnect (default)
SESSION_ON
"true"
Autoconnect
SESSION_AUTORECONNECT - Determines whether the session will autoreconnect when the
connection goes down.
The value can be one of the following:
Constant
Value
Description
SESSION_OFF
"false"
Do not autoreconnect (default)
SESSION_ON
"true"
Autoreconnect
SESSION_SSL - Determines whether the session will use the Secure Socket Layer (SSL) for security
The value can be one of the following:
Constant
Value
Description
SESSION_OFF
"false"
Do not use SSL (default)
SESSION_ON
"true"
Use SSL
All classes needed for this option are in habeans.jar.
To request an encrypted session, set this parameter to SESSION_ON.
If the program connects to a server that has a self-signed certificate, a copy of the certificate must be added to the
CustomizedCAs.class file in the program's codebase. If the server has a certificate signed by a CA other than
Verisign or Thawte, the CA's root certificate must be added to the CustomizedCAs.class.
This option only checks to see if the server's certificate is trusted. It does not check to see if the name
in the certificate matches the Internet address the certificate was received from. To add this check, set
SESSION_SSL_SERVER_AUTHENTICATION to SESSION_ON.
All classes needed for this option are in habeans.jar.
If the client is configured to use TLS protocol, then the server which is TLS-enabled will provide a TLS v1.0
connection for the client session. If the server is not TLS-enabled, then the server will negotiate the connection down to
the level of SSL that it supports.
SESSION_SSL_TELNET_NEGOTIATED - Determines whether the SSL handshake will be done on the Telnet connection or on an SSL connection.
The value can be one of the following:
Constant
Value
Description
SESSION_OFF
"false"
Do the SSL Handshake on an SSL connection prior to Telnet negotiation(default)
SESSION_ON
"true"
Do the SSL Handshake on the Telnet connection
All classes needed for this option are in habeans.jar. SESSION_SSL must be set to SESSION_ON.
This option should only be set to true (SESSION_ON) if you have a Telnet server which supports IETF Internet-Draft
"TLS-based Telnet Security" which defines the protocol for doing the SSL Handshake over a Telnet connection.
All classes needed for this option are in habeans.jar. SESSION_SSL must be set to SESSION_ON.
In a standard HOD SSL connection, the client checks to make sure the server's certificate has been issued by
a trusted CA, but does not check the name in the certificate to make sure it matches the Internet address that
the certificate was received from. Setting SESSION_SSL_SERVER_AUTHENTICATION to SESSION_ON adds this additional
check.
All classes needed for this option are in habeans.jar, hassl.jar, and hacltau.jar.
SESSION_SSL must be set to SESSION_ON, and the server must request a client certificate.
In a standard SSL handshake, the client always requests the server's certificate to authenticate the server.
The server can also request the client's certificate. If you are connecting to a server that requires the
client to present a certificate, and you do not want the program to be prompted for a certificate and password,
then, the SESSION_SSL_CERTIFICATE_SOURCE must be set as ECLSession.SESSION_SSL_CERTIFICATE_IN_CSP
and SESSION_SSL_CERTIFICATE_PROMPT_HOW_OFTEN must be set to "SESSION_SSL_CERTIFICATE_DO_NOT_PROMPT".
Must be either ECLSession.SESSION_SSL_CERTIFICATE_IN_URL for a client certificate in a PKCS12 URL or
ECLSession.SESSION_SSL_CERTIFICATE_IN_CSP for a client certificate in a MSCAPI Cryptographic Service Provider
All classes needed for this option are in habeans.jar, hassl.jar and hacltau.jar.
SESSION_SSL and SESSION_SSL_CERTIFICATE_PROVIDED must be set to SESSION_ON,
and the server must request a client certificate.
Must be a valid URL or local file name of a client certificate in PKCS12 format.
If a URL is specified, the URL protocol (http, ftp, etc.) must be supported by the JVM running the program.
SESSION_SSL_CERTIFICATE_PROMPT_HOW_OFTEN - how often the user should
be prompted for certificate information (PKCS12 file location and password, or certificate name).
The value can be one of the following:
Constant
Value
Description
SESSION_SSL_CERTIFICATE_PROMPT_EACH_CONNECT
"SESSION_SSL_CERTIFICATE_PROMPT_EACH_CONNECT"
prompt the user each time a connection is attempted
SESSION_SSL_CERTIFICATE_PROMPT_FIRST_CONNECT
"SESSION_SSL_CERTIFICATE_PROMPT_FIRST_CONNECT"
prompt the user the first time a connection is attempted after HOD has started (default)
SESSION_SSL_CERTIFICATE_PROMPT_ONLY_ONCE
"SESSION_SSL_CERTIFICATE_PROMPT_ONLY_ONCE"
prompt once, and then store the information in the local preferences file
(this option is only available for client that store their preferences locally)
SESSION_SSL_CERTIFICATE_DO_NOT_PROMPT
"SESSION_SSL_CERTIFICATE_DO_NOT_PROMPT"
disables the prompt for certificate and password from HOD, but not from the browser or security device.
This option is only availabel when the certificate source is "SESSION_SSL_CERTIFICATE_IN_CSP"(default)
All classes needed for this option are in habeans.jar, hassl.jar, and hacltau.jar.
SESSION_SSL and SESSION_SSL_CERTIFICATE_PROVIDED must be set to SESSION_ON,
and the server must request a client certificate.
only prompt the user after the server has requested a certificate (default)
SESSION_ON
"true"
prompt the user before attempting the connection
All classes needed for this option are in habeans.jar, hassl.jar, and hacltau.jar.
SESSION_SSL and SESSION_SSL_CERTIFICATE_PROVIDED must be set to SESSION_ON,
and the server must request a client certificate.
SESSION_SSL_BROWSER_KEYRING_ADDED - Whether or not the browser keyring will be added to the HOD client keyring.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
The Browser keyring will be added to the HOD keyring
SESSION_OFF
"false"
The Browser keyring will NOT be added to the HOD keyring (default)
SESSION_SLP_ENABLED - Determines whether SLP will be used to determine the destination address and port (valid only for 3270 and 5250 sessions)
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Use SLP
SESSION_OFF
"false"
Do not use SLP (default)
SESSION_SLP_AS400_NAME - The fully qualified CP Name of the AS/400 to which the session will be established (valid only for 5250 sessions)
Blank (default) or a fully qualified CP Name of the destination AS/400. This parameter only has
significance when the SESSION_SLP_ENABLED parameter is ON.
SESSION_SLP_SCOPE - The SCOPE to be used to filter SLP requests (valid only for 3270 and 5250 sessions)
Blank (default) or a valid SCOPE defined at the Communications Server. This parameter only has
significance when the SESSION_SLP_ENABLED parameter is ON.
SESSION_SLP_THIS_SCOPE_ONLY - Determines whether session will be established through unscoped servers (valid only for 3270 and 5250 sessions)
This parameter only has significance when the SESSION_SLP_SCOPE contains a SCOPE. The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Session may only be established through servers with the specified scope.
SESSION_OFF
"false"
Session may be established through unscoped servers or servers with specified scope. (default)
SESSION_SLP_MAX_WAIT_TIME - The maximum time in milliseconds to wait for Directory and Service Agent responses (valid only for 3270 and 5250 sessions)
The maximum time in milliseconds SLP will wait for a response from a Directory or Service Agent. This parameter only has
significance when the SESSION_SLP_ENABLED parameter is ON.(default = "200")
SESSION_CODE_PAGE - Determines the code page table used to map the EBCDIC character set on the host to the Unicode character set on the workstation.
The value can be one of the following:
Constant
Value
Country
The following apply to 3270 and 5250 sessions
SESSION_CODE_PAGE_US
"037"
United States (default)
SESSION_CODE_PAGE_BELGIUM
"037"
Belgium
SESSION_CODE_PAGE_BRAZIL
"037"
Brazil
SESSION_CODE_PAGE_CANADA
"037"
Canada
SESSION_CODE_PAGE_NETHERLANDS
"037"
Netherlands
SESSION_CODE_PAGE_PORTUGAL
"037"
Portugal
SESSION_CODE_PAGE_GERMANY
"273"
Germany
SESSION_CODE_PAGE_AUSTRIA
"273"
Austria
SESSION_CODE_PAGE_BELGIUM_OLD
"274"
Belgium (Old)
SESSION_CODE_PAGE_BRAZIL_OLD
"275"
Brazil (Old)
SESSION_CODE_PAGE_DENMARK
"277"
Denmark
SESSION_CODE_PAGE_NORWAY
"277"
Norway
SESSION_CODE_PAGE_FINLAND
"278"
Finland
SESSION_CODE_PAGE_SWEDEN
"278"
Sweden
SESSION_CODE_PAGE_ITALY
"280"
Italy
SESSION_CODE_PAGE_SPAIN
"284"
Spain
SESSION_CODE_PAGE_LATIN_AMERICA
"284"
Latin-America (Spanish)
SESSION_CODE_PAGE_UNITED_KINGDOM
"285"
United Kingdom
SESSION_CODE_PAGE_FRANCE
"297"
France
SESSION_CODE_PAGE_ARABIC
"420"
Arabic
SESSION_CODE_PAGE_ISRAEL_NEW
"424"
Hebrew (New)
SESSION_CODE_PAGE_MULTILINGUAL
"500"
Multilingual
SESSION_CODE_PAGE_ISRAEL_OLD
"803"
Hebrew (Old)
SESSION_CODE_PAGE_THAI
"838"
Thai
SESSION_CODE_PAGE_ROMANIA
"870"
Romania
SESSION_CODE_PAGE_BOSNIA_HERZEGOVINA
"870"
Bosnia/Herzegovina
SESSION_CODE_PAGE_CROATIA
"870"
Croatia
SESSION_CODE_PAGE_CZECH
"870"
Czech
SESSION_CODE_PAGE_HUNGARY
"870"
Hungary
SESSION_CODE_PAGE_POLAND
"870"
Poland
SESSION_CODE_PAGE_SLOVAKIA
"870"
Slovakia
SESSION_CODE_PAGE_SLOVENIA
"870"
Slovenia
SESSION_CODE_PAGE_ICELAND
"871"
Iceland
SESSION_CODE_PAGE_GREECE
"875"
Greece
SESSION_CODE_PAGE_JAPAN_KATAKANA_NEX
"290"
Japan (Non-ext Katakana)
SESSION_CODE_PAGE_JAPAN_KATAKANA
"930"
Japan (Katakana)
SESSION_CODE_PAGE_KOREA
"933"
Korea
SESSION_CODE_PAGE_PRC
"935"
PRC (Simplified Chinese)
SESSION_CODE_PAGE_ROC
"937"
ROC (Traditional Chinese)
SESSION_CODE_PAGE_JAPAN_ENGLISH
"939"
Japan (English)
SESSION_CODE_PAGE_RUSSIA
"1025"
Russia
SESSION_CODE_PAGE_BELARUS
"1025"
Belarus
SESSION_CODE_PAGE_BULGARIA
"1025"
Bulgaria
SESSION_CODE_PAGE_MACEDONIA
"1025"
FYR Macedonia
SESSION_CODE_PAGE_SERBIA_MONTEGRO
"1025"
Serbia/Montenegro (Cyrillic)
SESSION_CODE_PAGE_TURKEY
"1026"
Turkey
SESSION_CODE_PAGE_OPEN_EDITION
"1047"
Open Edition
SESSION_CODE_PAGE_LATVIA
"1112"
Latvia
SESSION_CODE_PAGE_LITHUANIA
"1112"
Lithuania
SESSION_CODE_PAGE_ESTONIA
"1122"
Estonia
SESSION_CODE_PAGE_UKRAINE
"1123"
Ukraine
SESSION_CODE_PAGE_MULTILINGUAL_ISO_EURO
"924"
Multilingual ISO Euro
SESSION_CODE_PAGE_HINDI
"1137"
Hindi (5250 Display Only)
SESSION_CODE_PAGE_US_EURO
"1140"
United States Euro
SESSION_CODE_PAGE_BELGIUM_EURO
"1140"
Belgium Euro
SESSION_CODE_PAGE_BRAZIL_EURO
"1140"
Brazil Euro
SESSION_CODE_PAGE_CANADA_EURO
"1140"
Canada Euro
SESSION_CODE_PAGE_NETHERLANDS_EURO
"1140"
Netherlands Euro
SESSION_CODE_PAGE_PORTUGAL_EURO
"1140"
Portugal Euro
SESSION_CODE_PAGE_GERMANY_EURO
"1141"
Germany Euro
SESSION_CODE_PAGE_AUSTRIA_EURO
"1141"
Austria Euro
SESSION_CODE_PAGE_DENMARK_EURO
"1142"
Denmark Euro
SESSION_CODE_PAGE_NORWAY_EURO
"1142"
Norway Euro
SESSION_CODE_PAGE_FINLAND_EURO
"1143"
Finland Euro
SESSION_CODE_PAGE_SWEDEN_EURO
"1143"
Sweden Euro
SESSION_CODE_PAGE_ITALY_EURO
"1144"
Italy Euro
SESSION_CODE_PAGE_SPAIN_EURO
"1145"
Spain Euro
SESSION_CODE_PAGE_LATIN_AMERICA_EURO
"1145"
Latin America Euro
SESSION_CODE_PAGE_UNITED_KINGDOM_EURO
"1146"
United Kingdom Euro
SESSION_CODE_PAGE_FRANCE_EURO
"1147"
France Euro
SESSION_CODE_PAGE_MULTILINGUAL_EURO
"1148"
Multilingual Euro
SESSION_CODE_PAGE_ICELAND_EURO
"1149"
Iceland Euro
SESSION_CODE_PAGE_ROMANIA_EURO
"1153"
Romania Euro
SESSION_CODE_PAGE_BOSNIA_HERZEGOVINA_
"1153"
Bosnia/Herzegovina Euro
SESSION_CODE_PAGE_CROATIA_EURO
"1153"
Croatia Euro
SESSION_CODE_PAGE_CZECH_EURO
"1153"
Czech Republic Euro
SESSION_CODE_PAGE_HUNGARY_EURO
"1153"
Hungary Euro
SESSION_CODE_PAGE_POLAND_EURO
"1153"
Poland Euro
SESSION_CODE_PAGE_SLOVAKIA_EURO
"1153"
Slovakia Euro
SESSION_CODE_PAGE_SLOVENIA_EURO
"1153"
Slovenia Euro
SESSION_CODE_PAGE_RUSSIA_EURO
"1154"
Russia Euro
SESSION_CODE_PAGE_BELARUS_EURO
"1154"
Belarus Euro
SESSION_CODE_PAGE_BULGARIA_EURO
"1154"
Bulgaria Euro
SESSION_CODE_PAGE_MACEDONIA_EURO
"1154"
FYR Macedonia Euro
SESSION_CODE_PAGE_SERBIA_MONTEGRO_EUR
"1154"
Serbia/Montenegro (Cyrillic) Euro
SESSION_CODE_PAGE_TURKEY_EURO
"1155"
Turkey Euro
SESSION_CODE_PAGE_LATVIA_EURO
"1156"
Latvia Euro
SESSION_CODE_PAGE_LITHUANIA_EURO
"1156"
Lithuania Euro
SESSION_CODE_PAGE_ESTONIA_EURO
"1157"
Estonia Euro
SESSION_CODE_PAGE_UKRAINE_EURO
"1158"
Ukraine Euro
SESSION_CODE_PAGE_THAI_EURO
"1160"
Thai Euro
SESSION_CODE_PAGE_KOREA_EURO
"1364"
Korea Euro
SESSION_CODE_PAGE_ROC_EURO
"1371"
ROC (Traditional Chinese) Euro
SESSION_CODE_PAGE_PRC_GBK
"1388"
PRC (Simplified Chinese; GBK)
SESSION_CODE_PAGE_JAPAN_KATAKANA_EURO
"1390"
Japanese (Katakana Extended) Euro (3270 Only)
SESSION_CODE_PAGE_JAPAN_ENGLISH_EURO
"1399"
Japanese (Latin Extended) Euro
The following apply only to VT sessions
SESSION_VT_CODE_PAGE_MULTI
"1100"
DEC Multinational (default)
SESSION_VT_CODE_PAGE_USA
"1100"
United States
SESSION_VT_CODE_PAGE_BRI
"1101"
British
SESSION_VT_CODE_PAGE_DUT
"1102"
Dutch
SESSION_VT_CODE_PAGE_FIN
"1103"
Finnish
SESSION_VT_CODE_PAGE_FRE
"1104"
French
SESSION_VT_CODE_PAGE_CAN
"1020"
Canadian French
SESSION_VT_CODE_PAGE_GER
"1011"
German
SESSION_VT_CODE_PAGE_ITA
"1012"
Italian
SESSION_VT_CODE_PAGE_NOR
"1105"
Norwegian/Danish
SESSION_VT_CODE_PAGE_SPA
"1023"
Spanish
SESSION_VT_CODE_PAGE_SWE
"1106"
Swedish
SESSION_VT_CODE_PAGE_SWI
"1021"
Swiss
SESSION_VT_CODE_PAGE_THA
"874"
Thai
SESSION_SERVICE_MGR_HOST - The TCP/IP name or address of a host server which is running the HOD Service Manager
The value must be specified for persistent logging and tracing. Log and trace information are sent to the HOD Service Manager.
SESSION_TRACE - Activates the Log/Trace facility and starts tracing for the specified components.
A trace level from 1 to 3 can also be specified for each separate component using
the following syntax: "ECLSession=x", where x is the trace level.
The values can be zero or more of the following separated by blanks:
Constant
Value
Components Traced
SESSION_TRACE_SESSION
"ECLSession"
ECLSession and subcomponents
SESSION_TRACE_PS
"ECLPS"
ECLPS and subcomponents
SESSION_TRACE_FIELD
"ECLField"
ECLField and subcomponents
SESSION_TRACE_FIELDLIST
"ECLFieldList"
ECLFieldList and subcomponents
SESSION_TRACE_OIA
"ECLOIA"
ECLOIA and subcomponents
SESSION_TRACE_ERR
"ECLErr"
ECLErr and subcomponents
SESSION_TRACE_XFER
"ECLXFer"
ECLXFer and subcomponents
SESSION_TRACE_DS
"DataStream"
DataStream and subcomponents
SESSION_TRACE_PRINTER
"DataStream"
Printer and subcomponents
SESSION_TRACE_TRANSPORT
"Transport"
Transport and subcomponents
SESSION_TRACE_OIA_EVENT
"ECLOIAEvent"
OIA events
SESSION_TRACE_PS_EVENT
"ECLPSEvent"
PS events
SESSION_TRACE_COMM_EVENT
"ECLCommEvent"
Communications events
SESSION_LABEL - Specifies the session name.
Blank (default) or an arbitrary label that will be used to identify the session.
SESSION_PRINT_DESTINATION - Determines whether print output goes to a printer or a file
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Output goes to a printer device (default)
SESSION_OFF
"false"
Output goes to a file
SESSION_PRINTER_NAME - Name used to identify the locally attached printer.
User defined printer device name. For UNIX systems, the default is "/dev/lp0".
On a Windows system the default is "LPT1".
SESSION_PRINT_FILE_NAME - Printer output file name
The path and name of the file when the print destination is a file. This parameter only has
significance when the SESSION_PRINT_DESTINATION parameter is set to SESSION_OFF.
Key
Properties unique to ECLHostPrintSession
SESSION_WINDOWS_PRINTER_DEFAULT_PRINTER
- This property determines which print device is used on the Windows platform.
This property is only valid when the SESSION_USE_WINDOWS_PRINTER is SESSION_ON and
the operating system is Windows.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Printout is directed to a Windows default printer. (default)
SESSION_OFF
"false"
Printout is directed to a windows printer specified by the SESSION_WINDOWS_PRINTER_NAME property.
Key
Properties unique to ECLHostPrintSession and the 3270 platform
SESSION_PRINT_3270_PDT_FILE - This property contains the name of the PDT file to be used.
Blank (default) or a valid PDT resource name.
An example of a valid PDT resource is <codebase>/pdfpdt/LaserPCL.hodpdt.
SESSION_USE_PDT - This property determines whether the a PDT file or the Windows print subsystem is used to render a printout.
This property is only valid when SESSION_USE_WINDOWS_PRINTER is SESSION_ON and the operating system is Windows.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
The printout is formatted using a PDT file.
SESSION_OFF
"false"
The Windows printer driver will be used to format the printout. (default)
SESSION_PRINT_3270_FACE_NAME - This property identifies the font family name used for host print.
This property is only valid when SESSION_USE_WINDOWS_PRINTER is SESSION_ON and the operating system is Windows.
In addition, the SESSION_USE_PDT must also be set to SESSION_OFF.
Blank (default) or a valid font family name.
SESSION_PRINT_3270_SUPPRESS_NULL_LINES - This property, when set, suppresses the printing of null lines.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Null lines are suppressed from print jobs.
SESSION_OFF
"false"
Null lines are permitted to print. (default)
SESSION_PRINT_3270_NULLS_AS_SPACES - When this property is true, null values are replaced by spaces.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Null values are replaced by spaces. (default)
SESSION_OFF
"false"
Null values are printed as is, without modification.
SESSION_PRINT_3270_SUPPRESS_AUTO_NEWL_CR - This property is only valid for a 3270 printer session and applies to an unformatted LU Type 3 job and when bits 2 and 3 in the Write Control Character (WCC) are B'00'.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
an automatic-new-line is suppressed
if there is a Carriage Return (CR) code at SESSION_PRINT_3270_CPL+1 position.
For example, if the character 'A' is at CPL of line n and is followed by
a CR code at CPL+1 and the character 'B' at CPL+2, the 'A' is printed at
the last position of line n and the 'B' is printed at the first position
of the same line (overlapping).
SESSION_OFF
"false"
The 'B' character prints at the first position of line n+1.
Default: when a PDT is being used, the default value is taken from the
NO_AUTO_NL_IF_CR_AT_MPP_PLUS_1? entry in the PDT. If the entry is not found,
or when a PDT is not being used on a Windows platform, the value false is used. (default)
SESSION_PRINT_3270_SUPPRESS_AUTO_NEWL_NL - This property is only valid for a 3270 printer session and applies only to an unformatted LU Type 3 job and when bits 2 and 3 in the Write Control Character (WCC) are B'00'.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
If true this option suppresses an automatic-new-line if there
is a new-line (NL) code at SESSION_PRINT_3270_CPL+1.
For example, if the character 'A' is at CPL of line
n and is followed by a NL code at CPL+1 and the character
'B' at CPL+2, the 'A' is printed at the last position of
line n and the 'B' is printed at the first position of line n+1.
SESSION_OFF
"false"
A NL character at CPL+1 is effective after an automatic-new-line
and the result is a blank line. For example, if the character
'A' is at MPP of line n and is followed by a NL code at CPL+1
and the character 'B' at CPL+2, the 'A' is printed at the last
position of line n and 'B' is printed at the first position of line n+2.
Default: when a PDT is being used, the default value is taken
from the NO_AUTO_NL_IF_NL_AT_MPP_PLUS_1? entry in the PDT. If
the entry is not found, or when a PDT is not being used on a
Windows platform, the value false is used. (default)
SESSION_PRINT_3270_IGNORE_FF_FIRST_POS - This property controls the interpretation of form feed (FF) character when the character is located in the first position of the first line on a new page.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
If the session is LU Type 3 a form feed (FF) at the first position on the first line is ignored;
If the session is LU Type 1 an FF or a CR+FF combination at the beginning of a print job is ignored.
SESSION_OFF
"false"
First position form feed characters are processed normally. (default)
SESSION_PRINT_3270_FF_TAKES_PRINT_POS - This property determines how the form feed (FF) character is rendered.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
FF is executed, takes a print position, and is printed as a blank in the first position
on the first line of the next page. Therefore, the next print-position will be the second
position of that line. (default)
SESSION_OFF
"false"
FF is executed and the next print-position is the first position on the first line of the
next page. That is, FF does not take a print position.
SESSION_PRINT_3270_INTERV_TIME - This property contains the intervention time threshold in seconds.
The inactivity time is used to monitor print jobs and pop up an 'intervention required' message if a printer error occurs.
When a PDT is being used, the inactivity time can also be set by changing the INTERV_REQ_TIMER= session parameter in the PDT.
The default value is 10 seconds. A value of 0 disables the timer; a value below 11 sets an interval of 10 seconds; the
maximum value is 255.
Note: This option is not available if SESSION_USE_ADOBE_PDF is set to SESSION_ON.
SESSION_PRINT_3270_CONCAT_TIME - This property contains the print job concatenation interval time in seconds.
This value is used as the expiration time for the print-job concatenation timer, which starts at the end of a print job. If the next
print job arrives before the timer expires, that job is treated as a continuation of the previous job. If the time expires, an end-of-job
command is sent to the printer and the next job is treated as a separate job. The default is zero, which means that the
concatenation timer is not used (print jobs are never concatenated).
Note: This option is not available if SESSION_USE_ADOBE_PDF is set to SESSION_ON.
SESSION_PRINT_3270_TERM_TIME - This property contains the print end of job interval time in seconds.
This value is used as the the print-job termination time interval. A count down starts at the end of each print data record.
If an additional print-data record arrives before the timer expires, the new record is treated as a continuation of the previous record.
if the timer expires, an end-of-job command is sent to the printer and the next print record is treated as the start of a new print job.
When the value is set to the default of zero, print jobs can only be terminated by the end-of-job command, no time out will occur.
SESSION_PRINT_3270_BEST_FIT
- This property, when set, will scale the print job to optimally display on the
selected output device. Calculations for the optimization of the print display
is based on the SESSION_PRINT_3270_LPP property and the SESSION_PRINT_3270_CPL property.
Note: On LU Type 1 sessions, host directed changes to the SESSION_PRINT_3270_LPP and
SESSION_PRINT_3270_CPL properties are ignored for rendering calculations.
This property can be used, only when...
The operating system is Windows.
The SESSION_USE_WINDOWS_PRINTER is set to SESSION_ON.
The SESSION_USE_PDT is set to SESSION_OFF.
The SESSION_USE_ADOBE_PDF is set to SESSION_OFF.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
The best fit method will be used.
SESSION_OFF
"false"
The best fit mehod will NOT be used.(default)
SESSION_PRINT_3270_IGNORE_ATTR - This option determines are 3270 attributes are rendered on LU Type 3 sessions, only.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
All 3270 attributes are ignored except non-printable attributes.
SESSION_OFF
"false"
3270 attributes are not ignored. (default)
SESSION_PRINT_3270_SCS_SENSE - This property determines how Host On-Demand will react to an invalid SCS command.
This property only applies to LU Type 1 sessions.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
When an invalid SCS command is recieved, a negative response is sent to the host when an incorrect SCS command or
parameter is received. If there is more data in the job, printing continues, although some of the printed data may be incorrect. (default)
SESSION_OFF
"false"
When an invalid SCS command is recieved, printing continues, but no notification is sent to the host. If there is a
physical printer or connection problem, a sense-code is sent to the host even if the property is set to false.
SESSION_PRINT_3270_INHERIT_PARMS - This property affects the intialization of print job parameters for PDT sessions, only.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Parameters used in LU Type 1 print-job processing (such as, tab positions MPP or MPL) are inherited by the next job.
This option is used when the host system sends a formatting command such as Set Horizontal Format for the first job, but assumes that the second and
later jobs will use the format that is set for the first job.
SESSION_OFF
"false"
Parameters are intialized at the start of each new print job. (default)
SESSION_PRINT_3270_TRACTOR - This property selects the end of page behavior for sessions using a PDT.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
A newline (NL) character is sent at the page boudnary.
SESSION_OFF
"false"
A form feed (FF) character is sent at the page boundary. (default)
Notes:
This option is not available if SESSION_USE_ADOBE_PDF is set to SESSION_ON.
If a SET_AUTO_PERFORATION_SKIP command is defined in the PDT, a form feed is not sent, regardless of the setting of this option.
SESSION_PRINT_3270_FORM_FEED_POS - This property determines the rendering of the form feed (FF) character for LU3 type printer sessions.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
All form feeds are performed wherever they appear on the print line. (default)
SESSION_OFF
"false"
Only form feeds in column 1 are performed. If the are in any other column, they are replaced by a space character.
SESSION_PRINT_3270_DRAW_FIELD_ATTR - This property determines how the field-attribute byte is displayed in LU3 type printer sessions.
The value can be one of the following:
Constant
Value
Description
SESSION_PRINT_3270_DRAW_FIELD_ATTR_NONE
"0"
The field-attribute byte is drawn as a space character without an attribute (default)
SESSION_PRINT_3270_DRAW_FIELD_ATTR_HERE
"1"
The field-attribute byte is used to draw the current byte. For example, if the current byte is defined as an underscore field, the field-attribute byte is drawn as a space character with the underscore attribute.
SESSION_PRINT_3270_DRAW_FIELD_ATTR_NEXT
"2"
The field-attribute byte is used to draw the next field-attribute byte
SESSION_PRINT_3270_PRINTER_FONT_CODE_PAGE - This property specifies the default printer code page.
This code page is used in the event the printer does not support the code page specified by the SESSION_CODE_PAGE property or the specified PDT.
The default value for this property is "0".
Notes:
If a PDT is being used, the code page specified should be consistent in character code points with the code page specified in the PDT.
In the PDT case, the default code page for Latin-1 countries is code page 850. For all other countries it is that countries' default ASCII code page.
If a PDT is NOT selected, the default code page for a Windows printer is a Unicode code page font.
This property may be used to override that default with an ASCII code page.
SESSION_PRINT_3270_CPI - This property sets the number of characters per inch (CPI) for print jobs.
The default value for this property is "10".
SESSION_PRINT_3270_LPI - This property contains the number of lines per inch (LPI) for print jobs.
The default value for this property is "6".
SESSION_PRINT_3270_CPL - This property sets the maximum characters per line (CPL) for print jobs.
The value may also be referred to as the maximum print position (MPP).
The default value for this property is "80".
SESSION_PRINT_3270_LPP - This property sets the maximum lines per page (LPP) for print jobs.
This value may also be referred to as the maximum page length (MPL).
The default value for this property is "60".
SESSION_PRINT_3270_SKIP_TRN_DATA - When true, the print data sent with SCS TRN command is skipped.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Skip the print data sent with SCS TRN command.
SESSION_OFF
"false"
Do not skip the print data sent with SCS TRN command. (default)
SESSION_USE_ADOBE_PDF - When true, PDF formatting is used for writing the print destination file.
This property is only valid when the SESSION_PRINT_DESTINATION is set to SESSION_OFF.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Turns on the PDF formatting option for file destination print jobs.
SESSION_OFF
"false"
Turns off the PDF formatting option. (default)
SESSION_PDF_FONT - This property selects the font to use for the PDF formatting option. This property is only valid when the SESSION_PRINT_DESTINATION is set to SESSION_OFF
and SESSION_USE_ADOBE_PDF is set to SESSION_ON.
The value can be one of the following:
Constant
Value
SESSION_PRINT_PDF_FONT_COURIER (default)
"Courier"
SESSION_PRINT_PDF_FONT_COURIERNEWPSMT
"CourierNewPSMT"
SESSION_PRINT_PDF_FONT_LUCIDACONSOLE
"LucidaConsole"
SESSION_PRINT_PDF_FONT_KOZMINPRO
"KozMinPro-Regular-Acro"
SESSION_PRINT_PDF_FONT_MSUNGSTD
"MSungStd-Light-Acro"
SESSION_PRINT_PDF_FONT_STSONGSTD
"STSongStd-Light-Acro"
SESSION_PRINT_PDF_FONT_HYSMYEONGJOSTD
"HYSMyeongJoStd-Medium-Acro"
SESSION_PRINT_PDF_FONT_COURIERTHAI
"CourierThai"
SESSION_PRINT_PDF_FONT_SHALOM
"Shalom"
SESSION_PRINT_PDF_FONT_NARKISSIM
"Narkissim"
SESSION_PRINT_PDF_FONT_NARKISS_TAM
"Narkiss Tam"
SESSION_PRINT_PDF_FONT_CUMBERLAND
"Cumberland"
SESSION_PRINT_PDF_FONT_TYPING_ARABIC
"TypingArabic"
SESSION_PDF_PAPER_ORIENTATION - This property selects the paper orientation for the PDF formatting option. This property is only valid when the SESSION_PRINT_DESTINATION is set to SESSION_OFF
and SESSION_USE_ADOBE_PDF is set to SESSION_ON.
The value can be one of the following:
Constant
Value
Description
SESSION_PRINT_PDF_ORIENTATION_PORTRAIT
"0"
This options selects a portrait orientation. (default)
SESSION_PRINT_PDF_ORIENTATION_LANDSCAPE
"1"
This options selects a landscape orientation.
SESSION_PRINT_3270_RTL_FILE - This property, when set, causes reversing of every line in file. This property applies BIDI sessions only.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Reverse lines (print from right to left).
SESSION_OFF
"false"
Print without lines reversing. (default)
SESSION_VIEW_JOB_IN_BROWSER - This property will cause a new browser window to pop up a print
job viewer when the print job is complete. This property is only valid when the SESSION_PRINT_DESTINATION is set to SESSION_OFF
and SESSION_USE_ADOBE_PDF is set to SESSION_ON.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
The print job will be made viewable in a new browser display after the print job has completed.
SESSION_OFF
"false"
No viewing of the print job is made available. (default)
SESSION_PRINT_BUFFSIZE - This is the size of the buffer used as a queue for print jobs as the job is spooling to disk or printer.
The value can be one of the following:
Constant
Value
Description
ECLSession.SESSION_PRINT_BUFFSIZE_1920
"1920"
A buffer size of 1920 Bytes. (default)
ECLSession.SESSION_PRINT_BUFFSIZE_2560
"2560"
A buffer size of 2560 Bytes.
ECLSession.SESSION_PRINT_BUFFSIZE_3440
"3440"
A buffer size of 3440 Bytes.
ECLSession.SESSION_PRINT_BUFFSIZE_3564
"3564"
A buffer size of 3564 Bytes.
SESSION_ASSOCIATED_DEVICE_NAME - This property sets the associated device name. This is typically used prior to a reconnect event.
Blank (default) or a valid device name.
Key
Properties unique to ECLHostPrintSession and the 5250 platform
SESSION_PRINT_5250_PRINTER_MODEL - - This property contains printer model number for the session.
The value can be one of the following:
Constant
Value
Description
SBCS Printers
SESSION_PRINT_5250_PRINTER_MODEL_IBM2380
"*IBM2380"
IBM 2380 Personal Printer Series II
SESSION_PRINT_5250_PRINTER_MODEL_IBM2380_1
"*IBM2380_1"
IBM 2380 Plus Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM2381
"*IBM2381"
IBM 2381 Personal Printer Series II
SESSION_PRINT_5250_PRINTER_MODEL_IBM2381_1
"*IBM2381_1"
IBM 2381 Plus Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM2390
"*IBM2390"
IBM 2390 Personal Printer Series II
SESSION_PRINT_5250_PRINTER_MODEL_IBM2390_1
"*IBM2390_1"
IBM 2390 Plus Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM2391
"*IBM2391"
IBM 2391 Personal Printer Series II
SESSION_PRINT_5250_PRINTER_MODEL_IBM2391_1
"*IBM2391_1"
IBM 2391 Plus Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM3112
"*IBM3112"
IBM 3112 Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM3116
"*IBM3116"
IBM 3116 Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM3130
"*IBM3130"
IBM 3130 Advanced Function Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM3812
"*IBM3812"
IBM 3812 Pageprinter
SESSION_PRINT_5250_PRINTER_MODEL_IBM3816
"*IBM3816"
IBM 3816 Pageprinter
SESSION_PRINT_5250_PRINTER_MODEL_IBM3912HP
"*IBM3912HP"
IBM 3912 Page Printer (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM3916HP
"*IBM3916HP"
IBM 3916 Page Printer (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM39302
"*IBM39302"
IBM 39302 IBM 3930-02S Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM39302_1
"*IBM39302_1"
IBM 39302 IBM 3930-02D Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM39303
"*IBM39303"
IBM 39303 IBM 3930-03S Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM39303_1
"*IBM39303_1"
IBM 39303 IBM 3930-03D Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM4019
"*IBM4019"
IBM 4019 LaserPrinter
SESSION_PRINT_5250_PRINTER_MODEL_IBM4019_1
"*IBM4019_1"
IBM 4019E LaserPrinter E
SESSION_PRINT_5250_PRINTER_MODEL_IBM4019HP
"*IBM4019HP"
IBM 4019 LaserPrinter (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4019HP_1
"*IBM4019HP_1"
IBM 4019E LaserPrinter E (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4029
"*IBM4029"
IBM 4029-010 LaserPrinter 5E
SESSION_PRINT_5250_PRINTER_MODEL_IBM4029_1
"*IBM4029_1"
IBM 4029-020 LaserPrinter 6
SESSION_PRINT_5250_PRINTER_MODEL_IBM4029_2
"*IBM4029_2"
IBM 4029-030 LaserPrinter 10
SESSION_PRINT_5250_PRINTER_MODEL_IBM4029_3
"*IBM4029_3"
IBM 4029-040 LaserPrinter 10L
SESSION_PRINT_5250_PRINTER_MODEL_IBM4029HP
"*IBM4029HP"
IBM 4029-010 LaserPrinter 5E (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4029HP_1
"*IBM4029HP_1"
IBM 4029-020 LaserPrinter 6 (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4029HP_2
"*IBM4029HP_2"
IBM 4029-030 LaserPrinter 10 (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4029HP_3
"*IBM4029HP_3"
IBM 4029-040 LaserPrinter 10L (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4037
"*IBM4037"
IBM 4037 5E Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP
"*IBM4039HP"
IBM LaserPrinter 4039-10D (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_1
"*IBM4039HP_1"
IBM LaserPrinter 4039-10D Plus (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_2
"*IBM4039HP_2"
IBM LaserPrinter 4039-10R (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_3
"*IBM4039HP_3"
IBM LaserPrinter 4039-10R Plus (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_4
"*IBM4039HP_4"
IBM LaserPrinter 4039-12R (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_5
"*IBM4039HP_5"
IBM LaserPrinter 4039-12R Plus (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_6
"*IBM4039HP_6"
IBM LaserPrinter 4039-12L (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_7
"*IBM4039HP_7"
IBM LaserPrinter 4039-12L Plus (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_8
"*IBM4039HP_8"
IBM LaserPrinter 4039-16L (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4039HP_9
"*IBM4039HP_9"
IBM LaserPrinter 4039-16L Plus (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4070
"*IBM4070"
IBM 4070 IJ
SESSION_PRINT_5250_PRINTER_MODEL_IBM4070EP
"*IBM4070EP"
IBM 4070 IJ (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4072
"*IBM4072"
IBM 4072 ExecJet
SESSION_PRINT_5250_PRINTER_MODEL_IBM4076
"*IBM4076"
IBM 4076 ExecJet II Printer (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM42011
"*IBM42011"
IBM 4201-1 Proprinter (default SBCS)
SESSION_PRINT_5250_PRINTER_MODEL_IBM42012
"*IBM42012"
IBM 4201-2 Proprinter II
SESSION_PRINT_5250_PRINTER_MODEL_IBM42013
"*IBM42013"
IBM 4201-3 Proprinter III
SESSION_PRINT_5250_PRINTER_MODEL_IBM42021
"*IBM42021"
IBM 4202-1 Proprinter XL
SESSION_PRINT_5250_PRINTER_MODEL_IBM42022
"*IBM42022"
IBM 4202-2 Proprinter II XL
SESSION_PRINT_5250_PRINTER_MODEL_IBM42023
"*IBM42023"
IBM 4202-3 Proprinter III XL
SESSION_PRINT_5250_PRINTER_MODEL_IBM42071
"*IBM42071"
IBM 4207-1 Proprinter X24
SESSION_PRINT_5250_PRINTER_MODEL_IBM42072
"*IBM42072"
IBM 4207-2 Proprinter X24E
SESSION_PRINT_5250_PRINTER_MODEL_IBM42081
"*IBM42081"
IBM 4208-1 Proprinter XL24
SESSION_PRINT_5250_PRINTER_MODEL_IBM42082
"*IBM42082"
IBM 4208-2 Proprinter XL24E
SESSION_PRINT_5250_PRINTER_MODEL_IBM4212
"*IBM4212"
IBM 4212 Proprinter 24P
SESSION_PRINT_5250_PRINTER_MODEL_IBM4216
"*IBM4216"
IBM 4216-10 Personal Pageprinter
SESSION_PRINT_5250_PRINTER_MODEL_IBM4226
"*IBM4226"
IBM 4226-302 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM4230
"*IBM4230"
IBM 4230-4S3 Printer (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4230_1
"*IBM4230_1"
IBM 4230-4I3 Printer (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4232
"*IBM4232"
IBM 4232-302 Printer (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4244MAN
"*IBM4244MAN"
IBM4244 Printer (single tractor or manual feed selection)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4244ASF
"*IBM4244ASF"
IBM4244 Printer (single tractor feed and ASF)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4244DUAL
"*IBM4244DUAL"
IBM4244 Printer (dual tractor feeds)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4247MAN
"*IBM4247MAN"
IBM4247 Printer (single formfeed or manual selection)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4247DUAL
"*IBM4247DUAL"
IBM4247 Printer (dual tractor feeds)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4247ASF
"*IBM4247ASF"
IBM4247 Printer (single tractor feed and ASF)
SESSION_PRINT_5250_PRINTER_MODEL_IBM4312
"*IBM4312"
IBM Network Printer 12
SESSION_PRINT_5250_PRINTER_MODEL_IBM4317
"*IBM4317"
IBM Network Printer 17
SESSION_PRINT_5250_PRINTER_MODEL_IBM4320
"*IBM4320"
IBM InfoPrint 20
SESSION_PRINT_5250_PRINTER_MODEL_IBM4324
"*IBM4324"
IBM Network Printer 24
SESSION_PRINT_5250_PRINTER_MODEL_IBM4332
"*IBM4332"
IBM InfoPrint 32
SESSION_PRINT_5250_PRINTER_MODEL_IBM47121
"*IBM47121"
IBM 4712-1 Transaction Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM47122
"*IBM47122"
IBM 4712-2 Transaction Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM47221
"*IBM47221"
IBM 4722-1 Document Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM47222
"*IBM47222"
IBM 4722-2 Document Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM4770
"*IBM4770"
IBM 4770 InkJet Transaction Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5152
"*IBM5152"
IBM 5152 Graphics Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5201
"*IBM5201"
IBM 5201-2 Quietwriter
SESSION_PRINT_5250_PRINTER_MODEL_IBM5202
"*IBM5202"
IBM 5202-1 Quietwriter III
SESSION_PRINT_5250_PRINTER_MODEL_IBM5204
"*IBM5204"
IBM 5204-1 Quickwriter
SESSION_PRINT_5250_PRINTER_MODEL_IBM5216
"*IBM5216"
IBM 5216 Wheelprinter
SESSION_PRINT_5250_PRINTER_MODEL_IBM6400
"*IBM6400"
IBM 6400 Printers (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM6400EP
"*IBM6400EP"
IBM 6400 Printers (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM6408
"*IBM6408"
IBM 6408-A00 Printer (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM6408_1
"*IBM6408_1"
IBM 6408-CTA Printer (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM6412
"*IBM6412"
IBM 6412-A00 Printer (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_IBM6412_1
"*IBM6412_1"
IBM 6412-CTA Printer (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_CPQPM15
"*CPQPM15"
COMPAQ PageMark 15 (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_CPQPM20
"*CPQPM20"
COMPAQ PageMark 20 (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_HPII
"*HPII"
HP LaserJet Series II
SESSION_PRINT_5250_PRINTER_MODEL_HPIID
"*HPIID"
HP LaserJet IID
SESSION_PRINT_5250_PRINTER_MODEL_HPIIP
"*HPIIP"
HP LaserJet IIP
SESSION_PRINT_5250_PRINTER_MODEL_HPIII
"*HPIII"
HP LaserJet III
SESSION_PRINT_5250_PRINTER_MODEL_HPIIID
"*HPIIID"
HP LaserJet IIID
SESSION_PRINT_5250_PRINTER_MODEL_HPIIIP
"*HPIIIP"
HP LaserJet IIIP
SESSION_PRINT_5250_PRINTER_MODEL_HPIIISI
"*HPIIISI"
HP LaserJet IIISi
SESSION_PRINT_5250_PRINTER_MODEL_HP310
"*HP310"
HP DeskJet 310
SESSION_PRINT_5250_PRINTER_MODEL_HP320
"*HP320"
HP DeskJet 320
SESSION_PRINT_5250_PRINTER_MODEL_HP4
"*HP4"
HP LaserJet 4
SESSION_PRINT_5250_PRINTER_MODEL_HP5
"*HP5"
HP LaserJet 5 series
SESSION_PRINT_5250_PRINTER_MODEL_HP500
"*HP500"
HP DeskJet 500
SESSION_PRINT_5250_PRINTER_MODEL_HP520
"*HP520"
HP DeskJet 520
SESSION_PRINT_5250_PRINTER_MODEL_HP540
"*HP540"
HP DeskJet 540
SESSION_PRINT_5250_PRINTER_MODEL_HP550C
"*HP550C"
HP DeskJet 550C
SESSION_PRINT_5250_PRINTER_MODEL_HP560C
"*HP560C"
HP DeskJet 560C
SESSION_PRINT_5250_PRINTER_MODEL_HP5SI
"*HP5SI"
HP LaserJet 5Si
SESSION_PRINT_5250_PRINTER_MODEL_HP6
"*HP6"
HP LaserJet 6 series
SESSION_PRINT_5250_PRINTER_MODEL_HPCOLORLJ
"*HPCOLORLJ"
HP Color LaserJet 5
SESSION_PRINT_5250_PRINTER_MODEL_HPPAINT
"*HPPAINT"
HP PaintJet
SESSION_PRINT_5250_PRINTER_MODEL_HPPAINT_1
"*HPPAINT_1"
HP PaintJet XL
SESSION_PRINT_5250_PRINTER_MODEL_HPPAINT_2
"*HPPAINT_2"
HP PaintJet XL300
SESSION_PRINT_5250_PRINTER_MODEL_LEXOPTRA
"*LEXOPTRA"
Lexmark Optra Family (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_LEXOPTRAC
"*LEXOPTRAC"
Lexmark Optra C Color Printer
SESSION_PRINT_5250_PRINTER_MODEL_LEXOPTRAN
"*LEXOPTRAN"
Lexmark Optra N Printer
SESSION_PRINT_5250_PRINTER_MODEL_LEXOPTRAS
"*LEXOPTRAS"
Lexmark Optra S Printer family
SESSION_PRINT_5250_PRINTER_MODEL_LEXOPTRASC
"*LEXOPTRASC"
Lexmark Optra SC Color Printer
SESSION_PRINT_5250_PRINTER_MODEL_LEX2380
"*LEX2380"
Lexmark Forms Printer 2380 Plus
SESSION_PRINT_5250_PRINTER_MODEL_LEX2381
"*LEX2381"
Lexmark Forms Printer 2381 Plus
SESSION_PRINT_5250_PRINTER_MODEL_LEX2390
"*LEX2390"
Lexmark Forms Printer 2390 Plus
SESSION_PRINT_5250_PRINTER_MODEL_LEX2391
"*LEX2391"
Lexmark Forms Printer 2391 Plus
SESSION_PRINT_5250_PRINTER_MODEL_LEX4227
"*LEX4227"
Lexmark 4227 Forms Printer
SESSION_PRINT_5250_PRINTER_MODEL_EPAP2250
"*EPAP2250"
Epson ActionPrinter 2250
SESSION_PRINT_5250_PRINTER_MODEL_EPAP3250
"*EPAP3250"
Epson ActionPrinter 3250
SESSION_PRINT_5250_PRINTER_MODEL_EPAP5000
"*EPAP5000"
Epson ActionPrinter 5000
SESSION_PRINT_5250_PRINTER_MODEL_EPAP5500
"*EPAP5500"
Epson ActionPrinter 5500
SESSION_PRINT_5250_PRINTER_MODEL_EPDFX5000
"*EPDFX5000"
Epson DFX-5000
SESSION_PRINT_5250_PRINTER_MODEL_EPDFX8000
"*EPDFX8000"
Epson DFX-8000
SESSION_PRINT_5250_PRINTER_MODEL_EPFX850
"*EPFX850"
Epson FX-850
SESSION_PRINT_5250_PRINTER_MODEL_EPFX870
"*EPFX870"
Epson FX-870
SESSION_PRINT_5250_PRINTER_MODEL_EPFX1170
"*EPFX1170"
Epson FX-1170
SESSION_PRINT_5250_PRINTER_MODEL_EPLQ570
"*EPLQ570"
Epson LQ-570
SESSION_PRINT_5250_PRINTER_MODEL_EPLQ860
"*EPLQ860"
Epson LQ-860
SESSION_PRINT_5250_PRINTER_MODEL_EPLQ870
"*EPLQ870"
Epson LQ-870
SESSION_PRINT_5250_PRINTER_MODEL_EPLQ1070
"*EPLQ1070"
Epson LQ-1070
SESSION_PRINT_5250_PRINTER_MODEL_EPLQ1170
"*EPLQ1170"
Epson LQ-1170
SESSION_PRINT_5250_PRINTER_MODEL_EPLQ510
"*EPLQ510"
Epson LQ-510
SESSION_PRINT_5250_PRINTER_MODEL_EPLQ2550
"*EPLQ2550"
Epson LQ-2550
SESSION_PRINT_5250_PRINTER_MODEL_EPLX810
"*EPLX810"
Epson LX-810
SESSION_PRINT_5250_PRINTER_MODEL_EPSQ870
"*EPSQ870"
Epson SQ-870
SESSION_PRINT_5250_PRINTER_MODEL_EPSQ1170
"*EPSQ1170"
Epson SQ-1170
SESSION_PRINT_5250_PRINTER_MODEL_EPEPL7000
"*EPEPL7000"
Epson EPL-7000
SESSION_PRINT_5250_PRINTER_MODEL_EPEPL8000
"*EPEPL8000"
Epson EPL-8000
SESSION_PRINT_5250_PRINTER_MODEL_NECP2
"*NECP2"
NEC P2 Pinwriter
SESSION_PRINT_5250_PRINTER_MODEL_NECP2200
"*NECP2200"
NEC P2200 Pinwriter
SESSION_PRINT_5250_PRINTER_MODEL_NECP2200XE
"*NECP2200XE"
NEC P2200 XE Pinwriter
SESSION_PRINT_5250_PRINTER_MODEL_NECP5200
"*NECP5200"
NEC P5200 Pinwriter
SESSION_PRINT_5250_PRINTER_MODEL_NECP5300
"*NECP5300"
NEC P5300 Pinwriter
SESSION_PRINT_5250_PRINTER_MODEL_NECP6200
"*NECP6200"
NEC P6200 Pinwriter
SESSION_PRINT_5250_PRINTER_MODEL_NECP6300
"*NECP6300"
NEC P6300 Pinwriter
SESSION_PRINT_5250_PRINTER_MODEL_OKI184IBM
"*OKI184IBM"
Okidata Microline 184 Turbo (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_OKI320IBM
"*OKI320IBM"
Okidata Microline 320 (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_OKI321IBM
"*OKI321IBM"
Okidata Microline 321 (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_OKI390IBM
"*OKI390IBM"
Okidata Microline 390 Plus (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_OKI391IBM
"*OKI391IBM"
Okidata Microline 391 Plus (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_OKI393IBM
"*OKI393IBM"
Okidata Microline 393 Plus (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_OKI590IBM
"*OKI590IBM"
Okidata Microline 590 (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_OKI591IBM
"*OKI591IBM"
Okidata Microline 591 (IBM Mode)
SESSION_PRINT_5250_PRINTER_MODEL_OKI400
"*OKI400"
Okidata OL400 LED Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_OKI800
"*OKI800"
Okidata OL800 LED Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_OKI810
"*OKI810"
Okidata OL810 LED Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_OKI820
"*OKI820"
Okidata OL820 LED Page Printer
SESSION_PRINT_5250_PRINTER_MODEL_OKI3410
"*OKI3410"
Okidata Pacemark 3410
SESSION_PRINT_5250_PRINTER_MODEL_PAN1123EP
"*PAN1123EP"
Panasonic KX-P1123 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN1124EP
"*PAN1124EP"
Panasonic KX-P1124 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN1124IEP
"*PAN1124IEP"
Panasonic KX-P1124i (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN1180EP
"*PAN1180EP"
Panasonic KX-P1180 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN1180IEP
"*PAN1180IEP"
Panasonic KX-P1180i (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN1191EP
"*PAN1191EP"
Panasonic KX-P1191 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN1624EP
"*PAN1624EP"
Panasonic KX-P1624 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN1654EP
"*PAN1654EP"
Panasonic KX-P1654 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN1695EP
"*PAN1695EP"
Panasonic KX-P1695 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN2123EP
"*PAN2123EP"
Panasonic KX-P2123 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN2124EP
"*PAN2124EP"
Panasonic KX-P2124 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN2180EP
"*PAN2180EP"
Panasonic KX-P2180 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN2624EP
"*PAN2624EP"
Panasonic KX-P2624 (Epson Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN4410HP
"*PAN4410HP"
Panasonic KX-P4410 (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN4420HP
"*PAN4420HP"
Panasonic KX-P4420 (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN4430HP
"*PAN4430HP"
Panasonic KX-P4430 (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN4450IHP
"*PAN4450IHP"
Panasonic KX-P4450i (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_PAN4451HP
"*PAN4451HP"
Panasonic KX-P4451 (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_XRX4215MRP
"*XRX4215MRP"
Xerox 4215/MRP (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_XRX4219MRP
"*XRX4219MRP"
Xerox 4219/MRP (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_XRX4220MRP
"*XRX4220MRP"
Xerox 4220/MRP (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_XRX4230MRP
"*XRX4230MRP"
Xerox 4230/MRP (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_XRX4235
"*XRX4235"
Xerox 4235 LaserPrinting (HP Mode)
SESSION_PRINT_5250_PRINTER_MODEL_XRX4700II
"*XRX4700II"
Xerox 4700 II Color Document Printer (HP Mode)
DBCS Printers
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575
"*IBM5575"
IBM 5579-H02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_1
"*IBM5575_1"
IBM 5579-K02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_2
"*IBM5575_2"
IBM 5577-T02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_3
"*IBM5575_3"
IBM 5579-S02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_4
"*IBM5575_4"
IBM 5577-K02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_5
"*IBM5575_5"
IBM 5577-J02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_6
"*IBM5575_6"
IBM 5577-G02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_7
"*IBM5575_7"
IBM 5577-H02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_8
"*IBM5575_8"
IBM 5577-F02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_9
"*IBM5575_9"
IBM 5577-B02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_10
"*IBM5575_10"
IBM 5575-H02 Printer (default DBCS)
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_11
"*IBM5575_11"
IBM 5575-F02 Printer (with SBCS Cartridge)
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_12
"*IBM5575_12"
IBM 5575-B02 Printer (with SBCS Cartridge)
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_13
"*IBM5575_13"
IBM 5573-K02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_14
"*IBM5575_14"
IBM 5573-J02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_15
"*IBM5575_15"
IBM 5573-H02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_16
"*IBM5575_16"
IBM 5573-G02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_17
"*IBM5575_17"
IBM 5572-B02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_18
"*IBM5575_18"
IBM 5417-011 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_19
"*IBM5575_19"
IBM 5407-011 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_20
"*IBM5575_20"
IBM 5327-011 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBM5575_21
"*IBM5575_21"
IBM 4208-502 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES
"*IBMPAGES"
IBM 5589-H01 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES_1
"*IBMPAGES_1"
IBM 5588-H02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES_2
"*IBMPAGES_2"
IBM 5587-H01 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES_3
"*IBMPAGES_3"
IBM 5586-H02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES_4
"*IBMPAGES_4"
IBM 5585-H01 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES_5
"*IBMPAGES_5"
IBM 5584-K02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES_6
"*IBMPAGES_6"
IBM 5584-H02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES_7
"*IBMPAGES_7"
IBM 5584-G02 Printer
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES300
"*IBMPAGES300"
IBM Network Printer 12 (with PAGES feature)
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES300_1
"*IBMPAGES300_1"
IBM Network Printer 17 (with PAGES feature)
SESSION_PRINT_5250_PRINTER_MODEL_IBMPAGES300_2
"*IBMPAGES300_2"
IBM Network Printer 24 (with PAGES feature)
SESSION_PRINT_5250_PRINTER_MODEL_CANLIPS3
"*CANLIPS3"
Canon LIPS3 DBCS Printers
SESSION_PRINT_5250_PRINTER_MODEL_HPDBCS
"*HPDBCS"
HP LaserJet-compatible printers for Double Byte Character Set
SESSION_PRINT_5250_PRINTER_MODEL_ESCPDBCS
"*ESCPDBCS"
Epson ESC/P DBCS Printers
SESSION_PRINT_5250_PRINTER_MODEL_NECPCPR201
"*NECPCPR201"
NEC PC-PR101
SESSION_PRINT_5250_PRINTER_MODEL_NECPCPR201_1
"*NECPCPR201_1"
NEC PC-PR201
SESSION_PRINT_5250_DRAWER_1 - This property specifies the paper size for the session's paper source 1.
The value can be one of the following:
Constant
Value
SESSION_PRINT_FORM_DEFAULT (default)
"00"
SESSION_PRINT_FORM_LETTER
"01"
SESSION_PRINT_FORM_LEGAL
"02"
SESSION_PRINT_FORM_EXECUTIVE
"03"
SESSION_PRINT_FORM_A4
"04"
SESSION_PRINT_FORM_A5
"05"
SESSION_PRINT_FORM_B5
"06"
SESSION_PRINT_FORM_CONT80
"07"
SESSION_PRINT_FORM_CONT132
"08"
SESSION_PRINT_FORM_MONARCH
"09"
SESSION_PRINT_FORM_NUMBER9
"0A"
SESSION_PRINT_FORM_NUMBER10
"0B"
SESSION_PRINT_FORM_C5
"0C"
SESSION_PRINT_FORM_DL
"0D"
SESSION_PRINT_FORM_A3
"0E"
SESSION_PRINT_FORM_B4
"0F"
SESSION_PRINT_FORM_LEDGER
"10"
SESSION_PRINT_FORM_SAME
"FE"
SESSION_PRINT_FORM_NONE
"FF"
SESSION_PRINT_5250_DRAWER_2 - This property specifies the paper size for the session's paper source 2.
SESSION_PRINT_5250_ASCII_CODEPAGE_899 - This property identifies whether or not the session's printer supports ASCII code page 899.
The value can be one of the following:
Constant
Value
Description
SESSION_ON
"true"
Yes, the printer does support ASCII code page 899.
SESSION_OFF
"false"
No, the printer does not support ASCII code page 899. (default)
SESSION_PRINT_5250_MESSAGE_QUEUE - This property specifies the name of the
queue where operational messages for the printer device are sent.
The default queue for printer opererational commands is "QSYSQPR". If a display session name is
used here, the printer bound messages will be displayed on the display session. A message queue exists
for each display device and is assigned the same name as the device itself.
The first character must be A-through-Z, $ (dollar sign), @ (commercial at sign),
or '#' (number sign). The remaining characters can be A-through-Z, 0-through-9,
$, @, '#', . (period), and _ (underscore).
SESSION_PRINT_5250_MESSAGE_LIBRARY - This property contains
the name of the library where the printer message queue is located.
The default library name is "*LIBL".
The first character must be A-through-Z, $ (dollar sign), @ (commercial at sign),
or '#' (number sign). The remaining characters can be A-through-Z, 0-through-9,
$, @, '#', . (period), and _ (underscore).
SESSION_PRINT_5250_HOST_FONT - This property sets the font to be used if one is not supplied by the printing application.
Formatting providied by the application is used. (default)
SESSION_PRINT_5250_CUSTOMIZING_OBJECT
- This property specifies the name of a user-defined iSeries file that can be used to format print data.
The default object name is "*NONE". The
SESSION_PRINT_5250_USE_CUSTOMIZING_OBJECT must be set to SESSION_ON for this property to be used
The first character must be A-through-Z, $ (dollar sign), @ (commercial at sign), or '#' (number sign). The remaining characters can be A-through-Z,
0-through-9, $, @, '#', . (period), and _ (underscore).
SESSION_PRINT_5250_CUSTOMIZING_LIBRARY - This property contains the name of the iSeries system library that contains the customizing object file specified by the SESSION_PRINT_5250_CUSTOMIZING_OBJECT property.
The default library name is "*LIBL".
The first character must be A-through-Z, $ (dollar sign), @ (commercial at sign), or '#' (number sign). The remaining characters can be A-through-Z,
0-through-9, $, @, '#', . (period), and _ (underscore).