Answer the question
In order to leave comments, you need to log in
Creating a simple PDF through pure JS?
It is necessary to create PDF-files (static) through JS, while there is a code size limit - 50KB, so the same jsPDF does not roll, since it is already 1MB. All that is required is to add several objects in turn, such as: path, canvas, rectangle, line, text, and in addition apply filters. But here's the problem - I didn't find any documentation on this, so I have no idea how to even create an empty PDF file. Help with small plugins or documentation about this, please
Answer the question
In order to leave comments, you need to log in
Your requirements are unique, which means they do not occur in the wild.
So download raw jsPdf or pdfmake and gut from everything you don't need. You will most likely meet the size with a margin, no one will do it for you (for free).
Well, if it's on pure js without plugins, then https://www.iso.org/standard/51502.html and 747 pages of docks to help.
there is a code size limit - 50KB
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question