× 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.



I just finished learning how to create an overlay and wanted to update the
information here with current information (06/12/02).  Most of this
information came from others including Tom Hightower, Mike Wills, Kurt
Schroeder (IBM Rochester) and Peter Colpaert.  I wanted to put something
together for my staff so I thought I'd share it.

How to create an overlay (with IPDS printers)

1.  Download AFP Drivers for the PC (currently 1.62a) and follow the
Readme.txt instructions.
The site with the most updated drives is the Client Access site not the IBM
Printing site.

====> For windows 2000
ftp://ftp.software.ibm.com/as400/products/clientaccess/win32/afpprinter/win2
000/
This is a wizard that will help you set up AFP printers on you PC.  I would
set up at least the 240, 300 and 600 DPI printers. (For PORT use "File".)

If you already have drivers and get errors use the above set of drivers.
Just delete all AFP printers first and do a selective install on Client
Access removing AFP drivers.

You may find drivers for other OS's at the IBM printing site:
===> I had problems getting them to work.
http://www2.printers.ibm.com/R5PSC.NSF/web/ipprintdriver)


2.  Design the overlay using a PC application.  Microsoft Word works fine.
If the form is on paper you can scan the form using Acrobat.  In either
case, print  to one of the afp printers that were created in Step 1.  Use
the Properties => Advance tab to make sure "Output Type" is Overlay (default
is document).  If this is changed on the printer it shouldn't have to be
changed each time you print.  If you save the AFP output file to c:\ it will
save typing later.  Use 8.3 file names.

3. Create a PF on the iSeries.  I would create one for each application or
each DPI. Example: AFP600 or PAYROLL.  Also create it without a member.

CRTPF FILE(library/file) RCDLEN(32766) MBR(*NONE) MAXMBRS(*NOMAX)
LVLCHK(*NO)
=====>One file can be used for several overlays
=====>RCDLEN(8201)  didn't work.

4.   Add a member for the overlay to be created.:

=====>(new member for each overlay)
ADDPFM FILE(library/file) MBR(member) TEXT(description)


5.   Ftp file to the iSeries or copy to the IFS.  Directions to FTP are:

>From a Command Prompt (Start=>Run=>Type "CMD")

     ftp iSeriesname
     bin
     cd library                                        ====>iSeries Library
     lcd directory                                     ====>PC directory
     put pcfilename iSeriesfilename.membername         ====>iSeries file
name

6.   Create the overlay on the iSeries using the following command:
CRTOVL OVL(library/overlay) FILE(library/file) MBR(member) DATATYPE(*AFPDS)

If the overlay fails to create, see Step 1.
Most of the time the overlay fails to create because there is no data in the
file (bad ftp) or the wrong driver was used.

7.   Override the print file or job with at least the DEVTYPE(*AFPDS) and
FRONTOVL(library/overlay) options.

Example Override: This includes a Constant backside overlay that doesn't
require backside programming.

OVRPRTF FILE(QPDZDTALOG) TOFILE(*FILE) DUPLEX(*YES)
FRONTOVL(library/overlay) BACKOVL(library/overlay 0 0 *CONSTANT)
====> For a fast test print  I use =>job OVRPRTF (Qpdzdtalog) =>STRDFU
=>Option 5=> update a record and get a log print.

I hope someone finds this useful and/or it saves some time.


David Boling
Rowan County Information Systems
(Voice) 704-633-5761
(Fax) 704-642-2083


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.