20 pts.
 How to print a Spool File?
Hi guys, Actually i'm stuck with printing the spool file. I've done a simple Screen(DSPF), Printer File(PRTF). For example: i have a screen then press any function key, eg:F9. When pressing the F9 it will call my program that generate a report which is store in Spool File(WRKSPLF). I'm just wondering when pressing F9, i just wanted it will print the spool file from the printer. What should i do? Is there any Program need to call (CLLE) in order to do the settings? Do you have the example code? Thanks for helping. Mickey

Software/Hardware used:
ASKED: March 12, 2009  8:31 AM
UPDATED: March 12, 2009  12:28 PM

Answer Wiki:
Hi, You'll need to make sure that your spooled file is routed to an output queue attached to a printer. You can do this by using the OVRPRTF (override printer file) command or by creating/changing your printer file with the output queue specified (CHGPRTF command). Regards, Martin Gilbert.
Last Wiki Answer Submitted:  March 12, 2009  10:48 am  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _