Questions tagged as 'jspdf'

2
answers

Simplest way to generate a PDF of an HTML, client-side input

I'm developing a web-based teaching material, and within it, there are some exercises where the user has to answer some questions by writing a brief dissertation within a Text Area. After completing the exercise, I would like a PDF to be gene...
asked by 03.03.2015 / 16:59
1
answer

Is there any way to convert text to image without using pictureBox in vb6?

Introduction I have a DLL in VB6 that is generating an array of javascript commands that will be executed in an asp page to generate a PDF dynamically. Until then, all right! In this PDF I need to generate a barcode, the old system would do...
asked by 26.10.2016 / 21:01
1
answer

Using jsPDF, are there ready templates?

I'm using jsPDF to make a report from some user input data, however I'm having a lot of trouble getting the report pretty further due to the fact that I do not know how to customize much with the jsPDF . So there are templates ready for thi...
asked by 27.04.2016 / 20:05
2
answers

Export HTML form to PDF with input field initialized by js does not appear in Pdf document

I have an HTML form where each input tag has its empty value attribute. This value attribute must be filled in randomly by a javascript code. So far so good. The problem is that when I use the plugin (jspdf) to submit this form to a PDF output,...
asked by 11.03.2016 / 15:11
1
answer

Using jsPDF to generate PDF

I used jQuery and jsPDF to generate PDF of the contents of a DIV p> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.5/js...
asked by 21.11.2017 / 16:38
1
answer

How to use jsPDF addHTML?

I've been trying to use jsPDF to create a pdf for a specific page in a project. However, all the examples I've looked at that include this function (addHTML) do not work. In the developer examples ( link ) there is nothing about addHTML left ove...
asked by 14.03.2015 / 16:47
1
answer

jsPDF include css

How do I save this DIV, with css formatting, if it's easier to do with table, so can I, so what I need is to just show this DIV with value inside. It will be generated side by side. var doc = new jsPDF(); var specialElementHandlers = {...
asked by 11.08.2017 / 02:02
1
answer

Add a new page and continue the interaction

I am generating a PDF with jsPDF, but when it reaches a certain threshold of the for interaction, there is a need to add a new page so that you can increment the values to the PDF. I am able to add a new page, but my for loop does not continue t...
asked by 20.07.2018 / 16:52
2
answers

Error with JSPdf with VueJS

I'm having a problem trying to use JSPdf with Vuejs. I've taken an internet tutorial ( this one ) that shows methods: { GerarPdf(){ let source = $('#div') let cache_width = source.width() let a4...
asked by 13.07.2017 / 22:53
1
answer

Multi-line header jsPDF

I need to generate pdf from a table, but my header has several lines and my code is overlapping these lines, I need every tr to be on a different line, how could it be? var startColPosition=defaults.pdfLeftMargin; $(el).find('thead').fin...
asked by 11.09.2018 / 22:43