Answer the question
In order to leave comments, you need to log in
Display pdf in browser
Good afternoon. A task arose: the report is saved in pdf, after which it must be displayed in the browser, while it must be possible to print it so that the view in the browser and on paper is identical. FF, IE 8.9 browser support required. Googling found the following solutions: github.com/mozilla/pdf.js , code.google.com/intl/ru-RU/apis/books/docs/getting-started.html , plugin for browsers for reading pdf from adobe. But the first does not work under IE, the second is tied to google services, the third needs to be updated too often due to the large number of vulnerabilities found. Who else knows what solutions to this problem?
Answer the question
In order to leave comments, you need to log in
Converting a PDF on the server into a set of images so that it can be displayed in the browser is quite simple, there are standard console utilities for this. From the finished one, for example, this is , but it has some problems with text smoothing. Basically, google for "pdf web viewer" or "pdf to png linux|windows command line". And for printing, as I understand it, the ability to download pdf is enough.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question