Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

altering PDF file security settings

0 views
Skip to first unread message

David Griffith

unread,
Mar 18, 2010, 4:13:10 PM3/18/10
to
I'm trying to come up with a way to alter the security settings on PDF
files. For example: I frequently rebuild PDF forms. Manually running
these through Adobe Acrobat Pro is extremely tedious. If I can come up
with a Perl script to strip the security settings, that would speed
things up a great deal. So... How can I, with Perl, alter these
security settings?

--
David Griffith
davidmy...@acm.org <--- Put my last name where it belongs

David Griffith

unread,
Mar 18, 2010, 5:57:48 PM3/18/10
to
David Griffith <davidmy...@acm.org> wrote:
> I'm trying to come up with a way to alter the security settings on PDF
> files. For example: I frequently rebuild PDF forms. Manually running
> these through Adobe Acrobat Pro is extremely tedious. If I can come up
> with a Perl script to strip the security settings, that would speed
> things up a great deal. So... How can I, with Perl, alter these
> security settings?

To answer any suggestions for using CAM::PDF, I tried that. The
following command yielded a corrupted file. Different combinations of
permissions didn't seem to help.

rewritepdf.pl -P 0 0 0 0 foo.pdf bar.pdf

0 new messages