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...
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...
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...
I am using Morris.js to create graphs. I have requirement to export graphs as pdf. I can see that graphs are svg elements. What should i do to achieve this....
I'm trying to generate a PDF using WickedPDF and all of my static HTML/CSS is loading.  I have a few elements on the page that are populated using AJAX requests, but they are not showing up in the PDF.  I know :redirect_delay can be passed as a p...
I want to export a part of my html code to pdf, for this I am using the following code :   <script language = "JAVASCRIPT"> var doc = new jsPDF(); var specialElementHandlers = {     '#editor': function (element, renderer) {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.