cc/td/doc/product/iaabu/webcon
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

WebConnect Pro Readme

WebConnect Pro Readme

This document contains the following information about this release:

New Features in This Version

The following features are now supported in this version:

SSL Support in Web Server

OC://WebConnect now supports SSL in the web server packaged with the product, including authentication of clients using X.509 certificates. This feature allows customers to have the highest level of security possible in their OC://WebConnect installations without forcing the use of a third-party web server.

User-to-LU Mapping Feature

This feature allows the administrator to setup a table to pre-assign LU's host, port and session to individual users. When enabled, this feature allows the user to enter a user ID and optional password when starting his OC://WebConnect session. The built-in startup script will then lookup the parameters associated with the user.

Raw Mode Print Support

This feature allows 3287 print applications to send printer-specific data directly to the printer using the SCS control code, TRN, or by translating ASCII escape sequences from EBCDIC. When in raw mode, margin, character mode and autofit settings are ignored, as well as the SCS control codes, SLD and SA. Printer initialization and termination strings can be set from the configurator. These strings are sent to the printer at the beginning and end of each print job, respectively.

Suppress Printer Dialog

This printer option is supported for both 3287 and screen printing. Setting this option will cause print jobs to be sent to the default printer without user intervention. This feature is only supported by the OC://WebPrint implementation and is only settable from the HTML configurator. This keyword in the session file is "ShowDialog". At runtime this setting is passed as the applet parameter "showprtdlg", and can assume values of "ON" or "OFF".

End Print Job after Inactivity Timeout

This 3287 option causes OC://WebConnect to automatically end a print job if no new data is received within the specified timeout interval. This ensures that any data queued for the current print job will be flushed to the printer for applications that do not use the SNA End Bracket Indicator (EBI) or UNBIND to end a print job. This can be used in conjunction with another option, Ignore Datastream End-of-Job Indicator, to handle jobs that utilize SNA brackets to bracket less than the entire print job.

Attribute Support

Standard IBM 3270 default attributes and LU1 attributes are supported by the 3287 print applet.

3287 Applet Font Change

This 3287 applet feature permits font changes within a print job.

A4 and US Legal Paper Sizes

The A4 and US legal paper sizes are supported through the JDK 1.1 print applet.

A4 Paper Size

The A4 paper size is supported through the JDK 1.1 print applet.

<CONTROL> Key Mapping

It is now possible to map both <CONTROL> keys to any 3270/5250 AID key by adding a mnemonic to the keymap (kbm) file. To map the <ENTER> AID key to both <CONTROL> keys, add the following to the appropriate keyboard map file:

Enter=<CtrlCtrl>
Note This functionality is only available for Enhanced/Power-User sessions. This is not supported with UltraLight sessions.

General Notes on Printing with OC://WebConnect Pro

Three Choices for Print Support

OC://WebConnect offers three solutions for printing to address the different capabilities of the various browsers available.

    1. Native JDK 1.1 printing. This print solution requires a browser with a Java Virtual Machine of JDK 1.1 or later. Autofitting to A4 or US Legal paper size requires that the browser JVM accurately report the paper size set in the system print properties of the selected printer.

    2. OC://WebPrint. This print solution requires the installation of a DDL and Java class files on the user's PC. Double-byte characters are not supported using this print solution.

    3. Java Script printing. This print solution uses Java Script to open a separate browser window for the print output and then print its contents. This is available only for browsers supporting JavaScript, such as Netscape Navigator and MSIE. The method of print implementation can be configured for each session or specified at runtime.

Print Margin Configuration

OC://WebConnect Pro allows configuration of margins for both 3287 and screen printing. At runtime the configuration values are passed as applet parameters: lmargin, rmargin, tmargin & bmargin. The units are pixels. With the JDK print implementation there are typically 72 pixels per inch. For OC://WebPrint the resolution matches the printer; e.g. 300 pixels per inch for a 300 dpi printer. A print margin reduces the effective page size for drawing; it does not change the logical print format of the print job. Notes: The Generic/Text print driver does not handle print margins correctly. Print margins should be set to 0 when using this driver.

Character Mode Setting

OC://WebConnect Pro offers a character mode and a line mode setting for both 3287 and screen printing. Character mode is required for attribute support and most double-byte applications. This feature is only available for enhanced and power user applets. At runtime this value is passed as the applet parameter, "charmode", and can assume values of "ON" or "OFF". Line mode will yield faster printing and consume less memory on the user workstation during printing. Character mode will ensure uniform spacing of characters, and space characters and lines to fit the right and bottom margins, respectively.

3287 Default Format Settings

OC://WebConnect Pro allows the setting of defaults for 3287 parameters MPP (Max Presentation Position), MPL (Max Presentation Line) and LD (Line Density). These values set the default logical page format for a 3287 session. If the print application provides format controls in the datastream, these values will be overridden. A common need for this capability is to change the LU1 default from 132 to 80 columns for standard 8/12" x 11" letter paper when the host print application prints an 80 column job but neglects to issue format controls for this setting.

Depending on the setting of the AutoFit parameter the 3287 Defaults will have different effects. If AutoFit=OFF, the font size rendered by the printer will be dictated by the Line Density parameter or overridden by the host application. If AutoFit=ON, the line density parameter is ignored, including any value specified by the host application, and the font size is computed by the 3287 applet. A font is chosen that will fit MPP characters and MPL lines on the page, with the specified margin constraints. The largest font that fits the criteria is chosen.


Note JDK printing always assumes an 8 1/2" x 11" page in portrait mode for the purpose of autofit. If other page layouts are required when using the JDK print implementation, AutoFit should be set to OFF, and the font size should be controlled by the Line Density setting.

Auto Fit Setting

