I have a weird issue where the receipt printer connected to the pi keeps "losing connection" if the pi is rebooted, and what I've noticed is that when that happens, and then I try to add a new printer, I would either see the printer listed as either "Unknown" or "80Series2..."
So say I add the printer while it shows "Unknown", it works perfectly, but after reboot, or sometimes if I unplug the USB cable and plug it back...the printer can then show up as "80Series2..."
Now if I add it as "80Series2..." it works perfectly, but then if perform a reboot or unplug the usb cable and plug it back in...it can now show "Unknown"
It's very inconsistent and I can never tell if it will show "Unknown" or "80Series2..."
Here is a screenshot showing a command I ran to find connected printers via USB and as you can see, this same printer showed up with different URIs even though all that happened was unplugging the USB cable and plugin it back in and running the command again:
I have tried using another receipt printer of the exact same make and model and the issue still occurs. I have tried different printer cables. I can't figure out why it happens.
I am using the Zijiang printer driver that a lot of people have success with: https://github.com/klirichek/zj-58 the driver works fine and the print and cutter works fine, but I'm not sure why the printer keeps coming up with different URIs...causing the print to just be stuck inside the queue.
Any help or insight would be greatly appreciated...even if it's one where I can somehow force the pi to always set and use the same Device URI whenever the printer is connected to it
So say I add the printer while it shows "Unknown", it works perfectly, but after reboot, or sometimes if I unplug the USB cable and plug it back...the printer can then show up as "80Series2..."
Now if I add it as "80Series2..." it works perfectly, but then if perform a reboot or unplug the usb cable and plug it back in...it can now show "Unknown"
It's very inconsistent and I can never tell if it will show "Unknown" or "80Series2..."
Here is a screenshot showing a command I ran to find connected printers via USB and as you can see, this same printer showed up with different URIs even though all that happened was unplugging the USB cable and plugin it back in and running the command again:
I have tried using another receipt printer of the exact same make and model and the issue still occurs. I have tried different printer cables. I can't figure out why it happens.
I am using the Zijiang printer driver that a lot of people have success with: https://github.com/klirichek/zj-58 the driver works fine and the print and cutter works fine, but I'm not sure why the printer keeps coming up with different URIs...causing the print to just be stuck inside the queue.
Any help or insight would be greatly appreciated...even if it's one where I can somehow force the pi to always set and use the same Device URI whenever the printer is connected to it
Statistics: Posted by uvdev — Tue Aug 20, 2024 10:38 pm