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

How To Slice a String which Contain HTML tag with it and slice With respect to opening and closing tag

I have a html as string(with Tag in it as shown below in p tag ) and I want to slice only contain data but problem is slice method divide the string with html tag and that can't generate required output. So I Want to slice the String with opening…
BiRjU
  • 733
  • 6
  • 23
-1
votes
2 answers

How to export a rendered table data to pdf file or any other format in reactjs

I am working on to export the table data to pdf format using Reactjs. I am showing the json data in the form of a HTML table inside Reactjs component. I have given a button named as Export to export the data in any format. For now I am working only…
MOHIT SHARMA
  • 103
  • 4
  • 14
-1
votes
1 answer

Pechkin dll (htmltopdf conversion) style issue with https protocol

I am Using Pechkin dll in c# to convert HTML file to PDF file. converted PDF file has Style issue only when application runs with HTTPs protocol but it works well in HTTP protocol. could anyone help me?
soundhiraraj
  • 323
  • 1
  • 9
-1
votes
1 answer

While downloading on load aspx page to pdf using jspdf ,I am getting pdf which size is varying according to the size of device I am opening this aspx

Can you please help me with this? function doPrint(){ var doc = new jsPDF(); var specialElementHandlers = { '#editor': function(element, renderer) { return true; } }; …
-1
votes
2 answers

C# Change ActionResult to IHttpActionResult using POST method

I have a code here which actually converts HTML to PDF and sends it to an email but it is in ActionResult: public ActionResult Index() { ViewBag.Title = "Home Page"; var coverHtml = RenderRazorViewToString("~/Views/Home/Test.cshtml",…
-1
votes
2 answers

Cant able to load image into pdf with Evopdf

i was trying with evopdf to convert html to pdf and in my html there is an image with absolute path of it but image is unable to load it into pdf.here "sb" is string builder in which i append the html string. PdfConverter pdf = new…
aggy
  • 163
  • 1
  • 2
  • 14
-1
votes
1 answer

I am trying to send form data to pdf and attach with mail

I am using the below code and it's working. However the attached code does not work, and sending mail failed. Could it be to do with the wrong header? Here the $htmlTable variable is used for collecting form post value and coverting it to pdf using…
sourabh
  • 152
  • 1
  • 9
-1
votes
3 answers

Html to PDF using iTextShart using asp.net Download location

I am using below code in asp.net to export html to pdf protected void btnExport_Click(object sender, EventArgs e) { Response.ContentType = "application/pdf"; Response.AddHeader("content-disposition", "attachment;filename=Panel.pdf"); …
-1
votes
1 answer

Send invoice PDF convert

I am making an app that creates an invoice. It is created in HTML and PHP using different data from a database. I need to create a function that converts the page into a PDF and send it to a client. I can not store it on server as it would mean to…
Vlad Eugen Nitu
  • 195
  • 2
  • 15
-1
votes
1 answer

how to convert html to pdf without tag check

I have a HTML page and I can see this page with my browser without any error. Problem is when I try to convert this HTML to PDF with iText or any other programs, these programs gives hundreds of error. Is there a way to convert HTML file to PDF file…
hellzone
  • 5,393
  • 25
  • 82
  • 148
-1
votes
4 answers

Accurate HTML to PDF conversion tool for Java/linux

We are migrating our web app from Adobe Coldfusion/Windows to a Railo/Linux environment, and are having issues with inconsistent PDF rendering with cfdocument between the platforms. As well as default ACF (apparently iText 2.1.0) and the default…
jade
  • 25
  • 1
  • 6
-1
votes
2 answers

how to turn textarea text in pdf with php

I have a textarea on my site that users can insert and edit text and thus has formatting and spacing. I would like for the user to push a button and generate a pdf of this textarea with the same format. I have tried allot to resolve this . Are there…
harish
  • 1
  • 1
  • 1
-1
votes
2 answers

Html (with images) to PDF - Java

I have tried using Flying Saucer to convert html to pdf. Somehow it coverts the pain text only. I'm having images (img tags) and I want them too. This is what I did. How do I make this for images? DocumentBuilderFactory factory =…
sura2k
  • 7,365
  • 13
  • 61
  • 80
-2
votes
1 answer

itext7 html to pdf - vb example please?

Please can someone provide me with a simple example of converting a file from HTML to PDF in VB? I can find Java and C# examples but nothing using VB.
-2
votes
2 answers

How to use

tag in HTML table

I need to use

tag in html table. If I put

tag it's not align properly. I am using these HTML for generate PDF in .Net web application using string builder. I am unable to remove

because it comes from backend.

Matter…
1 2 3
42
43