Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.

Rather good question. I am suprised this got closed. – Filip Jul 11 at 15:31

11 Answers 11

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 google.pdf   [press enter]

viola. saved to google.pdf.

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

share|improve this answer
Works really realiably. However I've hit some bugs (due to WebKit browser being used internally) with table headers repeated on every pdf page and overwriting table contents. – Filip Jul 11 at 16:14

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

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
PrimoPDF seem to fail for HTML of about 3000 pages. – Filip Jul 11 at 15:24

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

share|improve this answer

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

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

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

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

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

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

share|improve this answer

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