File > Page Setup (Printer Session)

Printer
This field displays the name of the current printer and cannot be edited. The default printer is selected for all new printer sessions. To change the printer, click the Printer... button.  The Printer... button displays the standard Windows Print Setup dialog box, allowing you to choose the default printer, paper size, and print orientation from a list of available printers and printing options.

Use Windows Default Printer
Enable this option to force the session to use the default printer selected by the operating system. With this option enabled, the Printer... button is deactivated indicating that the printer cannot be changed.

Duplex
Choose from the list of duplex types.

Font
Choose from the list of fixed pitch fonts. Proportional fonts and bitmap fonts will not be listed because print output depends on fixed pitch fonts when printing tabular data in rows and columns.

Use Host Font Setting
Enable this checkbox to override the settings in the Font drop down listbox.

Orientation
Choose from the list of Portrait or Landscape paper orientation.

Use Host Orientation Setting
Enable this checkbox to override the settings in the Orientation drop down listbox.

LPP/CPL

Maximum Lines Per Page
This has a default value of 66. The values in maximum lines per page and maximum characters per line determine the font size on the printed page.

Maximum Character Per Line
This sets the maximum number of characters per line. The default value is 132. You may need to set this value slightly higher than the required number to allow for any printer control characters that may be sent by the mainframe. The maximum value is 255.

Use Host Spacing Setting
Enable this checkbox to override the LPP/CPL settings.

Margins (inches)
This is used to set the margins of the print area. The values used are inches. The following margins can be set:

Use Host Page Setting
Enable this checkbox to override the Margins settings.

Display Status during Host Print Job
If this check box is selected, a status box appears during each print job sent to this printer session. The status box displays the number of lines currently printed. This option is useful for monitoring the progress of a long print job. If the check box is cleared, a status box does not appear during a host print job, which may be preferable if you do not want to be interrupted with a message box while working in a display session or some other Windows program. 

Wrap text at maximum print position
When this check box is selected, any text that extends past the maximum characters per line will wrap around to the next print line. If cleared, any text extending past the maximum characters per line will be truncated and will not be printed.

Print NULL lines
When this check box is selected, any print lines that contain only a carriage return and line feed will be printed as a blank line. If cleared, lines that do not contain text will not be printed.

Suppress NL at maximum print position
If this option is selected, a new line (NL) at maximum print position (MPP) + 1 occurs without an automatic newline. This option is disabled by default.

For example, if the character 'A' is at MPP of line x and is followed by an NL code (MPP + 1) and the character 'B' (MPP + 2), the 'A' will be printed at the last position of line x and 'B' will be printed at the first position of line x + 1. The example below demonstrates no blank line between the last printed character 'A' and the first printed character 'B' of the next line.

A

B

If this option is not selected, NL at MPP + 1 will occur after an automatic newline which resulting in a blank line. 

For example, if the character 'A' is at MPP of line x and is followed by an NL code (MPP + 1) and the character 'B' (MPP + 2), the 'A' will be printed at the last position of line x and 'B' will be printed at the first position of line x + 2.

A

------> blank line

B

Ignore First Form Feed
Your mainframe application may include a Form Feed command to feed a blank page at the start of each print job. You can prevent this from coming out on the printer by selecting this check box.

Form Feed before print job
Selecting this check box will command the printer to feed a clean page before printing each host print job.

Form Feed after print job
Selecting this check box will command the printer to feed a clean page after printing each host print job.

Enable Printer Transparency
There are two ways to send data to a printer using a Windows device driver: (1) using Windows GDI function calls, which is the default, or (2) using pass-through mode, which is used for transparent printing. When the Enable Printer Transparency check box is selected, print data is sent to the printer using pass-through mode. This mode must be used if special control codes or character codes less than hex 20 are to be sent to the printer.

Note: When this option is selected, all other options except Printer, Printer Initialization String, and Printer Closing String are disabled.

There are two methods by which PASSPORT allows transparent data to be sent to the printer:

If transparent data is being sent to the printer, the Enable Printer Transparency check box must be selected, otherwise the Windows printer driver will convert the control codes to blanks, suppress them, or convert them to some other character.

Not all Windows printer drivers support printer transparency. The generic Windows printer driver does not support printer transparency.

IRMA Transparency Toggle Character (hex)
Determines what character is used to turn IRMA transparent printing on or off. Default value is "a1". This option is only supported for TN3270E host printer sessions.

Printer Initialization String
This string is specified in hexadecimal digits ranging in values from 00 to FF, each value separated by a space. The maximum initialization string is 126 bytes. Printer transparency must be enabled before this feature can be used. This string is output to the printer at the beginning of the print job.

Printer Closing String
This string is specified in hexadecimal digits ranging in values from 00 to FF, each value separated by a space. The maximum closing string is 126 bytes. Printer transparency must be enabled before this feature can be used. This string is output to the printer at the end of the print job.

End print job on
The option is only supported for TN3270E host printer sessions. Select one or more of the following options to cause PASSPORT to end a host print job: