Questions tagged as 'jspdf'

1
answer

How can I repeat the page header with jsPDF

I'm printing a table with jsPDF + AutoTable and I want the page filter section to always be printed in the header of each page. As the example below is only printed on the 1 page ... ideas? function printHTML() { var doc = new jsPDF('p', 'pt...
asked by 26.02.2018 / 15:53
1
answer

doubts with jsPdf - definition of columns

I have the following json { "MedPaciente": [ { "ProdutoModel": { "LaboratorioModel": { "id_laboratorio": 7951, "nome": "BOEHRINGER INGELHEIM", "data_cad": "28/12/2017",...
asked by 17.02.2018 / 16:45
1
answer

How to generate a PDF from a registration form and then attach the generated file and send it by e-mail?

I need to generate a PDF at the end of filling out a form and then attach it and send it via email. I need a light because I have no idea what tools to use! Thank you very much for your attention.     
asked by 29.01.2018 / 16:57
0
answers

Dynamic PDF with html data in javascript and JSPDF

Well I'm generating pdf using jsPDF but I'm having 2 problems. Just getting a page. You are not having a line break. I tried to use some functions of jsPDF but I did not have success in any of them. PDF being saved...
asked by 05.10.2018 / 17:47
1
answer

Calculating JavaScript rows and columns for PDF

I need to understand this js code snippet which is responsible for calculating the positioning of rows and columns, from a table html, to PDF. $(el).find('tbody').find('tr').each(function(index,data) { rowCalc = index+1;...
asked by 25.09.2018 / 21:49
0
answers

jsPDF with colspan at the top of the table

I'm trying to build a pdf based on the image below IcanmanagethePDF,butwithoutthelinewith"Info" and "Contact". Is it possible to generate the pdf in the same way as in the image? That's what I've been able to do so far this.pdf = functi...
asked by 14.09.2018 / 17:32
0
answers

Add QRCode as PDF

I'm generating a PDF with responses from a form using jspdf , the PDF generates correctly, however I've been adding a QRCode to be used how to control and validate them, however I can not find anything about how to do this addition, does anyone...
asked by 28.08.2018 / 19:43
0
answers

jsPDF get image

Good morning I'm using the following test code; var doc = new jsPDF('p', 'pt', 'a4'); var specialElementHandlers = { '#editor': function (element, renderer) { return true; } }; $('#cmd').click(function () {...
asked by 17.07.2018 / 21:49
1
answer

JsPDF is not receiving content to generate pdf

I'm trying to use jspdf based on the examples I saw here. And I'm having 2 basic problems, if I use the code below: $('#download_pdf').click(function() { var doc = new jsPDF('portrait', 'pt', 'a4'), data = new Date(); margins = {...
asked by 10.07.2018 / 18:33
1
answer

How to export values from a form to PDF with the jsPDF plugin?

I'm working on a project that needs to transform a HTML page into a PDF file. I'm using the jsPDF plugin. There are many examples of how to convert htmls to pdf, "but" , all the examples I saw, only use text tag as p - h1 - span ....
asked by 13.06.2018 / 16:30