×
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.
Tom,
What you're doing is generating a spooled file and then converting it to
PDF. The problem with that approach is that you're limited to what
spooled files can do. Since spooled files don't have hyperlink
capabilities, you can't create a hyperlink.
If you generate a PDF directly, then you can do anything a PDF can do
(which is quite an extensive list of things! Including, of course,
creating links...)
But, this will be a whole different world from just generating a spooled
file. (In other words, there is a learning curve, here!)
Where I work, we use a package called PDFLib. It is a commercial
product, but is inexpensive. It is available for just about every OS
and programming language, anywhere (including ILE RPG on IBM i)
http://www.pdflib.com/products/platforms/
What that gives you is a set of APIs (subprocedures) that you can call
to create a PDF document with just about any feature you can think of.
It's much simpler than building the PDF from scratch and well worth the
cost.
There's also iText (as others have mentioned) which is free, but unlike
PDFLib, it is not a native ILE tool, it is a set of Java classes. If you
don't mind Java, that'd also work.
Good luck!
On 3/21/2016 11:00 AM, Tom wrote:
(system V6r1m1)
I have a program which creates PDFs from a qsysprt override, it's been
working well for weeks. Client now wants to include within the generated
PDF some links to various webpages on their webserver. The link is to look
something like 'AB-CC-00001', and when the user clicks the link a webpage
opens at the referenced page.
I'm fairly certain that what I'm doing now (override qsysprt to pdf) will
not get the job done, and that I'll need some other utility.
Some recommendations?
Thanks,
TomH
As an Amazon Associate we earn from qualifying purchases.