The purpose of this setting is to let the OC://WebConnect applet compute an appropriate font size to fit the print job to the paper loaded in the printer selected by the user. This feature can be particularly useful since different users may be printing to different printers, or a single user may select a different printer for a particular print job. Also, many mainframe print applications were designed for wide-carriage printers, but are now printing to laserjet or other page printers.


Note Currently, this feature is only fully supported by the OC://WebPrint print implementation. Due to a JDK bug this feature is only appropriate for letter paper in portrait mode when using the JDK print implementation.

This feature will not perform correctly if the mainframe print application does not send the correct page format settings. Assuming the application is sending no format settings, as opposed to sending the wrong settings, this problem can be corrected by configuring appropriate MPP and/or MPL settings.

Note 3287 Print, AutoFit, Character mode, font settings and Interaction with the SCS Page formatting commands (SHF, SVF, SLD and SPD)

There is a specific set of page characteristics defined by OC://WebConnect that determines font size and maximum column and rows available for print.

If the Host SCS datastream uses the SVF, SHF, SLD or SPD commands and sets the expected physical page size to something different than that defined in OC://WebConnect the datastream values will be used.

OC://WebConnect JDK1.1 printing has two modes: AutoFit ON and AutoFit OFF.

If the physical pages in use do not match the size indicated by the datastream, print data may be "lost". For example, if you have a Host application that expects traditional 132 column green bar paper and you choose to print this data through a laserjet with the page orientation set to Landscape to accommodate the 132 columns, you may lose print data towards the bottom of the page as it may expect to fit more rows on the paper than Landscape 8 1/2 by 11 will support for a given font. This data will NOT be printed on the following page. It will be purged.
OC://WebConnect will query the Browser for information to automatically calculate a best fit font size and maximum column and rows available for print.
If the Host SCS datastream uses the SVF and SHF commands and sets the expected physical page size to something greater than the system defined printer page size, AutoFit ON will attempt to resize the font to make the entire logical SCS page fit on the actual physical page.

Some JAVA implementations do not return the actual configured page size correctly when queried which can lead AutoFit to incorrectly calculate font sizes and result in print output that does not correctly fit the page. An example would be seeing "postage stamp" output where a very small font is used to print when a larger one would be a better fit.

Table 1 summarizes the interaction of the Character Mode, AutoFit and font settings. In this table the following parameter definitions apply:


Note Typographic points: in typical typesetting/print applications a typographic point is defined as 1/72 inches. However, OC://WebConnect allows this definition to be modified for fine-tuning the printout.

Table 1:
Char Mode Auto Fit Pitch Font Selected Horizontal Spacing (CPI) Vertical Spacing (LPI)

OFF

OFF

Don't Care

LD Value is used directly as the font size when requesting the font from the print implementation

Default horizontal spacing associated with font.

Default vertical spacing associated with font.

OFF

ON

Don't care

Selected to fit MPP and MPL to page size reported by print implementation.

Default horizontal spacing associated with font.

Default vertical spacing associated with font.

ON

OFF

0

Largest font constrained vertically by LD setting

Default horizontal spacing associated with font.

VPPI

-------

LD

ON

OFF

non-zero

Largest font constrained vertically by LD setting

Pitch * HPPI

------------------

72

VPPI

-------

LD

ON

ON

Don't care

Select to fit MPP and MPL to page size reported by print implementation

Space character evenly between left and right margin settings

Spaces lines evenly between top and bottom margin settings.

Interaction of Character Mode, Auto Fit, and Font Settings

Associate Print Feature

This feature allows a user to start his 3287 print session directly from a 3270 display session. The only OC://WebConnect administration required for this feature is to check the boxes to enable TN3270E and Associate 3287 Printer in the Telnet section of the 3270 session configuration. The display-to-printer mapping is configured at the TN3270E server. By setting a Device Name (LU name), the Associate Printer feature can be made to select a specific display/printer pair or a display/printer pair from a specific pool.

Server Platform Requirements

The following platforms are supported for this release of the OC://WebConnect Server:

A minimum of 64MB of RAM is recommended for all platforms to run the maximum number of concurrent sessions.

A maximum of 1,000 sessions per instance (AIX is limited to 950 sessions); no limitation of instances (depending on hardware capacity)

Browser Requirements

OC://WebConnect 3.4 requires a browser that supports Sun's Java Development Kit 1.1 for Enhanced and Power User session types. Currently HotJava, Internet Explorer 4.0, and Netscape Navigator 4.02 or later provide this support.

Known Problems

The following is a list of the known problems in this release:

ibm-5555-c01-p|IBM-5555-C01-P:\ :sv=tn5250:tt=5555-C01-E:pt=yes: ibm-5555-b01-p|IBM-5555-B01-P:\ :sv=tn5250:tt=5555-B01-E:pt=yes:

Browser Anomalies

This section lists the browser anomalies in this release.

Netscape Navigator

The following is a list of known Netscape Navigator anomalies:

http://home.netscape.com/eng/mozilla/4.0/relnotes/windows-4.0b3.html

Microsoft Internet Explorer

The following is a list of known Microsoft Internet Explorer anomalies:

http://www.microsoft.com/ie/ie40/browser/java.htm.

Sun HotJava

The following is a list of known Sun HotJava anomalies:

    1. You can still toggle between windows for a short period of time, and if HotJava disappears along with all its active windows, you still have the active Solaris console session available and can restart HotJava.

    2. The console hangs immediately, and you are unable to toggle between windows. You have mouse cursor movement and must Telnet from another terminal and terminate HotJava, which clears up the console's hung session and active windows. This allows you to gain control of the Solaris console again.

Miscellaneous Information


hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1998 © Cisco Systems Inc.