Issue with QZ Tray printing

16 views
Skip to first unread message

Ishika Jain

unread,
Jul 9, 2025, 3:06:48 PMJul 9
to qz-print
Hi,

So we are using QZ Tray to print our orders that we receive, we are using polling to get our orders and as soon as we get them we send it to qz.print() to print it. But have observed that there are intermittent delays in printing because qz tray didn't send the print command to the printer queue.


What can be the possible issue? Is it that it is not able to handle concurrent requests (if so how to handle it best without delays as we cant compromise much with timing)or might be issue with headless chromium taking time to process the html data as I have introduced image in my html in Base64 format.


Regards,
Ishika

Lite Finocchiaro

unread,
Jul 10, 2025, 11:50:25 AMJul 10
to Ishika Jain, qz-print
Ishika:

Sorry for the trouble. Can you send logs ?

From the QZ Tray Icon:
Advanced, Troubleshooting, Zip Logs (To Desktop)

If they contain sensitive information, please send them to sup...@qz.io and we can look at them off-list.

Is it that it is not able to handle concurrent requests?

Requests should never be concurrent; even native applications will have trouble if sending multiple jobs at the same time without some queuing logic. I would expect your code to fire "qz.print" in a manner that makes each print call separately. 

A small code snippet (your code) may be necessary. Since QZ-Tray only calls qz-print when the web page calls it, you may have a race condition in your code.

Kind regards,

Lite Finocchiaro
VP, QZ Industries 


This email is intended only for the person or the entity to whom it is addressed. If you are not the intended recipient, please delete this email and contact the sender.

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/qz-print/8676509b-7397-487c-9007-750d88c6316en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages