Printing does not work
See original GitHub issueThanks 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:
- printContainer
- mozPrintCallback-shim
The renderProgress function searches the mozPrintCallback-shim
, but cannot find it. It is null
and
Crash:
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?
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
13 Common Printer Problems and How to Fix Them
If you don't use your printer often, sometimes ink in your printer head will dry and lead to clogging. When you start to...
Read more >What to Do When Your Printer Won't Print | PCMag
What to Do When Your Printer Won't Print · Check Your Printer's Error Lights · Clear the Printer Queue · Solidify the Connection...
Read more >Fix printer connection and printing problems in Windows
Step 1. Unplug and restart your printer · Step 2. Check cables or wireless connection · Step 3. Uninstall and reinstall your printer...
Read more >10 Things to Try When Your Printer Won't Print - Help Desk Geek
1. Check Paper Tray and Printer Connection · 2. Run the Printer Troubleshooter · 3. Set the Printer As Default · 4. Clear...
Read more >I can't print, what should I do? » Hardware »
First, make sure the printer is on and has paper in the tray. You may also want to check that it has ink...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
Any ideas?