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...
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...
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...
I'm trying to find a way to use bold font weights for inline emphasis in pdfkit  Unfortunately I cannot find a way to change the font without forcing a line break (bad for inline emphasis...).  I was trying something like:  pdf.text('Hello &#...
Is there any option to fill column background color with fillColor: '#dedede' ? fillColor works in tablecell very well at the same time it doesn't work for column :(     <script src="https://rawgit.com/bpampuch/pdfmake/master/build...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.