andythemandy has asked for the wisdom of the Perl Monks concerning the following question:

hello, I'm generating pdfs using PDF::API2 and want to view them on Android opperating system smartphones. All I seem to get when I try and view them is a little text. The number of pages is correct but they are mostly blank. pdf::API2 saves them as version 1.4.....I tried converting them to 1.3 and they seem to work. I need to automate the process as I'm generating over 5000 pdfs. how can I change the version the pdf's are being saved as???? cheers! ps. the version of pdf::API2 is PDF-API2-2.019 Andy
  • Comment on pdf::API2 version and Android incomaptability

Replies are listed 'Best First'.
Re: pdf::API2 version and Android incomaptability
by flexvault (Monsignor) on Jul 23, 2011 at 13:26 UTC

    Hi Andy,

    Welcome to PM!

    This is a guess, since I'm not familiar with your smartphone, but I have used PDF::API2 without a problem.

    I think you need to update your pdf reader. I checked several pdf files and they were all 1.4 or newer. If that's not possible then I would generate the pdfs as version 1.4 and call a system conversion tool from your script.

    I googled the version info, and found the following. It show 1.4 has been available since 2001.

        * (1993) – PDF 1.0 / Acrobat 1.0
        * (1994) – PDF 1.1 / Acrobat 2.0
        * (1996) – PDF 1.2 / Acrobat 3.0
        * (1999) – PDF 1.3 / Acrobat 4.0
        * (2001) – PDF 1.4 / Acrobat 5.0
        * (2003) – PDF 1.5 / Acrobat 6.0
        * (2005) – PDF 1.6 / Acrobat 7.0
        * (2006) – PDF 1.7 / Acrobat 8.0
        * (2008) – PDF 1.7, Adobe Extension Level 3 / Acrobat 9.0
        * (2009) – PDF 1.7, Adobe Extension Level 5 / Acrobat 9.1
    
    Most everyone here would suggest upgrading a 2001 perl. Without knowing more . . .

    Good Luck!

    "Well done is better than well said." - Benjamin Franklin