Questions tagged [wkhtmltopdf-binary]
22 questions
4
votes
3 answers
Wicked PDF header not showing up
After already checking the Rails Gem repository for similar issues as well as Stack Overflow, I couldn't find an answer to my problem.
I'm trying to render a pdf using wicked_pdf within a Rails controller, but the header is not showing up, no matter…

tommyalvarez
- 615
- 6
- 19
3
votes
0 answers
How to make wkhtmltopdf work on Google Colab?
I need to use pdfkit on Google Colab but I'm not able to make it works.
(I already use it on jupyter notebook on windows 10 withtout problem)
I tried installing like this:
! wget…
user14333141
3
votes
0 answers
Rails wicked_pdf & chartkick not working - showing loading
I'm trying to make chartkick work with wicked_pdf but all it does is show a loading sign:
I'm using wicked_pdf version: 2.1.0,
wkhtmltopdf-binary version:0.12.6.5
I've tried replacing it with wkhtmltopdf-binary-edge (0.12.6.0) with no…

JOhnny.C
- 85
- 1
- 8
2
votes
0 answers
wkhtmltopdf Tool - Texts/Fonts are cutting at the end of the page with wkhtmltopdf latest version 0.12.6 (with patched qt)
We need solution using wkhtmltopdf tool only as per our reqirement. We do not need to use any other tool to convert.
We are generating pdf file with wkhtmltopdf tool, and we are using latest version 0.12.6 (with patched qt). But generated pdf…

Chirag Shah
- 353
- 1
- 13
2
votes
1 answer
Multi Columns CSS for rendering PDF in wkhtmltopdf
I am trying to creating PDF from html using wkhtmltopdf libraray (https://github.com/wkhtmltopdf/wkhtmltopdf)
But ihave issue in creating two column pdf like newparers .
This issue is listed in a number of Posts, However, no solution is…

tajinder singh
- 113
- 1
- 10
2
votes
1 answer
Table row is getting cut while using wkhtmltopdf node module converting to pdf
Facing issue while converting HTML to PDF long one almost 3-4 pages of tables data is available. Its getting cut and distorted.
I tried most of solution which is mention related to wkhtmltopdf stackoverflow thread.
table, tr, td, th, tbody, thead,…

Avinash Dalvi
- 8,551
- 7
- 27
- 53
2
votes
1 answer
wicked_pdf: UTF-8 encoding issue on production
In my Rails 5 app I use wicked_pdf and wkhtmltopdf-binary gem for generating PDF from HTML. But there is some problem while generating PDF on production. Currency symbol is not displaying properly, but it's working fine in development.
Here is my…

Risky leopard
- 91
- 2
- 8
2
votes
2 answers
Wkhtmltopdf version for Cloud Linux
I have CloudLinux release 7.6 in my server and I used to have wkhtmltopdf linux generic version 0.12.4 previously. I am trying to upgrade wkhtmltopdf to version 0.12.5 and I noticed they no longer have generic linux version.
How do I install the…

Neel
- 9,352
- 23
- 87
- 128
2
votes
0 answers
wicked_pdf Failed to load pdf document
I've got a Rails app which renders a few pdf files. Only one of them is not able to load with the error failed to load pdf document, until I restart the server. I've seen somebody mention about file size of the file.Yeah, I found out that my file…

Pirun Seng
- 443
- 1
- 4
- 20
2
votes
1 answer
wkhtmltopdf and MathJax: equations are rendered too small
I am trying to download the Feynman lectures using wkhtmltopdf. This is the command line that I use:
wkhtmltopdf.exe http://www.feynmanlectures.caltech.edu/I_44.html --javascript-delay 20000 --no-stop-slow-scripts ./out/I_44.pdf
However the MathJAX…

robertspierre
- 3,218
- 2
- 31
- 46
1
vote
0 answers
PDF Kit + wkhtmltopdf-binary PDF shrink issue on production server
I'm using gem 'pdfkit' and gem 'wkhtmltopdf-binary' to generate the invoices on the Ruby on Rails app. I've a erb file, I'm rendering it as follow:
kit = PDFKit.new(ActionController::Base.new.render_to_string('billing/invoice_pdf', layout: nil,…

Bibek Sharma
- 3,210
- 6
- 42
- 64
1
vote
0 answers
Error while providing configuration in wkhtmltopdf
I want to convert csv to pdf using python script hence using pdfkit and wkhtmltopdf for converting.
I need to configure wkhtmltopdf path.
I did the same but I am getting below error.
code used:-
config =…

Shaimya Sinha
- 11
- 1
1
vote
1 answer
Text cut with wkhtmltopdf-binary
gem 'wicked_pdf'
gem 'wkhtmltopdf-binary'
Above two gems are used.but the issue i'm getting text cuts when page breaks. like in screenshot
I'm using this piece of lines of code:-
<%if current_company&.po_term.present?%>

Anand
- 6,457
- 3
- 12
- 26
0
votes
0 answers
How to generate graph in pdf in rails
I want to generate bar graph in pdf, How to generate graph in pdf in rails.
I want to generate direct graph in pdf without storing any image.
…

Satyam Kumar
- 1
- 1
0
votes
1 answer
WickedPDF image not showing up in production on heroku
I know there are several questions similar to this on stack overflow, but none seem to answer my question. The wkhtmltopdf tool apparently doesn’t know about the rails asset pipeline, and wickedPDF tries to accommodate for this by finding and…

mb52089
- 872
- 2
- 10
- 24