Questions tagged [html-to-pdf]

For questions related to conversion of HTML pages to PDF files

Questions related to conversion of HTML pages to PDF files

638 questions
2
votes
2 answers

Convert HTML to PDF with links

Is there a node.js module or a javascript library that can convert HTML/Page into PDF with selectable texts and working links? I've tried Phantomjs. But since its the only screenshot the page and convert it to pdf, texts are not selectable and links…
mr.b
  • 2,708
  • 8
  • 39
  • 64
2
votes
0 answers

Multi page pdf with dynamic text jspdf fromHTML pagebreaks

I am generating a pdf document using jspdf from a bunch of different forms(about 20) that may or may not be included in the pdf depending on if the user chooses them. I am using the fromHTML() function to dynamically add the form questions and…
cod3r
  • 39
  • 6
2
votes
1 answer

iTextPdf HTML to PDF : how to render HTML at specific location in PDF

I have below HTML string : Requirements:
  • Bullets are helpful
  • to display key points

How can I render above HTML into PDF at specific location? I have checked some examples at…
Nitesh Virani
  • 1,688
  • 4
  • 25
  • 41
2
votes
2 answers

Automatic Pagebreak in Dynamically generated TCPDF HTML page

I am dynamically pulling content into an HTML table that is used to build a PDF using TCPDF. I need the page to auto-pagebreak when the content becomes too long for the page, but it seems to just keep appending to the first page even if it becomes…
Bryan Zwicker
  • 642
  • 1
  • 6
  • 24
2
votes
1 answer

Set html content as header and footer in iTextPDF using Java

In my application I've to generate a report from the html content. For this purpose I am using the iTextPDF library 5.5.0 with XMLWorker 5.5.0. End user can design the content of report (Header, Footer, Subject) using tinyMC editor. I am storing…
IT ppl
  • 2,626
  • 1
  • 39
  • 56
2
votes
1 answer

html to pdf conversion using ephtmltopdf

I have been trying to save my html page as pdf format. I am using ephtmltopdf. Its storing my Pdf file but the table is being missed . Now I dont have that much idea about how to fix this thing. My C# code is as: string url =…
Arsalan Sherwani
  • 889
  • 2
  • 25
  • 60
2
votes
1 answer

float not working in dompdf laravel 4

I am create pdf file using dompdf but float property not working. I changed DOMPDF_ENABLE_CSS_FLOAT to true. It works fine in normal php but its not working in laravel 4. Here is my code.
Parthasarathi
  • 99
  • 1
  • 6
2
votes
2 answers

Yii HTML2PDF (ePdf) Impossible de charger l'image /images/big-logo.png

Im using Yii framework, and Im using EYiiPdf extension. I have to view an image in Pdf output file but I got this Error: ERREUR n°6 : Impossible de charger l'image /images/big-logo.png in /protected/vendor/html2pdf/html2pdf.class.php(1319) this…
Osama Jetawe
  • 2,697
  • 6
  • 24
  • 40
2
votes
0 answers

How Can I add a signature field with EO.Pdf.HtmlToPdf?

We sign PDF documents by ELDOS.SecureBlackBox library which can place visible signature everywhere in document, but if we generate PDF dynamically by HtmlToPdf, right place for visible signature is various. This problem can be solved by adding…
2
votes
1 answer

How do I create a blank PDF signature field using an HTML input document or after exporting to PDF using ABCPDF?

I have a source HTML document generated from an ASPX. I then convert the html to PDF using ABCPDF. The html has a signature area, which is just a text box with a border. I need a signature field inside the PDF with a name that I can pass on. The PDF…
Martin Lottering
  • 1,624
  • 19
  • 31
2
votes
1 answer

How to set background watermark image using pdfcrowd HTML to PDF API for PHP?

I'm using "pdfcrowd HTML to PDF API for PHP" to generate PDF files from the PHP and smarty file. I'm able to generate the PDF but not able to put the background watermark image to the PDF I'm printing out. I tried everything but still couldn't put…
PHPLover
  • 1
  • 51
  • 158
  • 311
2
votes
1 answer

where file is saved in wkhtmltopdf

I want to use wkhtmltopdf for html to pdf conversion. The program seems to work but I dont know where the target file is saved. Ideally it should be saved in programfiles-->wkhtmltopdf folder. Does anyone experience this problem before?
user2614607
  • 151
  • 2
  • 6
  • 17
2
votes
0 answers

Avoid showing table header without any data row before page break

we are using Flying Saucer to generated pdfs (including large tables). Our customers requirement is to repeat the table header on each page which is done by using: table { -fs-table-paginate: paginate; } After inserting this we discovered an new…
raffa
  • 21
  • 1
2
votes
1 answer

Kendo images don't display on PDF?

I am using Kendo UI editor and my image html is look like: img alt="" src="http://mywebsite.com//ImageBrowser/Image?path=lion.png" When I open this on browser it displays the image, but when I try to convert it to PDF, It doesn't display the image.…
Emin Salim
  • 23
  • 5
2
votes
2 answers

Export Html to PDF using ITextsharp

I have tried the code below, I am also facing an error. I am using latest DLL. String strSelectUserListBuilder = @"

My First Heading

My first paragraph.