FAQ Pages: Printing
Support

Frequently Asked Questions

DEFINE PRINTER PARAMETERS

  1. From the Terminal menu, select the Setup option.
  2. Select the Printer tab.
  3. Select the printer parameters that you require.
  • Print Device: This option allows you to select a printing output channel. The possibilities are:

    Option Sends the Output
    None No destination was assigned.
    Print Manager Sends to the standard Windows Print Manager, in text mode.
    Device Sends to the DOS device you designate in the Device Name text box. For example, this can be a device such as prn, lpt1, com1. In the Device Name text box, you can also specify communication parameters. For example: COM1:9600,8.
    File Sends to the DOS file you type in the File Name text box. See the Device parameter below.

    Note: If you chose Print Manager or None as the option for Print Device, the Device File Name field will be disabled.

  • Device:

    Device File Name: If a file of the same name exists, you can choose to add the new data to it, or to create a new file. You can do this using the File Creation parameters. To add the data, click the Append option; to create a new file, click the Overwrite option.

  • Other:

    Use Form Feed: Adds a form feed (page eject) after each printing job, if you are printing to file.

    Print Line Graphics As Text: Converts line graphics to text. This speeds up printing on a slow dot-matrix printer.

    Print Screen Data Conversion: Converts data to IBM or Digital character sets. If you do not want to convert data, use the None option, or select Graphics from the dropdown list to print in Graphics mode. Selecting the Graphics option will always send a print screen via the Print Manager in Graphics mode, regardless of the print device.

    Slave Printer Data Conversion: Converts data to IBM or Digital character sets for slave printing. If you do not want to convert data, use the None option. Select the Graphics option from the dropdown list in order to print to a postscript printer.

    Slave Printer Job Delimiter: When printing in slave mode, the job delimiter character that you select here will divide the data into print jobs instead of escape sequences arriving from the host application.

SLAVE PRINTING

"Slave Printing" means an automatic routing of an input data stream, such as a report, to the PC's printer port. To enable slave printing, run the Terminal|Setup|Printer menu, and choose FILE. Since this type of printing is done directly to the printer port, you must specify as the filename which port the printer is on, such as 'lpt1'. Then, select 'none' as the Print Screen Data conversion. (This form of printing is text only. We do not support slave printing to Postscript printers at this time)

