Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to print #1322

Open
yrpn opened this issue Mar 10, 2025 · 2 comments
Open

Failed to print #1322

yrpn opened this issue Mar 10, 2025 · 2 comments

Comments

@yrpn
Copy link

yrpn commented Mar 10, 2025

I tried to use qz tray on non localhost with qz-tray certgen --host "192.168.1.171". The connection is success and I get printers list from the host, but when I try to print I get the following error message.

[ERROR] 2025-03-10T16:08:37,519 @ qz.utils.PrintingUtilities:222
	Failed to print
java.awt.print.PrinterException: javax.print.PrintException: java.awt.print.PrinterIOException
	at java.desktop/sun.print.RasterPrinterJob.spoolToService(Unknown Source) ~[?:?]
	at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source) ~[?:?]
	at qz.printer.action.PrintPixel.printCopies(PrintPixel.java:133) ~[qz-tray.jar:?]
	at qz.printer.action.PrintPDF.print(PrintPDF.java:278) ~[qz-tray.jar:?]
	at qz.utils.PrintingUtilities.processPrintRequest(PrintingUtilities.java:212) ~[qz-tray.jar:?]
	at qz.ws.PrintSocketClient.processMessage(PrintSocketClient.java:325) ~[qz-tray.jar:?]
	at qz.ws.PrintSocketClient.lambda$onMessage$0(PrintSocketClient.java:171) ~[qz-tray.jar:?]
	at java.base/java.lang.Thread.run(Unknown Source) [?:?]
@tresf
Copy link
Contributor

tresf commented Mar 13, 2025

What are you trying to print? What does your setup look like? How would someone reproduce this problem?

@tresf
Copy link
Contributor

tresf commented Mar 14, 2025

@yrpn without additional details we'll have to close this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants