Skip to content

Issue printing PDF using Firefox #695

@bababash

Description

@bababash

Hello Print.js team,
I'd like to report an I am experiencing using Firefox. This is working perfectly in Chrome

Implementation:

<button type="button" onclick="printJS('/static/test.pdf')">Print</button>
test.pdf was copied from this repository
Using Print.js v1.6.0
Using Firefox v118.0.2 (64-bit)

Issue:

Upon clicking the button, I get the following output in my console

Warning: Invalid absolute docBaseUrl: "blob:http://127.0.0.1:8000/ff77f293-d166-45ff-a02a-d3e4c7852f7a".

(pdf.worker.js:970:13)

Warning: Bad value, for custom key "AAPL:Keywords", in Info: .

(pdf.worker.js:970:13)

PDF 8eed11de459c2ed35fec410bf057a870 [1.3 Mac OS X 10.11.4 Quartz PDFContext / Word] (PDF.js: 3.10.86 [c72cb5436])

(viewer.js:1518:13)

Uncaught NS_ERROR_FAILURE:

([print.min.js:1:4198])

Hope you can help me!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions