Print.js
Print.js copied to clipboard
Printing pdf with chrome --kiosk-printing enabled, fails
Hi I try to print a pdf with --kiosk-printing enabled in chrome. The pdf is local available.
Here is my test-code:
<button onClick="printJS('assets/pdf-sample.pdf')">
Print
</button>
When i run the print, Chrome is showing the message
Print Failed Something went wrong when trying to print. Please check your printer and try again.
Is this a bug in PrintJS or do I have something to change?
I use the newest version of Chrome: 91.0.4472.164 (Offizieller Build) (64-Bit)
https://stackoverflow.com/a/68418630/7092628
Me too, Having. the same issue
Having the Same problem here. This problem started a few months back after a update from Chrome. I'm using version 1.5.0 of the print-js package will update to version 1.60 and see if it works, will report back after further investigation.
I am using kiosk printing as well and I am not having this problem using "print-js": "1.0.63"
.
In case you want to try yourself or investigate what changed between that version and the recent ones.