Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a few really large HTML files (60-100 MB) that we cannot convert to PDF with any reliability.

Adobe Acrobat 9 crashes - hits the 2GB limit for applications.

Open Office converts, but removes some of the anchors ().

ActivePDF webgrabber crashes.

Is using a 64 bit situation an option for this type of thing?

I see a bunch of options out there, but can they do better than Adobe Acrobat 9 itself?

share|improve this question
add comment

closed as not constructive by voretaq7 Nov 8 '12 at 20:05

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

11 Answers

Have you tried wkhtmltopdf? Its a command line utility that is super easy to use wkhtmltopdf:

Install wkhtmltopdf
Go to Start -> Run -> cmd

cd %Program Files%\wkhtmltopdf                     [press enter]
wkhtmltopdf.exe http://www.google.com google.pdf   [press enter]

viola. google.com saved to google.pdf.

If I remember correctly it does fairly well with its PDF compression

share|improve this answer
add comment

You could try FoxIt's PDF creator. It's only $30 and they have a trial so you can see if it will do the job. Their reader is way better than Adobe's in my opinion so I would imagine that their writer is based on the same engine.

Other free options that you could try are pdfcreator or pdfill.

share|improve this answer
    
Thanks, I tried it and after 20 hours it did the job from IE. However, no links or named destinations were created so that is a no go. –  PeterStrange Nov 16 '09 at 19:05
add comment

Depending on the use case and if you could even display the HTML code in a viewer, you might think about PrimoPDF. "Print-to-PDF" technologies might not necessarily be ideal but could lessen the size burden.

share|improve this answer
add comment

Know anyone with a Mac? if so then get them to open it with Preview and print to a PDF.

share|improve this answer
add comment

Why are the HTML files so large - are they files you obtain from a third party, or are they generated by something inside you organisation? Could you write a script to split the HTML files up in to sections? Do they have links to images, could your script reduce the quality of the images to reduce the file size?

share|improve this answer
    
It's just a large document. I could split it up but then the interlinking would be a problem. No images to speak of. :( –  PeterStrange Nov 16 '09 at 19:04
    
Write a script to convert the HTML to PDF yourself, using something like Python and ReportLab? –  David Hicks Nov 17 '09 at 19:45
add comment

I've printed pretty lengthy web pages to PDF using PDF995. Certainly not as large as you're talking about, but it worked very smoothly for me.

share|improve this answer
    
Thanks, I'm trying this one next –  PeterStrange Nov 16 '09 at 19:20
add comment

The only way I could solve this problem was to convert pieces of HTML to PDF, then merge them in Adobe Acrobat 9.

Thanks for your suggestions. Really interesting learning about all these neat tools that are out there.

share|improve this answer
add comment

I know this might be slightly heretical.... could you: copy and paste it into word then use word to fashion the html document. Then use word again to save the document as pdf? Just an out of the box idea.

share|improve this answer
    
No go. Too big for Word, apparently! –  PeterStrange Feb 26 '10 at 17:15
add comment

If you are having this problem, try using HTMLTidy to clean up the HTML. That got the size down by a lot and made things easier to work with!

share|improve this answer
add comment

I wonder if you could use Winnovative's HTML to PDF converter?

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.