To use this facility it is necessary to precede the data stream with an escape sequence, and to terminate the data stream with an escape sequence.

  • For VT and SCO emulations:
    • enable: <escape>[5i
    • disable: <escape>[4i
  • For Wyse 50/60
    • enable: <CTRL>R
    • disable: <CTRL>T

TRANSPARENT PRINTING IN WYSE EMULATION (v5.2.4c or newer)

"Transparent Printing" functions the same as "Slave Printing", however, the data will not be viewable on the screen.

  • Wyse Transparent Print Mode On: <escape>d#

  • Wyse Transparent Print Mode Off:<ctrl>T

'Printer Not Found' error: (v5.07 or older only)

If you have been using PowerTerm printing successfully and then the printing seems to have stopped working, take a look under File | Printer Setup.  You should get the message "Printer Not Found".  To fix this, you will need to do the following:

  1. Close all PowerTerms
  2. Go into your Windows directory
  3. Delete the 3 files, Ptw.cfg, Ptw.prt_1.cfg and Ptw.prt_2.cfg.
  4. Start PowerTerm.

    MAINFRAME AND AS/400 PRINTING

    • To emulate an IBM printer in PowerTerm choose 3270/5250 printer.
    • Connect using a printer name (LU or DEVICE name). When an application on the IBM needs to print it sends a print job to a printer by its name. If a 3270/5250 printer session is active (or there is a printer hardware) with this name, the data is sent to it and the printer session prints to the attached printer (local or remote - lpt1).

    PowerTerm now supports the newest IBM standard for Device ID naming & Printing for TN5250. In order to do this, you must have PowerTerm v5.2.2 or greater, and be running the appropriate patches or AS/400 operating system, in order for this to function properly. You can find a list of patches or OS level needed at Device ID Naming & Printing. Click here for further details on Advanced Printing and Host Print Transform.

    However, you can still use APPC, which must be running on both the PC and AS400. An example of APPC on the PC is Client Access.   Another method is to have LPD running on your PC.  Because LPD is a separate application and is not a part of PowerTerm, please consult your LPD documentation to set this up.

    A very frequent problem report we get from customers is that a file named "E32APPC.dll" is missing. This means that the PC doesn't have APPC, as explained above.

    1. Choose 5250 printer.
    2. Open the Connect dialog box and choose APPC.
    3. Enter the system name & device name.
    4. Press Connect.
    5. It should be connected to the AS/400 now as a system printer.
    6. The user should send printouts (print jobs) to the printer session by its device name specified in item (3) above.
     

    Advanced Printing and Host Print Transform

    Advanced Printing - How to define Non-5250 printing parameters (v5.2.4 or newer)

    • In Text mode: Text mode is designated in the Printer Tab by setting the two data conversion combo boxes (Print Screen and Slave Printer) to None.
      • LPI, CPI, & Fonts are functional. LPI: Lines Per Inch (default is 6). CPI: Characters Per Inch (default is 10).
      • Printer Rows & Printer columns are non-functional.
    • In Graphics mode: Graphics mode is designated in the Printer Tab by setting the two data conversion combo boxes (Print Screen and Slave Printer) to Graphics.
      • LPI, CPI, & Fonts are non-functional.
      • Printer Rows & Printer columns are functional.

    Advanced Printing - How to define AS400 TCP/IP printing

    (5250 Printer) parameters (v5.2.4 or newer)

    1. From the Printer properties page, click the Advanced Printing button.
    2. Select the Enable Host Print Transform check box.
    3. Select the manufacturer printer type and model from the Printer Type/Model dropdown list.
      • If 'Other Printer' is selected for Printer Type/Model:
      • Specify the Customizing Object.
      • Specify the Customizing Object's Library.
    4. Select the paper size from the Drawer 1 dropdown list.
    5. Select the paper size from the Drawer 2 dropdown list.
    6. Select the paper size from the Envelope Hopper dropdown list.
    7. Specify whether the printer has Code Page 899 installed in the Supports ASCII Code-Page 899 field.

    Special Notes about the selection areas:

    Enable Host Printer Transform: Enables Host to send to the emulation the printer specific format commands. If disabled, the Host sends general format commands in which the emulation in turn, translates to printer specific commands. Host Printer Transform is only relevant for non-graphic mode.

    Printer Type/Model : Specifies the destination printer. The default is: HP LaserJet Series ll. If your manufacturer Printer Type and Model are not listed, then choose one that is compatible.

    Customizing Object: Specifies the object name which you had previously defined on the AS/400.

    Library: Specifies the customizing object's library on the AS/400. The above fields are applicable when you have first defined a customizing object for your printer on the AS/400. Choose Other Printer from the Printer Type/Model dropdown list and the Customizing Object and Library fields become enabled.

    Drawer 1: Specifies the size for the paper in Paper Source 1. The default depends on what you chose for the Printer Type/Model.

    Drawer 2: Specifies the size for the paper in Paper Source 2. The default depends on what you chose for the Printer Type/Model.

    Envelope Hopper: Specifies the size of the envelope. The default depends on what you chose for the Printer Type/Model.

    Supports ASCII Code-Page 899: Specifies whether the printer has Code Page 899 installed. The default is: disabled. Most printers do not have Code Page 899 installed.

    Font: Specifies the name of desired font. The default is Courier-10.


    WHAT IS AUTO PRINTING AND HOW DO I USE IT?

    Auto Printing is the ability to print (on a locally attached PC or network printer) whatever appears on the emulator screen. To do this:

    1. First you must engage the Start Auto Print option in the File menu or press the Auto Print button on the toolbar.
    2. Next, the material you want to print should be passed onto the screen of the terminal.
    3. When the file or series of lines has completely passed over onto PC screen, choose the Stop Autoprint option in the File menu or the press the AutoPrint button on the toolbar.

    PRINTING TO A POSTSCRIPT PRINTER

    Postscript printing enables one to either print the data currently on the screen or use slave printing to print to a Postscript printer. Starting in v5.2.2, Postscript printing is enabled by setting Slave Printer Data Conversion option to Graphics. This is done in the Terminal|Setup menu Printing tab. If this is the case then slave printing to a postscript printer will work whether Print Device is set to File, Device, or Print Manager. However, if the Slave Printer Data Conversion option is set to none and Print Device is set to File, slave printing will fail and PowerTerm will appear to be hung. Screen printing to a Postscript printer will be successful if Print Screen Data Conversion is set to Graphics in the Terminal|Setup menu Printer tab.