Host File Printing
The purpose of this feature is to enable ZIEWeb-Client Users to print host files.
The User may activate the printer session and modify the options associated with the file in the Properties panel under the associated Printer.
Common parameters:
Enable Printer Session:
- To enable or deactivate host file printing, you must check or uncheck this option.
- For 3270 host, LU Name should not be null, and TN3270E should be selected to enable host file printing.
Separate Files:
- If the print destination is a file, you may decide whether each print job should be saved as a unique file or should be appended to each other in one file.
- When the File extension is .pdf, each print job is saved to a separate file.
File Extension:
- The file extension must be given without a dot. If the file extension is left blank (null), the file will be saved as .pdf for 3270 host files and as .txt for 5250 host files.
- The file name is numerically incremented for each print job. For example, if you name a file as prt*.file with a non-pdf file extension, the first file will be named prt000.file, the next will be named prt001.file, and so on.
- If the file extension is pdf, the first file will be named pdf, the second will be named prt001.pdf, and so on.
Inactivity Time (secs):
- Indicates how long to wait for printing to begin. The valid values are between 10 and 255 seconds. The default value is 10.
5250 session parameters:
Workstation ID (Printer):
- Must be defined same as the Workstation ID (5250 display session). This parameter represents the printer session here.
ASCII Code-Page 899:
- Click Yes if your printer supports ASCII code page 899. This is not resident on most printers.
3270 session parameters:
LU Name (Printer):
- Must be defined same as the LU Name (3270 display session). This parameter represents the printer session here.
Print-Buffer Size:
- The size of the memory block is reserved for print data that is being sent to the printer. The valid values are in the drop-down list. This applies only to LU3 sessions.
- The default size for Print-Buffer is 1920.
Maximum Lines per Page:
- Specifies the maximum number of lines per page, including the top and bottom margins. This value is also called Maximum Page Length (MPL). Enter a value from 1 to 255.
- If the file extension is not pdf, the default value is taken from the MAXIMUM_PAGE_LENGTH entry in the PDT. If the entry is not found or when no PDT is being used on a Windows platform, the default value, 66, is used.
Maximum Characters per Line:
- Specifies the maximum number of characters per line and is also called the Maximum Print Position or the Maximum Presentation Position (MPP). Enter a value from 1 to 255.
- If the file extension is not pdf, the default value is taken from the MAXIMUM_PRINT_POSITION entry in the PDT. If the entry is not found or when no PDT is being used on a Windows platform, the default value, 80, is used.
Ignore FF when at First Position:
- If the session is LU Type 3 and you choose Yes, a form feed (FF) at the first position on the first line is ignored.
- If the session is LU Type 1 and you choose Yes, an FF or a CR+FF combination at the beginning of a print job is ignored.
- If the file extension is not pdf, the default value is taken from the IGNORE_FORM_FEED_AT_FIRST_POS? entry in the PDT. If the entry is not found, or when a PDT is not being used on a Windows platform, the value is set to No.
FF Takes Space if Before Data:
- This option applies only to LU Type 3 sessions.
- If you choose Yes, 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.
- If you choose No, 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.
- If the file extension is not pdf, the default value is taken from the FORM_FEED_TAKES_POSITION? entry in the PDT. If the entry is not found, or when a PDT is not being used on a Windows platform, the value is set to Yes.
Form-feed Position:
- This option applies only to LU Type 3 sessions.
- If you choose the Any position option, FF is performed wherever it appears.
- If you choose Column 1 only, FF is performed only if it appears at column 1. When FF is not at column 1, it is printed as a space character.
- If the file extension is not pdf, the default value is taken from the FORM_FEED_ANY_POSITION? entry in the PDT. If this is defined as Any, any position is used. If the entry is not found, or when a PDT is not being used on a Windows platform, the value Column 1 only is used.
PDF-only options:
The below options are applicable only if the file extension is pdf.
Paper Size:
- Select the paper size to be used in the generated PDF files. The default value with US English locale is "Letter”.
Paper Orientation:
- Select either Portrait or Landscape paper orientation. The default value is Portrait.
Font Name:
- Select a font from the drop-down list of predefined fonts to use in the generated PDF file. The default font with US English locale is Courier.
- The list of fonts is also different depending on the host code page that is currently selected.
Note: PDF files generated with LucidaConsole font or CourierNewPSMT font may not be displayed correctly on non-Windows or older Windows platforms. This display problem does not occur on newer Windows platforms that support OpenType fonts by default (Windows 98 Second Edition, Windows ME, Windows 2000, and Windows XP).