Fix issue with dontprinting local PDFs displayed in Firefox.

Fix issue #20.

Tested under Linux and OS X.