-
Notifications
You must be signed in to change notification settings - Fork 281
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
Unable to Print to Printer Until Kills Java #1257
Comments
Thanks for the detailed report. My initial observations...
|
Oh... and this one is just a "have you turned your computer off and back on again" recommendation, but nothing has caused more grief in my modern troubleshooting life than pending windows updates that haven't been applied and worn bits on an SSD hard drive, so as a general rule of thumb, before I go insane, I do a |
@tresf Many thanks for the above For clarity, this issue happens at bootup (and we've rebooted a lot of times when trying to figure this one out), once Java is killed, everything is fine. The label printer also continues working after the exception, without needing to restart/reload QZ Have also tried doing a full factory reset on the PC, but the issue didn't disappear We have tried using the IPP driver but will also look to see if we can use a different Kyocera driver as well (and will try to completely remove the existing one too) Will also give print to PDF a try |
Can you describe the symptom in more detail? I'm not sure that I understand. The original bug report show the websocket closure occuring fractions of a second after a print occurs. I assume when you say "Happens at bootup", what you're describing is:
Is this correct? Furthermore, if you wait long enough, does it eventually crash on its own? Are there any other symptoms that would suggest that QZ Tray is still performing any type of operation (CPU, ram, etc?). You've peaked my interest. We did have an oddball issue where 3rd party apps caused troubles paired with QZ Tray (it has a group policy to do JVM enforcement and we were being punished). In the case of one, it was using some advanced techniques to affect DLL search and load order. If something similar is happening on your machine (an incorrect DLL is being confused at startup) it may explain the odd behavior. This is just a shot in the dark. Another shot in the dark is to see if something is stealing port 8181. We try to fallback on 8282 if 8181 is already taken, but perhaps something is breaking in this process. |
@tresf just to give you an update, we played around with various drivers and have found one that doesn't seem to cause the issue :)
Yes, this is what was happening (loading on startup) in both versions
It didn't crash per se, it just refused to print (by the print job being deleted without us doing anything) to the printer until Java was killed and QZ was re-opened; printing to a Zebra label printer via QZ tray worked just fine Didn't spot any obvious CPU/RAM spikes when attempting to print |
@FinishingLine thanks for the detailed explanation. Is this still happening and something you believe requires a remote session to escalate, or do you plan on considering this an edge-case issue that we can close and revist at a later time? |
Strange one ... we have the same setup on several PCs (the PCs are all the same) with the same "normal" printer (on all but one) as well as a Zebra label printer
We have QZ loading just fine in the background and can print to the label printer as well with no issue, however, if we try printing to a "normal" printer, nothing comes out the printer (it appears like the job gets created but then is subsequently deleted)
Everything was working fine previously, though this issue just started on one computer and we also just changed the printers on the one that had a different printer so that everything was the same, but since doing that the issue seems to also now affect that one as well
Have tried both 2.1.1 (which we had originally) and also the latest 2.2.4-snapshot version
On the latest snapshot version of QZ, looking at the debug logs have spotted the below:
I'm wondering if the exception is the reason?
When trying a different brand printer, the same happens, though this particular printer starts whirling like its about to print, but then the job gets cancelled and it just stops
The strange thing is; once we kill Java via Task Manager and re-open QZ, everything starts working fine for the "normal" printer (and the label printer continues to works as it did before)
Originally wondered if this was something to do with a Windows Update, but if that then the other machines should have the same issue
The text was updated successfully, but these errors were encountered: