Printer command

Setup, Printer... or Setup, Sessions..., Printer

Return to Introduction  Previous page  Next page

Use this command to change the printer font and print options. This command displays the Printer pane of the Session Setup dialog box . The Printer pane contains the following options.

 

PrinterSelect the printer to use for this session. Use the drop-down list box to select a printer. Use the Page Setup... button to display the Page Layout dialog box and  change the printer setup for this session.

 

The Application Default printer selection indicates that the session should use the printer defined in application printer setup (Host, Print Setup...).

 

<<Disk File: append>> indicates print output should be appended to the file specified in the Filename edit box rather than printed. If the file does not exist, it is created.

 

<<Disk File: incremental>>indicates print output should be sent to a file rather than printed. A new file will be created for each new print job. The file name is created by incrementing a count and inserting it between the file name and extension specified in the File name edit box. (For example, if you specify a file name of test.txt it will generate files called test.000.txt, test.001.txt, etc. )

 

Paper Tray(Optional) Select the printer paper tray to use for this session. This option is not available when you specify <<Disk File: append>> or <<Disk File: incremental>> in the Printer drop-down list box.

 

Filename(Optional) You must specify <<Disk File: append>> or <<Disk File: incremental>> in the Printer drop-down list box to enable this edit box. Specify the full path and file name to redirect printed output to a file. Click the Browse... button to display the Select Printer Screen File Name dialog and choose a file.You may include one or more of the following variables anywhere in the file name and the variable will be replaced with the associated data.
 
VariableCase          Substitution
$COMPUTERNAME(upper case)   Computer name.
$DATE(upper case)   Current date in YYYY-MM-DD format.
$SESSION(upper case)   Current session name
$USERNAME(upper case)   Current logged on user name.

 

For example, a printer file name of "$DATE Printer.txt" creates a new printer file each day named "YYYY-MM-DD Printer.txt". You may also specify Windows environmental variables (e.g. %computername%, %username%, %appdata%, %programfiles%, etc).

 

Set Font...Click the adjacent Set Font... button to display the Font dialog box. and make a new font selection.

 

Print Operator Information AreaCheck this box to include the operator information area (OIA) in the print screen output.

 

Center Print Screen output on pageCheck this box to center print screen output on the page rather than starting to print from the upper left-hand corner of the page.

 

Scale font width to fit pageCheck this box to scale the font horizontally so that is fits on the page.

 

Black and White Print Screen Check this box to print the screen in black and white instead of color or grayscale.

 

Print Screens to Spool Before Printing  Check this box to allow multiple Print Screens to be printed on a single printed page. In the edit box following this option, specify the number of Print Screens you want spooled before printing occurs. Print Screen output is spooled to a file until the specified number of print screens is reached, then output is sent to the printer. For example, if you specify 2 Print Screens to be spooled before printing, the first time you issue the print screen command the printed output is spooled. The second time you issue the print screen command, both print screens will be printed. If the spooled Print Screens exceed the size of one printed page, TN3270 Plus will print multiple pages. When this option is active, the status bar displays a printer icon followed by the number of spooled pages.

 

Display Abort dialog while printing Check this box to display an abort dialog box that allows you to cancel a print screen before it has finished printing.

 

Send raw data to printerCheck this box to send data directly to the printer without formatting. Use this setting if the data contains embedded printer control commands. This is useful for VT100 or VT220 passthrough printing, 5250 printer sessions or 3270 printer sessions.

 

Append form feed to end of job Check this box if the "Send raw data to printer" option is used and the raw data does not contain a trailing form feed.

 

Suppress initial form feedCheck this box to suppress any form feeds (blank pages) at the beginning of a print job. (3270 printer and 5250 printer sessions only).

 

Discard SCS transparency blocks Check this box to suppress any SCS (SNA Character String) transparency blocks. This will discard any printer control characters, enabling a report to be printed without the raw data option, or saved as a file without the printer control characters. (3270 printer and 5250 printer sessions only).

 

Translate EBCDIC in SCS transparency blocks Check this box to perform EBCDIC to ASCII translation in SCS (SNA Character String) transparency blocks. This option is on by default. Uncheck this option to disable EBCDIC to ASCII translation in SCS transparency blocks.  (3270 printer and 5250 printer sessions only).

 

 

Print null lines as blank linesCheck this box to replace null lines with blank lines in printed output. (3270 LU3 printer sessions only).
 
Enable hex passthrough: Check this box to enable hexadecimal passthrough. The associated Escape string edit box will accept one or two strings of any length, separated by a comma. The first string initiates passthrough processing and the second sting terminates passthrough processing (for example , %%,&&). If you just enter one string then it's used as both the initializer and the terminator (for example, %%). Hexadecimal passthrough allows you pass hexadecimal data to the printer. This data is typically printer control sequences that allow control printer operation. You can skip to top of page or change fonts etc. The data in the data stream between the initiator and terminator is treated as hexadecimal data and passed directly to the printer. For example, if you wanted to send 0x1B to the printer and your initiator was %% and your terminator was && you would place %%1B&& in your data stream.  (3270 printer and 5250 printer sessions only).

 

Print Screen Header(Optional) Specify a header for the print screen output. The header and footer accept the following variables:

 

VariableCase          Substitution
$COMPUTERNAME(upper case)   Computer name.
$DATE(upper case)   Current locale date  (mm/dd/yy)
$LONGDATE (upper case)   Current locale long date (day month dd, yyyy)
$SESSION(upper case)   Current session name
$TIME(upper case)   Current locale time (hh/mm/ss)
$USERNAME(upper case)   Current logged on user name.

 

 

For example - a header of "Sample output $DATE $TIME" would expand to: "Sample output 05/21/00 20:40:52."  You may also specify Windows environmental variables (e.g. %computername%, %username%, %appdata%, %programfiles%, etc). (Terminal sessions only.)

 

Print Screen Footer(Optional) Specify a footer for the print screen output. The footer accepts the same variables as the header. (Terminal sessions only.)

 

Printer init. string(Optional) Specify a printer initialization string. Use this field to specify hexadecimal printer control codes to initialize the printer. You may include spaces in this field to improve readability. This string is sent to the printer before each print job. This field is only available when the "Send raw data to printer" option is checked. (3270 printer and 5250 printer sessions only).

 

Printer term. string(Optional) Specify a printer termination string. Use this field to specify hexadecimal printer control codes to terminate the printer. You may include spaces in this field to improve readability. This string is sent to the printer after each print job. This field is only available when the "Send raw data to printer" option is checked. (3270 printer and 5250 printer sessions only).


TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.