wkhtmltopdf Questions

3

Solved

With this in my html, the footer won't render in the pdf... <!DOCTYPE html> <html> <head> <style> footer{ background:#ccc; position:absolute; bottom:0; width:100%; padd...
Roselleroselyn asked 23/6, 2017 at 9:35

2

Solved

I installed wkhtmltox-0.12.6-1.amazonlinux2.x86_64.rpm on my EC2 instance(t3.xlarge). While using wkhtmltopdf in Node.js, I'm getting the following error: Error generating PDF: Error: wkhtmltopdf: ...

2

I installed Wkhtmltopdf on Alpine Docker with the following command: apk add --no-cache wkhtmltopdf However when I try to run wkhtmltopdf I get: /usr/bin/wkhtmltopdf "test.html" "test.pdf" Canno...
Fonz asked 3/6, 2019 at 11:4

8

Solved

I want to convert html to pdf, and I use wkhtmltopdf. But print size is smaller than I supposed. I want to try --disable-smart-shrinking option but error occured like $ xvfb-run -- /usr/bin/wkhtm...
Marquise asked 27/12, 2015 at 9:8

11

Solved

I'm developing an electronic invoicing system, and one of our features is generating PDFs of the invoices, and mailing them. We have multiple templates for invoices, and will create more later, so ...
Cella asked 24/8, 2011 at 11:0

7

Solved

So basically I'm using wkhtmltopdf to convert a dynamic HTML report to PDF. The report has a particular format and I've been asked to clone that format with HTML. The problem I'm facing is that I...
Forficate asked 2/2, 2017 at 15:13

5

Can someone tell me how to resolve following issues? wkhtmltopdf don't have option to pass proxy info (-p or --proxy) unlike in previous versions and its not using system $http_proxy and $https_p...
Heretical asked 17/9, 2014 at 15:10

6

Solved

I recently stumbled on wkhtmltopdf and have found it to be an excellent tool for on-the-fly conversion from html to pdf in the browser. A typical usage (in Windows) would go: wkhtmltopdf.exe --so...
Bubbler asked 18/2, 2014 at 20:16

5

Solved

I'm new in python, but all search results i found was useless for me. C:\Users\Aero>pip install wkhtmltopdf Collecting wkhtmltopdf Using cached wkhtmltopdf-0.2.tar.gz Installing collected pac...
Steamroller asked 9/4, 2015 at 8:10

12

I am working in a project using ruby on rails(3.1). My requirement is to produce pdf from the html content. So I use pdfkit gem. In some pages, characters in single line partially cut between page...
Anette asked 9/1, 2012 at 10:9

2

Solved

I'm using Django. This is code is in views.py. def download_as_pdf_view(request, doc_type, pk): import pdfkit file_name = 'invoice.pdf' pdf_path = os.path.join(settings.BASE_DIR, 'static', 'pdf'...
Grisette asked 4/9, 2022 at 13:54

10

Solved

I am trying to install wkhtmltopdf, but when I do: sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb I get : Preparing to unpack wkhtmltox-0.12.1_linux-trusty-amd64.deb ... Unpacking wkhtmlt...
Mcquoid asked 8/7, 2016 at 8:29

4

We're embedding wkhtmltopdf (0.12.1) in a Java application, using stdin and stdout for input/output. We want multiple (different) headers in our PDF, so instead of using the --header-html option we...
Crandall asked 9/7, 2014 at 8:5

2

Solved

I've already read several similar StackOverflow posts and none of them were able to resolve my issue. The Issue I have a PDF that's being generated by WkHTMLtoPDF which contains a unicode RIGHT S...
Geosynclinal asked 8/4, 2018 at 23:18

4

I'm trying to render a HTML page as a PNG with transparency enabled. This is the command that generates the images: /usr/local/bin/wkhtmltoimage-amd64 --transparent --crop-h 300 --crop-w 210 temp...
Gilliland asked 20/5, 2015 at 15:24

0

I am using wkhtmltopdf for html to pdf conversions in one of my web applications. Currently I am upgrading my project from .net 6 to .net 8. Problem is , when i build and try to run the application...
Otilia asked 30/11, 2023 at 7:32

4

We're using wkhtmltopdf to render a PDF from an HTML page however fonts such as Verdana and Georgia aren't being displayed properly. We installed the TrueType fonts on our server using these instru...
Anabolism asked 22/1, 2013 at 20:55

4

Solved

I'm using google cloud instance for host Odoo, somo reports print to pdf ok, but other with custom paperformat get the following error: "The switch --header-spacing, is not support using unpatched...
Filial asked 25/2, 2016 at 3:10

12

Solved

I am trying to use custom fonts in my PDF generated with wkhtmltopdf. I read that you can't use google webfonts and that wkhtmltopdf uses truetype .ttf file. Can anyone confirm that? So I downloade...
Equitation asked 16/5, 2012 at 4:2

1

What steps will reproduce the problem? 1. wkhtmltopdf.exe --disable-smart-shrinking --print-media-type --page-size A4 --dpi 96 --margin-top 25 --margin-bottom 25 file:///.../debug.html mytest.pdf ...
Candytuft asked 23/8, 2013 at 9:58

18

Solved

I've seen multiple questions that are very similar to this one, so I was hesitant at first to post it. But nothing suggested resolved my issue and I can't seem to figure out what's wrong myself. F...
Incumber asked 18/5, 2013 at 17:56

3

Solved

I am using wkhtmltopdf(html to pdf converter) and am running it through a php shell_exec. When running wkhtmltopdf --help one option is size, with the help text being Set paper size to: A4, Le...
Abirritant asked 18/6, 2011 at 8:48

13

Solved

I want to avoid page break inside row of table in html, when I convert html to PDF by wkhtmltopdf. I use page-break-inside:avoid with table- its works, but I have so many rows, then not work. If se...
Cardinale asked 15/2, 2012 at 6:22

4

Solved

I am using pdfkit (which uses wkhtmltopdf under the hood) to generate PDFs in my rails app. Following the guide here i've gotten it mostly working for basic cases of PDFs. I am now running into an ...
Endways asked 18/8, 2014 at 2:46

3

I'm trying to use wkhtmltopdf on GCF for PDF generation. When my function tries to spawn the child process I get the following error: Error: ./services/wkhtmltopdf: error while loading shared libr...
Pavlov asked 9/10, 2017 at 5:18

© 2022 - 2024 — McMap. All rights reserved.