INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS
Come Join Us!
Are you a
Computer / IT professional?
Join Tek-Tips now!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- One-Click Access To Your
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site
(Download This Button Today!)
"...I have answered some questions and have gotten answers for my questions. Anywhere you can do this on one page helps tremendously..."
Where in the world do Tek-Tips members come from?
How do I make an overlay?
Posted: 28 Jan 02 (Edited 1 Jul 02)
This is taken from http://www.midrange.com MIDRANGE-L mailing list.
How to create an overlay (with IPDS printers)
1. Download AFP Drivers for the PC (currently 1.62a) and follow the
The site with the most updated drives is the Client Access site not the IBM
====> For windows 2000
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.
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)
=====>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")
cd library ====>iSeries Library
lcd directory ====>PC directory
put pcfilename iSeriesfilename.membername ====>iSeries file
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
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.
Back to RPG (Report Program Generator) FAQ Index
Back to RPG (Report Program Generator) Forum
Join Tek-Tips® Today!
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
- Talk To Other Members
- Notification Of Responses To Questions
- Favorite Forums One Click Access
- Keyword Search Of All Posts, And More...
Register now while it's still free!
Already a member? Close this window and log in.
Join Us Close