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

How to convert HTML to pdf in angular2?

I need to convert Dynamic generated html table in to pdf and able to print it too. I need it to be done in angular2 and Typescript.
Munish Sharma
  • 151
  • 3
  • 7
4
votes
3 answers

TCPDF issue showing two tables side by side

I want to show two tables side by side. My html showing the correct result but when i change the html to pdf using TCpdf then the tables dont sho side by side because float property is not supported in TCPDF. Kindly tell me how can i show the tables…
anila
  • 119
  • 2
  • 3
  • 8
4
votes
2 answers

Print Image in PDF using flying saucer

Print Image in PDF using Flying saucer. HTML code:

When I convert the HTML to PDF using Flying Saucer. The generated…
john will
  • 53
  • 1
  • 6
4
votes
0 answers

ITextRenderer -
  • value attribute being ignored
  • I'm using ITextRenderer to generate HTML to PDF file in mine Java App. Its works well and all but we spotted a problem in some of our PDF's. I've found just one reference in the web and also here at stack…
    ZehT
    • 41
    • 2
    4
    votes
    3 answers

    wkhtmltopdf exited with non-zero code {0} django html to pdf on server

    I am converting html to pdf using wkhtmltopdf. But I am getting an error raise IOError("wkhtmltopdf exited with non-zero code {0}. error:\n{1}".format(exit_code, stderr.decode("utf-8"))) IOError: wkhtmltopdf exited with non-zero code 1.…
    Wagh
    • 4,202
    • 5
    • 39
    • 62
    4
    votes
    3 answers

    scikit learn documentation in PDF

    Does anyone have any idea how I can get the scikit learn documentation (http://scikit-learn.org/stable/documentation.html) specifically the user guide, tutorials and examples, in PDF format? If they are not readily available, is there a way to…
    andy
    • 63
    • 1
    • 5
    4
    votes
    1 answer

    HTML to PDF conversion only with JavaScript in client side

    My requirement is to convert a HTML content into a PDF (or pdf data url). This should be done in client-side with JavaScript and when converting the HTML into the PDF all the Styles(CSS) should be properly rendered. Styles may have been linked from…
    Sajith Dulanjaya
    • 121
    • 1
    • 1
    • 6
    4
    votes
    2 answers

    Relative file links in pdf files

    I'm creating a single pdf file that I'd like to link to other files in the same directory as the pdf. ie. MyFolder | |-main.pdf |-myotherpdf.pdf |-myotherotherpdf.pdf I'd like the main.pdf to have links that would…
    Daniel Powell
    • 8,143
    • 11
    • 61
    • 108
    4
    votes
    2 answers

    Wkhtmltopdf version, first page and TOC

    Some questions for this very nifty tool, unfortunately lacking many usage examples. Manual speaks of a possible “Reduced Functionality” for wkhtmltopdf. I have version wkhtmltox-0.11.0_rc1-installer.exe, by running wkhtmltopdf --version what…
    antonio
    • 10,629
    • 13
    • 68
    • 136
    4
    votes
    3 answers

    Pechkin HTML to PDF that includes a link to an extensionless PNG

    I'm trying to convert an HTML string to PDF using Pechkin Synchronised (WkHtmlToPDF). Everything works perfectly apart from one (deal breaking) part. As part of the HTML string I have an Image tag that references a dynamically generated PNG file…
    Luke Baughan
    • 4,658
    • 3
    • 31
    • 54
    4
    votes
    0 answers

    Set page break in PDF by ITextRenderer

    I make the PDF by helping of ITextRenderer The code is StringBuffer buf = new StringBuffer("content for showing in PDF"); javax.xml.parsers.DocumentBuilder builder =…
    DEVANG SHARMA
    • 2,662
    • 5
    • 33
    • 52
    3
    votes
    2 answers

    Rendering ASP.NET MVC ViewResult HTML as image without third party components

    is there a way to render ViewResult or PartialViewResult as an image? I have tried to get ViewResult as string and I got a string containing html as it should be, but I need to render that html to image. If it is possible - with styles and images. I…
    xwrs
    • 1,287
    • 3
    • 16
    • 29
    3
    votes
    1 answer

    Is there any way to convert html to pdf converter without headless browser on node.js enviroment?

    I want to convert html code to pdf file(on buffer). and then upload to s3 cloud. found ways puppeteer <- it has chromium dependency issue, I can't use chromium with pm2 pdfkit <- it doesn't support html convert. That's all... is there any way?
    dnfnfn1515
    • 31
    • 1
    3
    votes
    2 answers

    HTML to PDF with cyrillic characters

    I'm making a Spring Boot application. I want to generate PDF from HTML code: String htmlString = "\n" + "\n" + "\n" + " \n" + …
    Max Bobr
    • 65
    • 7
    3
    votes
    1 answer

    Cross platform nuget HTML to PDF in ASP.NET Core

    I'm working on the task to convert HTML to PDF. Our site is hosted on a Linux Docker container. I tried many NuGet packages, from last week, but could not find a proper solution. I tried all these…
    Kiran Joshi
    • 1,758
    • 2
    • 11
    • 34