Host Print Transform and Reflection for IBM

  • 7021611
  • 23-Nov-1999
  • 01-Apr-2018

Environment

Reflection for IBM version 11.0 through 14.x

Situation

This technical note explains Host Print Transform and how to implement it with Reflection for IBM. This technical note also explains how to use a terminal session or printer session to change Host Print Transform to turn HPT on or off.

For information about host print transforms in Reflection 2007, see KB 7021505.

Resolution

Using Host Print Transform

Host print transform is a printer device setting on the AS/400. When HPT is set to YES, the AS/400 controls all aspects of printing. Windows and Reflection for IBM act as a pipe and do not manipulate the data stream coming from the AS/400 to the printer.

When to Use HPT

Some applications on the AS/400 are set up to work with HPT. In addition, HPT can be used to fix some print configuration problems.

Turning On HPT

The HPT printer device setting on the AS/400 can be enabled remotely using Reflection for IBM. Follow these steps to set up HPT printer emulation in Reflection:

  1. Start Reflection.
  2. Click Session Setup on the Connection menu.
  3. In the Session Type drop-down list, select IBM 5250 Printer.
  4. Under Connect Options, click Initialize, and then select the Host Print Transform check box.
  5. Select an AS/400 printer driver from the Manufacturer type drop-down list.

Note: It is essential that you use the correct driver for your printer. If your printer driver is not in the drop-down list, go to the next section.

  1. Click OK to close the 5250 Printer Driver Initialization dialog box.
  2. Connect to an AS/400 printer. Your printer session is now configured for HPT.

If the Manufacturer Type is Not in the List

If your printer driver is not available in the drop-down list (step 5 above), you have three options:

  • If you know the correct syntax, enter it in the Manufacturer Type box and click OK.
  • Use the GetMFRTYPMDL.rbs utility, available from the Attachmate download site.

For more information on using this utility, see Technical Note 1245.

  • Manually choose the driver directly from the AS/400 by following the steps below:
    1. Do a WRKDEVD and select 2=Change for your 3812 printer device.
    2. Move the cursor down to the Manufacturer type and model field.
    3. With your cursor in the field, press F4=Prompt. You will see a listing for all the available printer drivers on your AS/400. Press Page Down or click the More button to view all of the choices.
    4. Enter the name of your printer driver in the Manufacturer type and model field, or note the syntax of the printer driver and enter it into the Manufacturer type dialog box in Reflection for the AS/400 (step 5 above). It is essential that you use the syntax exactly as it appears.

Turning Off HPT

Follow these steps to turn off HPT:

  1. Start Reflection.
  2. Click Connection > Session Setup.
  3. In the Session Type drop-down list, select IBM 5250 Printer. Verify that the Model ID is set to 3812-1 Page Printer (this is the default).
  4. Under Connect Options, click Initialize, and then clear the Host Print Transform check box.
  5. Re-connect to your host.

Disabling HPT Manually

To disable HPT manually, you can either modify or delete the device description. If you delete the device description, a new one will be automatically created the next time you connect your printer session. Follow the steps below for the method you prefer.

Changing the Device Description

Follow these steps to change the HPT setting on your AS/400:

  1. Disconnect your Reflection printer session.
  2. Using a Reflection terminal session, connect to your AS/400 and do a WRKDEVD (Work with Device Description) on your printer device.
  3. Select 8=Work with status and press Enter.
  4. Select 2=Make unavailable or Vary Off and press Enter.
  5. Press F3 to return to Work with Device Descriptions.
  6. Select 2=Change for your device and press Enter.
  7. Move your cursor to the Host print transform *YES field, change it to *NO, and press Enter.
  8. Select 8=Work with status and press Enter.
  9. Select 1=Make available or Vary On and press Enter.
  10. Go to the Verifying Reflection Printer Session Settings section below to ensure that HPT is turned off in your printer session.

Deleting the Device Description

Follow these steps to delete the HPT setting on your AS/400:

  1. Disconnect your Reflection printer session.
  2. Using a Reflection terminal session, connect to your AS/400 and do a WRKDEVD (Work with Device Description) on your printer device.
  3. Select 8=Work with status and press Enter.
  4. Select 2=Make unavailable or Vary Off and press Enter.
  5. Press F3 to return to Work with Device Descriptions.
  6. Select 4=Delete printer device description and press Enter.
  7. Go to the Verifying Reflection Printer Session Settings section below to ensure that HPT is turned off in your printer session.

Verifying Reflection Printer Session Settings

After you have modified or deleted the device description on your AS/400, follow the steps below to ensure that HPT is turned off in your Reflection printer session settings.

  1. In the disconnected printer session, click Session Setup on the Connection menu.
  2. Under Connection Options, click Initialize, and then select the Host Print Transform check box.
  3. Reconnect your Reflection printer session to print without using HPT.

Additional Information

Legacy KB ID

This document was originally published as Attachmate Technical Note 1186.