Forwarding to mailing list.
I don't understand why it only prints sometimeshere is console log and and example that i tried to print in escPOS.I'll leave here my console message. It seems that it tries to print before connect to QZ Tray, but i am sure that i use qz.websocket.connect() before sending dataI am having problems since it doesn't work on Firefox and works sometimes on IE11 - i try to post a message to your community forum, but i don't find "POST a question" button.HiI used to have QZ Print, but since the security Certificate has expired, i switched to QZ tray
--Melhores CumprimentosNuno Miguel Bagulho Marques
nbag...@nmbm.biz
** informática - programação - alojamento **
http://webgescom.pt
--
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.
For more options, visit https://groups.google.com/d/optout.
It looks like you're referring to an old issue regarding QZ Tray not working consistently in Firefox and IE11 after switching from QZ Print due to an expired security certificate.
Possible Solutions:Ensure QZ Tray is Running
QZ Tray must be actively running before any print request is sent.
Check the system tray for the QZ Tray icon (🔵 or 🟢), or try opening it manually.
Update QZ Tray to the Latest Version
Older versions may have compatibility issues with modern browsers.
Download the latest version from: https://qz.io/download/
Use HTTPS Instead of HTTP
If your site uses HTTP, some browsers may block WebSocket connections.
Try using HTTPS and ensure your security certificate is valid.
Manually Accept Security Certificates
Open https://localhost:8181 in your browser.
Accept any security warnings and proceed.
Check WebSocket Connection
Run this in the browser console:
If it fails, check firewall settings and browser WebSocket support.
Delay Print Command Until Connection is Established
Ensure qz.websocket.connect() completes before sending the print job.
Example:
Try Chrome or Edge
Firefox and IE11 have stricter security policies that may interfere with WebSockets.
Test in Google Chrome or Microsoft Edge.
If the issue persists, check QZ Tray logs or post a question in the QZ Tray Community Forum (https://qz.io/support/). 🚀
--
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/e22917f3-1560-4b92-8e7f-71be31f615b8n%40googlegroups.com.