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
0
votes
1 answer

pdf download using php and onclick function

I have the following code.
something
user4201875
0
votes
0 answers

Generate PDF file for given Java Server Faces page using wkhtmltopdf

I'm trying to convert java faces page to pdf. For Example: //localhost/DataApp/Display.faces using wkhtmltopdf. Java faces page has an Iframe which contains HTML page. In faces page I do data extraction from the database and populate the data into…
nagesh
  • 307
  • 2
  • 10
  • 22
0
votes
1 answer

How to clear MS Word content when printed as PDF using Pechkin

Our Client asked our team to implement print functionality for companies which are their clients. The page where they add companies has an textarea which they use to write short description. However they sometimes copy and paste from MS Word or…
0
votes
1 answer

Support for external CSS file from Apache FOP PDF Generation

Does the apache FOP supports external CSS file for generating PDF from html document? I am specifying the css file path html file but styles are not applied on pdf report generated. Also I tried copy pasting the entire style content inside tag in…
Chetan
  • 1,507
  • 7
  • 30
  • 43
0
votes
1 answer

Digitally signing a PDF document resulted after HTML to PDF conversion

I'm using the HTML to PDF converter tool from Winnovative to convert a HTML to a PDF with a table of contents. I did this using the code below: // Create a HTML to PDF converter object with default settings HtmlToPdfConverter htmlToPdfConverter =…
user4045144
0
votes
1 answer

In Live Server (Windows server 2008 R2 enterprise) PDF Is Not Generating with wkhtmltopdf.exe, but works in Local Host

We are using wkhtmltopdf.exe (up to 10 months it had been worked with no issues) but from few days we are facing issue with wkhtmltopdf.exe. For now we are getting error from wkhtmltopdf.exe and PDF is not generating for us, we use JavaScripts. When…
user2801432
  • 23
  • 1
  • 6
  • 13
0
votes
1 answer

wkhtmltopdf black lines in generated PDF

This is a PDF generated using wkhtmltopdf and it vertical black lines between. From my analysis, they are caused by the bullet points for list, but they only appear in some pages. I am generating this PDF directly from a large HTML file. Is there…
tgarg
  • 101
  • 9
0
votes
1 answer

TCPDF is not creating PDF file from .PHP file

I have a PHP file from which i want to create the PDF file but problem is that it is not creating the PDF file. If i give $content = 'ABC BCNNCNCN'; it works but for my .php file who only contains the html content, it is not working all the way. I…
0
votes
0 answers

How do i print page in its current state?

I created an application that will run sql scripts based on user selection in C# and I am using pdfcrowd to print the page to PDF. When a user user gets to the page they see the chart as the "new state". After they make a selection the cells in…
Skullomania
  • 2,225
  • 2
  • 29
  • 65
0
votes
1 answer

PHP HTMLtoPDF is not working and returning only empty PDFs

I have downloaded PHP HTMLtoPDF converter from here. But when tried to just print single line output, it does not print in the output pdf. Its empty. Below is the code which i tried. $content1 = "Sample PDF file"; // convert…
logan
  • 7,946
  • 36
  • 114
  • 185
0
votes
0 answers

How to make a pdf with page breaks at a specific html tag?

I am trying to convert html into a pdf client side using jspdf. The code I have currently is this: (most of this is for pagebreaks $(document).ready(function() { $("#runpdf").click(function(event) { var partsec = $("main_body…
yodofizzy
  • 63
  • 2
  • 14
0
votes
2 answers

XHTML to PDF using IText - Expert needed

I'm using iText to convert a XHTML to PDF. I created the XHTML using a XLSX to HTML converter and cleened out. Here you can see the HTML page. The point is that i'm not able to convert it in a equivalent PDF on A4 pages. I tryed recent and older…
Emaborsa
  • 2,360
  • 4
  • 28
  • 50
0
votes
1 answer

Rendering float divs from html to pdf

Is there any way to generate PDF from html with floating divs (I can event use fixed width and height values for divs), margins and padding in Python? Does anybody know python libs which work correctly with this css property or may be system tools?…
Denis Nikanorov
  • 832
  • 7
  • 16
0
votes
2 answers

Image in HTML not getting aligned properly on converting to PDF using itextsharp

I'm using itextsharp to convert my html portion to pdf. Everything is ok but the image always getting aligned left after converting html to pdf
Ramesh Vaasu
  • 86
  • 1
  • 8
0
votes
1 answer

Why does ExpertPDF stop showing images when there are too many?

I'm using the following code to generate a PDF using ExpertPDF v7.0 pdfConverter.PdfDocumentOptions.PdfPageSize = ExpertPdf.HtmlToPdf.PdfPageSize.Letter pdfConverter.PdfDocumentOptions.PdfCompressionLevel =…
wax eagle
  • 541
  • 11
  • 27