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



Don't want to do it from a spoolfile (we are trying to eliminate them), but directly from RPG...



-----Original Message-----
From: Jose Perez <joseenocperez.jp@xxxxxxxxx>
Sent: Friday, November 8, 2019 1:18 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: creating a pdf in RPG

If you want to convert a spool file to PDF

CPYSPLF FILE(MYSPOOLFILE) TOFILE(*TOSTMF) +
SPLNBR(*LAST) +
TOSTMF('/MyFolder/MYPDFFILE.pdf') WSCST(*PDF) +
STMFOPT(*REPLACE)

be aware that WSCST(*PDF) keyword is important.


On Fri, Nov 8, 2019 at 1:08 PM David Strawn <dstrawn@xxxxxxxxxxxxxx> wrote:

What is the easiest way to create a pdf in RPG? Can pdfkit be used by
an RPG program?


David L Strawn
IBM i Developer, Information Technology

Florence County
518 South Irby Street
Florence, SC 29501

www.florenceco.org<http://www.florenceco.org>

843-656-2432 Office (x 62432)
843-679-5019 Fax
843-319-8101 Cell

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



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.