Troubleshooting
Problem
This document provides simplified instructions for creating a modified Workstation Customizing Object (WSCST), which can be used to change the printer controls that Host Print Transform (HPT) puts into the printer data stream.
Resolving The Problem
A Workstation Customizing Objects (WSCST) can be thought of as a customized printer driver. They are created when the existing driver does not provide the required function or when a user wants to force all spooled files to conform to a desired result. Common requests are that all spooled files pull from a particular drawer, print in a specific font, or print on both sides.
Creating a WSCST requires the user to know what MFRTYPMDL to base it on and what changes to make to the driver.
Note: This document uses the MFRTYPMDL setting of *HP4 driver as an example.
This document was last updated on 10 December 2013.
Retrieving the WSCST Source
To retrieve the WSCST source, on the operating system command line type the following:
RTVWSCST DEVTYPE(*TRANSFORM) MFRTYPMDL(*HP4) SRCMBR(WSCSTNAME)
SRCFILE(QGPL/QTXTSRC) TEXT('WSCST Description')
Press the Enter key.
Getting to the WSCST SOURCE
Use one of the following, depending on if you want to use the SEU or PDM to edit your WSCST.
STRSEU SRCFILE(QGPL/QTXTSRC)
WRKMBRPDM FILE(QGPL/QTXTSRC)
Edit your WSCST
Edit your WSCST source. When editing is complete, press the Enter key, press F3, and select Y to confirm that you want to change the file member.
Create the WSCST
CRTWSCST WSCST(QGPL/WSCSTNAME) SRCMBR(*WSCST) TEXT(*SRCMBRTXT)
SRCFILE(QGPL/QTXTSRC)
Add the WSCST Object to Your Device Description or Output Queue
For device descriptions, ensure that the writer is ended and the device is varied off before making changes using the CHGDEVPRT command. For output queues, make sure that the writer is ended before running the CHGOUTQ command.
That's It
Vary the device on if you have one, start the writer, and test. You have created and are using a WSCST object.
Additional Information
If you have questions, you may want to reference additional information.
The following documents will have more specific information on WSCST creation:
N1010140: Instructions for Modifying a Workstation Customizing Object (WSCST)
N1019634: Finding the Source Code for a Modified Workstation Customizing Object (WSCST)
The following documents will have more specific information on WSCST use:
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
Historical Number
314900771
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1019270