Ok. I edited jetpipe:

            self.device.write(data)
            if self.devicetype == 'P':
                try:
                    self.device.flush()                              # parallel 
device
                except device.error, msg:
                    print "error flush(): ", msg

And now switching off printer is not causing jetpipe to crash. But also
i don't see my print "error flush(): ", msg. I not python programmer, so
if anybody can help me to fix this bug in jetpipe - fill free.

Users in our office often switch off printer device, when it starts to
print wrong document, and after switching on it stops print anything. So
this bug should be solved. :)

-- 
jaunty ltsp - Usb printer local - not print
https://bugs.launchpad.net/bugs/398238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to