printi icon indicating copy to clipboard operation
printi copied to clipboard

Find out what happens when paper runs out/printer is disconnected

Open fonsp opened this issue 7 years ago • 2 comments

https://github.com/klirichek/zj-58 suggests that the TERM signal is sent to the program, but this might only be the case when the filter is run by CUPS.

fonsp avatar Nov 29 '18 13:11 fonsp

The /dev/usb/lp0 device remains, but writing to it blocks execution. Currently needs the Omega to reboot after replacing paper to fix buffer issues (resulting in misaligned images, and probably won't print text properly). I suspect python will throw an exception when the printer is disconnected. This behaviour is probably fine (since no images are taken from the printi queue when the paper runs out), but the buffer issue should be solved. This might be fixable with hardware (i.e. turn the omega off when there is no paper).

fonsp avatar Dec 03 '18 13:12 fonsp

Could be fixed by running PrintiClient in a daemon that restarts automatically

fonsp avatar Dec 03 '18 13:12 fonsp