Questions tagged as 'jspdf'

1
answer

Generate several images with html2canvas and convert to PDF

With the following function you can get a part of the HTML to convert to an image and save to PDF Question What would be the form, in such a way that allows me to obtain several different IDs in document.body and generate several images and m...
asked by 17.11.2017 / 01:54
0
answers

jspdf-autotable

I have the following problem, I am generating PDF files from data captured in the following way: let rows_ItemsPend = this.items.map(u => { let Req = u[0].value; let Requester = u[1].value; let Service = u[2].value.toString(); let Status_De...
asked by 30.10.2018 / 21:41
0
answers

Problem when printing a table with JSPDF

Greetings developer friends, I am using jspdf to print a div that contains my table generated by PHP, I bring the table of a MySQL database, the point is that when I click on a button I generate a PDF with jspdf of the div that contains the tabl...
asked by 07.10.2018 / 00:08
0
answers

Problem with JSPDF

Hi, I have a problem with the javascript JSPdf, I have this html <div id='content'></div> <div id='editor'></div> aca hay un foreach de por lo menos 100 elementos con varios <h1> y <div> </div&...
asked by 04.09.2018 / 00:05
0
answers

Uncaught TypeError - When trying to send a PDF by email with jsPDF

I want to send a PDF file by email with the javascript library jsPDF. When I run I have this error. Uncaught TypeError: Cannot read property 'email' of undefined This is the code: var pdf = new jsPDF(); pdf.text(0, 0, 'Hell...
asked by 28.05.2018 / 16:53
0
answers

HOW TO CREATE A PDF WITH MULTIPLE PAGES OF A SINGLE LARGE PICTURE

I need to take a pdf of a graph that is too large horizontally, and I must do it in several pages of the same pdf using jsPDF and html2canvas I tried, but it does not work: <script> $(document).ready(function() { //Genera...
asked by 24.04.2018 / 16:53
0
answers

html2canvas jspdf at internetexplorer 11

I have the following problem. I have a button that has to make a screenshot and generate a pdf. I use the html2canvas libraries (to make the screenshot) and the jsPDF library, to convert the image to pdf. In browsers chrome and firefox works wit...
asked by 06.04.2018 / 13:46
1
answer

Insert image in pdf with javascript

I have a PDF already created for which I want to insert an image, I tried with the library of jsPDF but I could only create a new PDF does not modify one already created, will anyone know any way to do it? This is what I have: var canvas =...
asked by 20.12.2017 / 16:31
0
answers

jsPDF problem with the URI

I'm trying to generate a PDF with jsPDF Part of the code is as follows: var doc = new jsPDF(); var imgData =' data:........... doc.setFontSize(22); doc.text(20, 20, wps()[1][1]); doc.setFontSize(16); doc.text(20, 30,...
asked by 29.02.2016 / 11:32
2
answers

Convert javascript variable to PHP

My problem is that I have a button which sends a parameter to a javascript function. When I receive it in this function, I want to execute an sql query where the where includes this received variable (this to generate a pdf jspdf and not having...
asked by 07.09.2018 / 15:22