B
B
Bogdan2017-08-12 13:19:20
JavaScript
Bogdan, 2017-08-12 13:19:20

Save content to pdf?

Hello. And do not tell me the best way to make a table in HTML and export it to pdf, otherwise I superficially familiarized myself with all the jsPDF, pdfmake, PDFkit tools and I don’t see a solution. If with canvas it is not clear how to do it if the table is on more than one page And if you draw yourself line by line, then how to deal with line wrapping? Can you tell me how you solve such issues?
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
A person from Kazakhstan, 2017-08-12
@LenovoId

lensky.0fees.us/mozilla.pdf - it's probably every browser can - save as PDF, although I probably didn't understand the question correctly

K
Konstantin Tsvetkov, 2017-08-12
@tsklab

Well, how to change headers and footers in this pdf.
The PDF format is designed so that nothing changes in it .
You need to add headers and footers for the document, on the last page of the signature
And finally, you need to configure the form and print options in the report generator or in a text editor.
Did not change after it was created, but how to create it?
PDF is not created, the finished result of the work is saved in it for distribution cross-platform and unchanged. If you need to work with a "table in HTML" then save it as an HTML file. Then it can be converted using topdf , for example.

S
Stalker_RED, 2017-08-12
@Stalker_RED

jsPDF , something like this
https://jsfiddle.net/1ru8wjfq/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question