I’m trying to convert XML data into PDF files from a web page and I was hoping I could do this entirely within JavaScript. I need to be able to draw text, images and simple shapes. I would love to be able to do this entirely in the browser....
Is it possible to directly convert canvas to pdf using JavaScript (pdf.js or something like that)?  Is there another possible way like canvas to img and then img to pdf?  Can you give me an example?...
I'm new to using jsPDF but and for the life of me I can't get any css to apply to this thing! I've tried inline, internal, and external all to no avail! I read in another SO post that since it's technically printing stuff to a file...
The starting points: I don't have a server that can provide anything but static files. And I have an SVG element (dynamically created) in my <body> that I want to export to a vector format, preferrably PDF or SVG.  I started looking at us...
I am using Highcharts in my application (without any internet connection)  I have multiple charts on a html page, and I want to generate a PDF report that contains all the charts from this page.  How can I do this without sending the data to any serv...
Here i am trying to make a PDF using one HTML page table content. for me its working fine in creating PDF and downloading, but the issue is am not getting correct table format which i used in HTML page (how it looks in web page like that i need in PD...
I have been using JSPDF to generate pdf document based on some html. Earlier using jspdf fromHTML Api, we could give margins like this        var margins2 = {       top: 415,       bottom: 10,       left: 55,       width: 300   };    doc.fromHTML(rea...
I'm using jsPDF and trying to import a custom font in my react single-page-app using create-react-app. I followed the steps here to create a js file with my font using the jspdf font converter. I am importing my js file containing my font using t...
browser: Chrome environment: grails app localhost   I'm running a grails app on local host (which i know there's an issue with pdf.js and local file system) and instead of using a file: url which i know would fail i'm passing in a typed...
function convertImgToBase64(url) {     var canvas = document.createElement('canvas');     var ctx = canvas.getContext('2d');     img = document.createElement('img'),     img.src = url;     canvas.height = img.height;     canva...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.