IBM Support

Creating a Workstation Customizing Object for Hole Punching

Troubleshooting


Problem

This document provides information for creating a Workstation Customizing Object (WSCST) to activate the hole punching feature for a printer.

Resolving The Problem

Can I create a Workstation Customizing Object (WSCST) to activate the hole punching feature for my ASCII printer?

A WSCST can be created to activate the hole punch feature for an ASCII printer. Some information is required from the printer manufacturer to be used in the WSCST. The information required is the data string to activate the feature on the printer and whether the printer expects the data string to come before the spooled file data or after it.
 
Caution: These instructions are provided as is. Any assistance with editing the Workstation Customization Table must be done through a consulting agreement.

Refer to the documents listed in the References section to create the WSCST, to obtain further information about the :INITPRT and :RESETPRT tags, and to use the WSCST in a remote output queue or device description.

If the printer is expecting the command to activate the hole punching to come before the data, then put the data string in the Initialize Printer (INITPRT) tag. If the printer is expecting the command to come at the end of the data, then put the data string in the Reset Printer (RESETPRT) tag.

When using the :INITPRT tag, the data string to active the hole punch comes after the 1B45. In this example, replace the yyyyy with the correct data string to activate the hole punch.

:INITPRT
     DATA ='1B45yyyyy'X.


When using the :RESETPRT tag, the data string to activate the hole punch comes before the 1B45. In this example, replace the yyyyy with the correct data string to activate the hole punch.

:RESETPRT
     DATA ='yyyyy1B45'X.
For Xerox printers, the data string to activate the hole punch may need to come after the 1B45.  In this example, replace the yyyyy with the correct data string to activate the hole punch.
:RESETPRT
     DATA ='1B45yyyyy'X.
For instructions on creating the WSCST object, refer to the following document:

Instructions for Modifying a Workstation Customizing Object (WSCST)

If the source code for an existing WSCST object cannot be found, refer to the following document:

Finding the Source Code for a Modified Workstation Customizing Object (WSCST)

For further information about the :INITPRT and :RESETPRT tags, refer to the following document:

Initialization and Reset Control Strings

For instructions on using Host Print Transform (HPT) with your device descriptions or remote output queues, refer to one of the following documents:

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

[{"Type":"SW","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000COfAAM","label":"Print->Workstation Customization Object"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Version(s)"}]

Historical Number

349872274

Document Information

Modified date:
17 May 2021

UID

nas8N1019193