Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
For most popular formats, yes.
If the browser itself knows this format, then you can print it using the browser itself. If not, you will have to connect some scripts to render the contents of the file.
For example, for pdf https://www.google.com/search?q=js+pdf+viewer
Or for excel https://www.google.com/search?q=js+xls+viewer
And so on.
When it turned out to draw the print itself, it starts easily: window.print()
https://developer.mozilla.org/en-US/docs/Web/API/W...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question