IBM Support

Creating a New Printer File to Change the Appearance of Host Print Screens

Troubleshooting


Problem

This document provides instructions for creating a new printer file to change the appearance of host print screens.

Resolving The Problem

It is a common request to have an operating system (or host) print screens print in portrait at 10 characters per inch (CPI) rather than print in landscape with a compressed font (usually 17.1 or 13.3 CPI). This document provides instructions for getting host print screens to print in portrait at 10 CPI without affecting other applications that use the QSYSPRT printer file. This is done by copying the QSYSPRT printer file and changing the attributes of the new printer file.

1.

To copy the QSYSPRT printer file to a new printer file called PRTSCRN, on the operating system command line type the following:

CRTDUPOBJ OBJ(QSYSPRT) FROMLIB(QSYS) OBJTYPE(*FILE)
          TOLIB(QGPL) NEWOBJ(PRTSCRN)

Press the Enter key.
2.To change the PRTSCRN to print in portrait at 10 CPI, on the operating system command line type the following:

CHGPRTF FILE(QGPL/PRTSCRN) PAGESIZE(66 85 *ROWCOL) LPI(6) CPI(10)
        TEXT('Print File for Host Print Screen Function') PAGRTT(0)

Press the Enter key.
3a.To change the display device description to use the PRTSCRN printer file (instead of the QSYSPRT printer file). on the operating system command line type the following:

CHGDEVDSP DEVD(display-device-name) PRTFILE(QGPL/PRTSCRN)

Press the Enter key.
3b.To change several display devices descriptions at the same time, first bring up the Work with Device Descriptions screen. On the operating system command line, type the following:

WRKDEVD DEVD(*DSP)

Press the Enter key. Type 2 (Change) next to each display device description that you want to change. Then, on the operating system command line, type the following:

PRTFILE(QGPL/PRTSCRN)

Press the Enter key.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

8004345

Document Information

Modified date:
18 December 2019

UID

nas8N1010245