Tags:
create new tag
, view all tags

Question

I get blank PDF document when opening the generated file with Adobe Reader (8.1.2), output: "There was a problem reading this document (14)." When opening the same with Foxit Reader, it looks fine. It also works with Adobe Reader 8.0 on another machine.

Anyone with similar issues?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windws XP
Web server: 2.2
Perl version: 5.8
Client OS: Windws XP
Web Browser: Firefox 3, Internet Explorer
Categories: Add-Ons

-- SakkeWiik - 28 Apr 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.

-- PeterThoeny - 03 Jun 2008

I had the same problem, and as per your comment (22 Apr 2008) on GenPDFAddOnDev, it was the embedded font. Thank-you for that lead!

I got it to work by modifying GenPDF.pm (down near the end, where all the other arguments are added) to add an extra argument like so:

push @htmldocArgs, "--no-embedfonts"; # required with Adobe 8.1.0. and 8.1.2.

That argument also makes for smaller (but less portable) PDF files.

-- SeanCMorgan - 18 Jun 2008

 
Change status to:
Topic revision: r3 - 2008-06-18 - SeanCMorgan
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.