pdfkit Questions
1
Solved
I want to generate a pdf file using JavaScript at client side . Firstly I tried using jsPdf API . But it does not work with Unicode character like Chinese.
Is there any option to enhance jspdf to ...
Thermosetting asked 13/7, 2016 at 13:7
2
Solved
Using both 0.79 and 0.7.2 the PDF generated looks slightly different than my original HTML. Adding the show_as_html flag presents it as expected however the inline-styles are being handled differen...
Killifish asked 17/8, 2012 at 16:32
4
Solved
I want to render a webpage as a PDF. It uses a single image, and I've read that you need to supply the absolute URL for PDFkit to be able to use the image, so my code is:
= image_tag image_url(use...
Pettitoes asked 4/12, 2013 at 14:2
2
Solved
I'm using PDFKit in my Rails app to generate PDF's. Problem is some of my content in contains non-ascii characters. How do I force it to use UTF-8?
Hydrolyse asked 9/9, 2011 at 20:40
0
I'm using pdfkit Python libraries to convert an html page to pdf.
All I'm doing is using the command:
pdfkit.from_file('mypage.html', 'output.pdf')
The problem is that I obtain a multiple-page ...
Pepper asked 3/3, 2016 at 15:32
3
Solved
I'm trying to use wicked_pdf on my prod server but it keeps failling :
RuntimeError (Failed to execute:
"/usr/bin/wkhtmltopdf" -q "file:////tmp/wicked_pdf20130709-23109-1adqx5g.html" "/tmp/wicked_...
Kampong asked 9/7, 2013 at 19:57
3
Is it possible to set format of PDF to generate in wkhtmltopdf?
From my PC wkhtmltopdf generates format "PDF-1.4"
But remote Ubuntu 14.04 server that is generating pdf with a 'virtual' X serv...
Tannate asked 28/12, 2015 at 12:13
1
pdfkit gem successfully installed in my machine. Then I run gem install wkhtmltopdf-binary and output was
Successfully installed wkhtmltopdf-binary-0.9.9.1
1 gem installed
Installing ri documentat...
Fetation asked 6/9, 2012 at 20:3
2
Solved
I use pdfkit and wkhtmltopdf to generate pdf documents. When i generate the first pdf all is well. When i quickly (within 5 seconds) generate an other i get the error [Errno 9] Bad file descriptor....
2
I am trying to use a custom font in a pdf I generate from html with PDFKit in my Rails app. I added the font in ...app/assets/fonts/ and included it in my html template:
css:
@font-face {
font-f...
Trimmer asked 15/4, 2015 at 22:9
1
I am trying to convert a html page that displays images from facebook cdn to pdf using pdfkit. I am using rails 4.2, pdfkit 0.6.2 and wkhtmltopdf-binary 0.9.9.3.
# Gemfile
gem 'pdfkit'
gem 'wkhtml...
Teepee asked 3/4, 2015 at 16:46
4
I know there are a lot of issues with wkhtmltopdf and page breaks that date back years, but I haven't worked out a solution yet. I'm using the PDFKit gem to generate my html pages into pdfs, but I ...
Americium asked 28/11, 2014 at 17:25
2
I have a node.js application in which I'm using pdfkit to generate pdf documents. I want to be able to include images from a url in the pdf. I cant save the image to the file system because my runt...
1
Solved
Is it possible to display the Euro symbol in pdfkit for nodejs without having to embed an external font?
I am using pdfKit to generate invoices and would like to prefix my currency amounts with th...
6
I have a rails 3.1 app that creates pdf documents using pdfkit, and everything works as specified, except for the fact that the generated pdfs don't have any styling. I am assuming that wkhtmltopdf...
Deltoid asked 8/11, 2011 at 0:42
1
If somebody is interested in saving the PDF file in the filesystem which is shown by PDFKit middleware gem, then here it is...
Override the call method of middleware.rb file.
In overriding just r...
Noguchi asked 1/3, 2011 at 11:45
4
Solved
I have multiple pages generated using PDFKit. How can I add page numbers to the bottom?
Saffier asked 17/2, 2011 at 19:36
6
I have setup PDFKit in my Rails 3 application, using RVM (had to manually copy the wkhtmltopdf binary). When I try to render the PDF version of a page, I get this error:
RuntimeError in AgenciesC...
Speleology asked 12/8, 2010 at 13:38
3
Solved
My Rails 3.1 app is using PDFkit to render specific pages, and I'm running into (what seems like) a common problem with where trying to generate the pdf is causing the process to hang.
I found thi...
Interjoin asked 11/10, 2011 at 7:28
3
How to create a multipage PDF in Rails representing one table of data (including column headers on each new page)? I've looked at many examples with wicked-pdf, pdfkit, and prawn but haven't seen a...
Woodsman asked 23/5, 2012 at 1:24
3
I can convert HTML pages into PDF documents well. The problem is, I don't know how to convert the HTML file into a landscape orientation PDF. Is there a way to set that in the controller?
From the...
Domino asked 12/1, 2012 at 21:7
3
Solved
Ruby 1.8.7, Rails 3.0.4, PDFKit 0.5.0
I'm trying to create a PDF with PDFKit without using the middleware so I can disable javascript (there's an accordion action in there that hides a lot of info...
Twitt asked 23/3, 2011 at 0:19
1
Solved
I have a rails app that uses PDFKit to render pdf versions of webpages. I use Thin as a development server.
The problem is that when i'm in development mode. When I start my server with "bundle ex...
2
Solved
Rails 2, PDFkit 0.5.0
Im generating a PDF from a View in Rails 2 with PDFkit and everything works fine. The only thing which doesn't work is displaying pictures in the pdf.
When I look at the Vie...
Hooknose asked 24/5, 2011 at 10:17
4
Solved
I'm trying to use PDFKit as middleware in a rails 3 app.
I can use wkhtmltopdf from the command line just fine, but my app keeps throwing me this error
command failed: "/Users/bobby/.rvm/gems/rub...
Galbanum asked 13/1, 2011 at 17:1
© 2022 - 2024 — McMap. All rights reserved.