And on v7.1 there is a ptf that brings that functionality to the CPYSPLF command for the case that you cannot do the ovrprtf.

PTF#: SI43471 - IBM i

APAR Error Description / Circumvention
-------------------------------------------------
Add new parameters to the CPYSPLF command to allow copying
spooled files directly to the integrated file system, and
DEVTYPE(*SCS | *AFPDS) spooled files to be converted into
Portable Document Format (PDF) or other Host Print
Transform-supported image formats and copied into stream files.
Bryan

On Sep 28, 2011, at 5:01 PM, Pat Barber <mboceanside@xxxxxxx> wrote:

For those who have not tried this pdf creation, it's a neat little, no
cost, way to get
some pretty good results.

Using the IBM document:

http://www-912.ibm.com/s_dir/slkbase.NSF/acf2ee1e9d64b16e8625680b00020389/2bd8020c496ae912862575f400640da6?OpenDocument&Highlight=2,pdf

In a couple of hours:

1. Install 5770TS1 from V7R1 cd B_Groupx_04
(It is also available on V6R1

2. Modify a very simple application like this:

PGM
OVRPRTF FILE(QPDSPLIB) DEVTYPE(*AFPDS) PAGESIZE(66 +
85) LPI(6) CPI(10) PAGRTT(0) +
FORMTYPE(DSPLIB) USRDTA(USERDATA) +
SPLFNAME(DSPLIB) TOSTMF('/home/patrick') +
WSCST(*PDF)
DSPLIB LIB(QGPL) OUTPUT(*PRINT)
ENDPGM

The basic changes are: devtype=*afpds
tostmf='/yourfolder'
wscst=*pdf


3.Check the results and be surprised at how easy this really is.

4. It even works with old S/36 OCL.

You will have play with ovrprtf a little to get expected results.

I am sort of surprised at how easy this is/was...


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.