Prev: FAQ 4.68 Why does passing a subroutine an undefined element in a hash create it?
Next: FAQ 8.44 How do I tell the difference between errors from the shell and perl?
From: David Griffith on 18 Mar 2010 16:13 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 davidmylastname(a)acm.org <--- Put my last name where it belongs
From: David Griffith on 18 Mar 2010 17:57
David Griffith <davidmylastname(a)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 -- David Griffith davidmylastname(a)acm.org <--- Put my last name where it belongs |