Converting large HTML files to PDF or Word
November 30, 2019 3:19 PM
I'm having trouble converting a large HTML file (around 35MB) to PDF or Word. I have a Mac with 4GB of RAM. I've tried wkhtmltopdf but it didn't work.
The 'print to PDF' function in Chrome/Opera either crashes or outputs 1 page. I believe the convert to PDF function crashes my version of Adobe. I read somewhere that converting such a large file would require about 20GB of RAM.
Any suggestions? Thanks in advance.
The 'print to PDF' function in Chrome/Opera either crashes or outputs 1 page. I believe the convert to PDF function crashes my version of Adobe. I read somewhere that converting such a large file would require about 20GB of RAM.
Any suggestions? Thanks in advance.
Pandoc should be able to do both: pdf, doc
posted by mustardayonnaise at 3:43 PM on November 30, 2019
posted by mustardayonnaise at 3:43 PM on November 30, 2019
Are you trying to print the actual HTML (i.e. the page source code)? Or, are you trying to save in a PDF the visual appearance of the webpage as seen on-screen?
If it's just the code, you should just be able to right-click > View Page Source then Save Page As... and select Format: Web Page, HTML Only. Then open that file in Preview and save it as a PDF.
posted by Thorzdad at 6:55 AM on December 1, 2019
If it's just the code, you should just be able to right-click > View Page Source then Save Page As... and select Format: Web Page, HTML Only. Then open that file in Preview and save it as a PDF.
posted by Thorzdad at 6:55 AM on December 1, 2019
I routinely print 100+ page websites as PDFs using the Safari browser. Give that a try first?
posted by soylent00FF00 at 2:56 PM on December 1, 2019
posted by soylent00FF00 at 2:56 PM on December 1, 2019
« Older Formatting automatically numbered chapter headings... | Can you explain this Babylonian math problem? Newer »
This thread is closed to new comments.
posted by J.K. Seazer at 3:39 PM on November 30, 2019