IBM Support

Concise Instructions for Creating a Modified WSCST Object to Change the CPICOR Tags

Troubleshooting


Problem

This document provides simplified instructions for creating a modified Workstation Customizing Object (WSCST) to change the CPI in COR Mode (CPICOR) tags.

Resolving The Problem

This document illustrates how to create a Workstation Customizing Object (WSCST) that will force spooled files to print larger than they currently do. It will affect spooled files that are normally shrunken to 17 characters per inch by the Computer Output Reduction (COR) function of Host Print Transform.

Assumptions

This document assumes:

1That your spooled file is 132 characters wide, specifies 10 CPI, and has a Page Rotation (PAGRTT) setting of *AUTO.
2That you are printing to an HP Laserjet 4 printer through Host Print Transform. If you are using another printer, change the commands to match the MFRTYPMDL of the printer you are printing to.
3 That you are familiar with using an editor such as PDM or SEU and can make Device or Output Queue Description changes easily.


Steps for Creating the WSCST

1To retrieve the source you want to modify, use the following command:

RTVWSCST DEVTYPE(*TRANSFORM) MFRTYPMDL(*HP4)
SRCMBR(HP4) SRCFILE(QGPL/QTXTSRC)
2To get to the source with PDM or SEU, use one of the following commands:

WRKMBRPDM FILE(QGPL/QTXTSRC)

STRSEU SRCFILE(QGPL/QTXTSRC)
3Edit the Source. (When editing is complete, press the Enter key, Press F3, and select Y to save the member.)

    :CPICOR
     CPI=10
     ASCIIFNT = 255  ==>  Change this to 204.
     FNTWTH   = 84   ==>  Change this to 108.
     FNTATR   = 1
     DATA     = ''X.


Note: If running R510 or R520 IBM OS/400, another option is to delete the CPICOR tags completely and let Host Print Transform (HPT) select the proper PCL5 font control to send to the printer.
4To create the WSCST, use the following command:

CRTWSCST WSCST(QGPL/NEWHP4) SRCMBR(HP4) SRCFILE(QGPL/QTXTSRC)
5Add the WSCST to your device description or output queue.

For a *LAN 3812 device description, end the writer, do the following:

a Vary off the device description.
b Use the Change Device Description (Printer) (CHGDEVPRT) command to change the Workstation customizing object (WSCST) parameter.
c Vary on the device description.
d Use the Start Print Writer (STRPRTWTR) command to start the writer again.

For a PC5250 printer session, do the following:

a Select Communication > Configure from the menu bar on the printer session.
b Click on the Setup button.
c Set the printer model to *WSCSTLETTER (or "Other printer" for R450 Client Access Express for Windows and earlier).
d Set the Customizing object to the name of the WSCST object.
e Set the Customizing object library to the name of the library where the WSCST object is stored.

For a Remote Output Queue (RMTOUTQ), do the following:

a End the writer, use the Change Output Queue (CHGOUTQ) command to change the Workstation customizing object (WSCST) parameter.
b Use the Start Remote Writer (STRRMTWTR) command to start the writer again.
6Restart the writer and print.


For More Information

This document is designed for technical users. If additional help is required to create the WSCST, refer to one of the following documents that provide additional information:

N1010140: Instructions for Modifying a Workstation Customizing Object (WSCST)
N1019270: Creating a Workstation Customizing Object -- Simplified

N1018530: Controlling the Font that Host Print Transform (HPT) Selects when Performing Computer Output Reduction (COR)
N1010135: Computer Output Reduction (COR) Font Control

If additional help is required for using your WSCST with a printer configuration object, refer to one of the following documents:

N1010288: Using Host Print Transform (HPT) with a *LAN Device Description
N1019713: Using Host Print Transform (HPT) with a Remote Output Queue (RMTOUTQ)
N1019712: Using Host Print Transform (HPT) with a *LCL or *RMT Device Description
N1019470: Using Host Print Transform (HPT) with a PC5250 Printer Session
N1019670: Using Host Print Transform (HPT) with a Third Party Emulation Package

[{"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

329911299

Document Information

Modified date:
18 December 2019

UID

nas8N1019237