Printing does not workSee original GitHub issue
Thanks for making
angular-pdfjs-viewer. It looking great.
There seems to be an issue with printing. PDF.js complains when calling
renderProgress, it crashes because the template is lacking 2 divs:
The renderProgress function searches the
mozPrintCallback-shim, but cannot find it. It is
var progressContainer = document.getElementById('mozPrintCallback-shim'); is null…
One cannot call
querySelector on it.
Original viewer template:
Is the solution as simple as adding the missing divs to the template?
- Created 8 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
It should be fixed now after running a
bower update in your project.
This solution partially fixed the problem. While the print button now works, it doesn’t do a nice print of the document only. It shows as if someone tried to print the website.