× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Jeff and Neil,

As far as I know, the hole punch feature of AFP has
only been implemented into a FORMDEF method of being
activated to date.

You would therefore need to link a FORMDEF, with hole
punch enabled, to the printer file used by your
application.

The following example is from the Finishing Manual
S544-5845-01 and is copyright IBM.

"Many form definitions do not use a copy group to
specify a finishing operation. In this case, all the
pages of the print file or document are printed
according to the same finishing specifications. 

Figure 1 shows an example of a form definition with
the finish subcommand that specifies left hole punch
for all documents in the print file. Figure 2 shows
the hole punched page that is produced from the form
definition. 

FORMDEF PUNC3 REPLACE YES 
    PRESENT PORTRAIT 
    DIRECTION ACROSS 
    FINISH 
      SCOPE ALL 
        OPERATION PUNCH 
        REFERENCE LEFT;"

In order to use a PJL command and host print transform
to accomplish the same thing (punch holes), you need
the tsprwprfin.c print writer exit program available
from Rodney Johnson of IBM (rodaj@xxxxxxxxxx). He
posted a note on the availability of this file last
May in the comp.sys.ibm.as400.misc usenet newsgroup.
The file (C source code) includes an explanation of
how to activate hole punch using the exit program.

HTH

Best Regards,

/Paul
--
Paul Tykodi
Principal Consultant
TCS - Tykodi Consulting Services LLC
E-mail: ptykodi@xxxxxxxxxx

>date: Fri, 08 Apr 2005 13:52:40 -0500
>from: Jeff Kennedy <jkennedy@xxxxxxxxxxxxx>
>subject: Re: IBM 1145 hole punch
>
>It's an AFP function and I don't know if the AFP on
>OS/400 supports it. When I checked under VSE/ESA
>(AFP), I was told only OS/390's AFP supported the
>punch.
>
>Neil Palmer/DPS wrote:
>
>>Does anyone know how to get an IBM 1145 to three
hole 
>>punch output? There are options in the printer file
>>for stapling/stitching, but not hole punching.  I'm 
>>guessing maybe a Workstation Customization Table is 
>>needed for that ?  Or maybe you can create a logical

>>draw # that would punch anything referencing that 
>>drawer # on a printer file?
>>
>>...Neil

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.