About 189,000 results
Open links in new tab
  1. javascript - How to properly use jsPDF library - Stack Overflow

    I want to convert some of my divs into PDF and I've tried jsPDF library but with no success. It seems I can't understand what I need to import to make the library work. I've been through the …

  2. Create pdf using jsPDF with formatted Table data

    18 I am able to generated PDF file from html table using this below script: But I am getting all the columns data are line by line. Please help me to generate PDF file as a tabular formatted way. …

  3. javascript - Add image in pdf using jspdf - Stack Overflow

    Sep 28, 2013 · I am using jspdf to convert an image into a PDF. I have converted the image into a URI using base64encode. But the problem is that there are no errors or warnings shown in the …

  4. javascript - How to make use of jsPDF library specifically for a …

    Jul 13, 2022 · Download jspdf.umd.min.js manually into your extension directory, then use it just like any other script. You won't need import: instead just access jspdf in your code directly.

  5. Custom font faces in jsPDF? - Stack Overflow

    Is it possible to include custom fonts in jsPDF ? With the basic library, if I console log 'doc.getFontList()' I get: Courier, Helvetica, Times, courier, helvetica, times But, say I want to …

  6. Fonts not applied in generated PDF using jsPDF from HTML content

    Dec 17, 2024 · I am trying to convert my HTML content to a PDF using the jsPDF library. The HTML file contains custom fonts that are defined using @font-face with Base64-encoded font …

  7. jsPDF server side (node.js) usage using node-jspdf

    Jun 7, 2015 · After installing jspdf ( "npm install jspdf" ) you get the jspdf folder inside node-modules. Go inside it and replace the jspdf.min.js by the jspdf.amd.min.js present in the /dist …

  8. How to set image to fit width of the page using jsPDF?

    Apr 7, 2016 · Ok, so my problem was how to fit a web page into the pdf document, without losing the aspect ratio. I used jsPDF in conjuction with html2canvas and I calculated the ratio from …

  9. jspdf - Generate pdf from HTML in div using Javascript - Stack …

    Aug 12, 2013 · I am dissatisfied with the results I got from jsPDF.fromHTML() suggested in the accepted answer, as that solution gets easily confused by special characters in my HTML that …

  10. javascript - I wrote this code using JsPDF but doesn't seems to …

    May 20, 2023 · I wrote this code using JsPDF but doesn't seems to work at all. What is should I use to make this work? Asked 2 years, 6 months ago Modified 2 years, 6 months ago Viewed …