Answer the question
In order to leave comments, you need to log in
Is it possible to embed javascript code in a PDF file?
Can this be done and how? Javascript or equivalent for PDF.
As a last resort, how to make the image immersed from the site into PDF?
Answer the question
In order to leave comments, you need to log in
Specifically, JS cannot be embedded. PDF itself is designed to store documents in the way that printers should see the document. Downloading information from the site will not work, PDF is completely offline, from text to fonts and images.
However, there are also implicit features of PDF, such as links to external documents, such as other PDFs, lying in an adjacent folder. The limits of PDF are to be found in the PostScript documentation or its open source implementation GhostScript .
It is possible to generate PDFs with JS: https://github.com/MrRio/jsPDF
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question