Think about Loose Coupling | |
PerlMonks |
PDF::API2 fails combining pdf 1.3 and 1.4by Anonymous Monk |
on Feb 27, 2013 at 11:25 UTC ( [id://1020851]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The above code produces a .pdf file that's perferctly readable by ghostview, but causes an error in Reader XI. I need to produce a .pdf files that collates pages from different sources, inserting text pages that include computed information. The report will be used in a Windows 7 office environment in which avoiding acrobat is not an option. The problem arises, I believe, when combining .pdf of the 1.3 and 1.4 standard, but the reason could be another. The input files and result are available for download at https://www.dropbox.com/sh/12jofjihcs67ph7/aPnL4y5xZb . I tried both formimage and importpage, sprinkled some save/restore in the code, the 'pageencaps' option, but it didn't cut it. My environment is strawberry perl v5.16.2 on Windows 7 32 bits. My version of PDF::API2 is 2.020 MSWin32 Thank you for your help!
Back to
Seekers of Perl Wisdom
|
|