Questions tagged [wkhtmltopdf]

The wkhtmltopdf tag should be used for questions related to the installation and use of this software.

wkhtmltopdf is an open source (LGPLv3) command line tool to render HTML into PDF and various image formats using the Qt WebKit rendering engine. These run entirely "headless" and do not require a display or display service.

9 questions
10
votes
3 answers

How to convert HTML into endless one-page PDF via wkhtmltopdf?

Currently when converting the PDF from given URL, like: wkhtmltopdf http://superuser.com/ superuser.pdf where it consist multiple A4 pages (so sometimes images are cut in the middle of the page). My question is: How do I convert HTML page into PDF…
kenorb
  • 26,615
3
votes
1 answer

Error with libc.so.6: version `GLIBC_2.32' not found when using it with wkhtmltopdf

I am currently experiencing some errors when trying to convert html to pdf using Python, Django and wkhtmltopdf on Ubuntu Server 20.4. See the errors wkhtmltopdf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by…
2
votes
1 answer

How to install wkhtmltopdf on macOS?

I'm trying to install wkhtmltopdf on my Mac using the following command: brew install wkhtmltopdf However, when I try to run wkhtmltopdf command through the terminal, I encounter an error like this: zsh: command not found: wkhtmltopdf Then, I also…
Tri
  • 123
2
votes
0 answers

Convert HTML pages to PDF, but after applying ublock origin filters

I want to convert a bunch of webpages to PDF using wkhtmltopdf. But I want the uBlock Origin personal filtering under My Filters (currently being used in my browser) be applied on each HTML page. How do I achieve this?
user13107
  • 303
1
vote
0 answers

can wkhtmltopdf use GPU on Ubuntu?

Cant seem to find a clear answer for this. Can wkhtmltopdf use the gpu at all? Context: Generating reports on my Ubuntu 14.04 Odoo server is extremely slow. On my windows test machine, its nearly instant.
0
votes
3 answers

How can I print the entire webpage of this url into a pdf file?

I try to print https://spring.io/guides/gs/maven/ into a pdf file using two ways: used chrome browser by hitting ctrl-p, used wkhtmltopdf with various options about javascript. But I can only print the beginning part of the webpage (imagine the…
Tim
  • 17,743
0
votes
1 answer

How to convert large .htm file to .pdf?

I have a fairly large .htm file, 100 MB which doesn't fully load in any browser I've tried (the page stops rendering after a certain point), so I want to try converting the file into a .pdf file so that I can view the entire document. Since a…
0
votes
2 answers

Odoo 10 cannot find wkhtmltopdf

Scenario I am running Odoo version 10 in a BSD jail. All functionality was working fine until recently, and I am unaware of any changes. My installation of Odoo has lost the ability to generate PDFs using wkhtmltopdf. When I try to print a…
0
votes
1 answer

How can I set the font size in wkhtmltopdf?

The manual only shows how to set the header and footer font size. How do I set the body font size? http://wkhtmltopdf.org/usage/wkhtmltopdf.txt
giorgio79
  • 1,149