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



Hi Jason

Some time ago i have the same issue.
I decided install ibm i python. And now this is my run sequence:
1º RPGLE program generate a pfd file in a ifs folder,
2º The same RPGLE program execute a python script witch generate a copy of
pdf file (because i need so) protected with one password received by
parameter in the script.

First of all you need install python, and after build a script that work
for you.

it isn't complicated.

Regards


------------------------------

message: 5
date: Fri, 28 Jun 2019 09:11:39 -0500
from: Jason Olson <josys36@xxxxxxxxx>
subject: Secure existing PDF with a password.

Before I try to re-invent the wheel here, I figured I'd ask the group if
anyone has done this before.

I have a few existing PDF files that are emailed out on a regular basis. I
would like to be able to password protect those files before they go out,
but as far as I can tell the CPYSPLF and OVRPRTF commands don't have an
option for a password. So has anyone here used something like iText to
secure an already existing PDF?

Now one option I do have is to zip the PDF into a zip file as our zip
command does have a password. But, I figured I'd see if I could password
protect the PDF itself.



Thanks,

Jason E. Olson
IBM i Engineer/Developer
josys36@xxxxxxxxx
480.223.2952





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.