wkhtmltopdf Questions
1
Solved
I am using wicked_pdf for generating pdf from html on my rails project. It is rendering template but I could not manage to print header/footer sections. Below is my code that print only template se...
Desiraedesire asked 11/1, 2017 at 4:4
2
Solved
I am using wkhtmltopdf to convert part of a HTML page to a PDF document that may be several pages long (depending on the text the user inputs to be converted).
The wkhtmltopdf is working correctly...
Hospitalet asked 27/12, 2016 at 10:33
3
I am newbie in wkhtmltopdf. I am wondering how to use wkhtmltopdf with my Dynamic Web Project in Eclipse? How to integrate wkhtmltopdf with my Java dynamic web application?
Is there any tutorials ...
Mineral asked 16/4, 2011 at 18:22
5
Solved
I have a simple test.html file:
<html>
<div style="width: 100%; font-size: 28pt;">
This is a test to see what happens when this kind of text gets processed by wkhtmltopdf
</div>
...
Expectoration asked 3/6, 2014 at 14:58
1
I am trying to make a PDF of QR codes, but wkhtmltopdf is adding random padding on the last row of the page even though it should fit fine. It renders fine in the browser.
Full code is here: https...
Amathist asked 6/11, 2016 at 20:29
1
Solved
I am using the following CSS a web page that the user will print:
.page {
padding: 1.04cm 1.54cm 1.04cm 1.54cm;
width: 21cm;
min-height: 29.7cm;
height: 29.7cm;
}
When using Print Preview i...
Contraction asked 8/11, 2016 at 3:14
2
Solved
I am developing a rails 3.2 application with which users can download pdfs. I enjoy test driven development a lot using rspec and shoulda matchers, but I'm at a loss with this one.
I have the foll...
Bozarth asked 7/3, 2013 at 17:5
1
I currently use wkhtmltopdf where I am attempting to generate a .pdf file after a user submits a form on our website. The form data gets submitted to post.php, where it displays nicely as a formatt...
Corroboration asked 22/10, 2016 at 16:26
1
I'm trying to implement a report engine using WKHTMLTOPDF and I'm having trouble aligning the content with paper edges.
Consider I'm setting the paper size to A4 and print margins to zero like thi...
Uhlan asked 8/12, 2013 at 12:19
1
Solved
Taking care of removing any paddings or margins, I have created a basic html page containing a single table whose height is supposed to be 297mm (A4 paper height):
<!DOCTYPE html>
<h...
Superclass asked 13/10, 2016 at 13:17
1
Is it possible to access the "topage" variable within the main content body?
I know you can do it in headers and footers but in this specific use case, I need to put a sentence within the body tha...
Berna asked 11/9, 2014 at 10:21
2
Solved
I have been using the Wicked PDF gem for generating pdfs. It has been working great.
However, I have run into a situation where a need to attach and have visible a large footer to the first page, ...
Guadalupe asked 2/9, 2016 at 18:31
1
Solved
I'm using NReco PDFGenerator to create a PDF document from an HTML string. When a table is split over a page break, the table header overlaps the next row in the table (see image below).
Any id...
Bombshell asked 29/8, 2016 at 16:36
7
Solved
Background
After reading around it seemed to me that Prawn is out and wkhtmltopdf is in. It also seems like the PDFKit and wicked_pdf gems for Rails are the new cool. So I found a screencast by Ry...
Thankful asked 20/9, 2012 at 17:19
3
I'm using wkhtmltopdf to download a page and create a pdf, as explaind in here. It all works as expected, but when it reaches the following line:
int read = proc.StandardOutput.BaseStream.Read(buf...
Waterscape asked 15/3, 2012 at 2:46
2
Solved
I am generating PDFs on Azure using NReco which uses WkHtmlToPdf. On my local server everything generates just fine. On Azure however it renders all fonts with black squares.
I have tried everyt...
Cuffs asked 11/9, 2014 at 16:48
2
Hi I have looked through all similar posts and implemented the suggestions but still no luck.
Running Python, PDFKIT, Windows 7, Google App Engine.
I get this error when trying to run the program...
Reface asked 24/11, 2014 at 16:59
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
1
I want to use wkhtmltopdf to render both pages I control (in which case I can set the window.status when done rendering) and (occasionally) pages I don't control. According to this thread on the ma...
Anything asked 28/6, 2016 at 16:19
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
5
When I run the executable "wkhtmltopdf-amd64" (from Linux), I get the following output:
QPainter::begin(): Returned false============================] 100%
Error: Unable to write to destination
E...
Eden asked 16/1, 2012 at 14:22
5
I need to add background gradients to some td and th elements in page which gets converted to PDF, however I'm getting some very strange behavior from wkhtmltopdf, so when I do this:
table {
...
Tropical asked 19/12, 2014 at 11:30
2
Solved
I use wkhtmltopdf with django-wkhtmltopdf and I think I have incorrectly serving static files.
If I run wkhtmltopdf from the console are properly collected static files and generates a good pdf fil...
Soler asked 18/10, 2013 at 8:55
2
Please excuse my English.
I am printing a large report in pdf format including some tables (table after table). To do this, I first generated the report in html, then passed it on to pdf using dom...
Oligarch asked 31/1, 2016 at 5:15
© 2022 - 2024 — McMap. All rights reserved.