once you created the overlay how do you attach it to the print file can you show me the steps?

Can you show me the steps in adding the overlay to the print fille once you created the overlay.
I have created the overlay but I am not sure on how to add it to the print file.
mdln1Asked:
Who is Participating?
 
Gary PattersonVP Technology / Senior Consultant Commented:
Afraid not - you will need to recreate the overlay with the correct orientation.

- Gary Patterson
0
 
_b_hCommented:
Once you have created the overlay on the system, you can attach it to the front or back of a report by using the Override Printer File command on the printer file before your program opens it by:
OVRPRTF FILE(QSYSPRT) FRONTOVL(FRONTOLAY) BACKOVL(BACKOLAY)    
CALL MYPGM

Post back any questions!
Barry
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
Using OVRPRTF, as Barry outlines above, is ideal when you need to use multiple overlays with one printer file (multiple company support, for example).  The only downside is that you need to execute the OVRPRTF command every time you use the printer file.

You can also use the CHGPRTF command to change the print file to permanently use a particular overlay.

Applying an overlay applies it to every page in a print file.  Sometimes you need to apply different overlays to different pages within the same spooled file.  To do this, you can specify the record-level OVERLAY DDS keyword in your printer file DDS:

http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/rzakd/rzakdmstptoverl.htm

- Gary Patterson


0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
mdln1Author Commented:
Can you attach the overlay after the data is in the print spool file. after the program is run.
I am not a programer.
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
Use CHGSPLFA to add or change an overlay on an existing spooled file:  http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/cl/chgsplfa.htm

- Gary Patterson
0
 
mdln1Author Commented:
Thank you Gary  I got the overlay to print the only thing now is that the overlay is upside down
is there away to rotate the overlay.
0
 
mdln1Author Commented:
Thank you for your help I did recrate the overlay in the correct orientation
when i printed to the file using the AFP printer and setting the orientation to 180 using the properties button.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.