Comment 42 for bug 420015

Revision history for this message
Eric B (ebischoff) wrote :

ilna : killing the print job and resuming the printer does not help. Only killing the process named "usb://EPSON something" helps. The print job disappears from the print queue cleanly then.

It really looks like CUPS does not close some socket it is writing on after printing, so the usb process does not terminate, and prevents further printing.

I have a workaround that helps me work normally :
===========================
#! /bin/bash

/bin/kill -9 $(/bin/ps aux | /bin/grep usb:// | /bin/grep -v grep | /usr/bin/awk '{print $2}')
===========================

and I am running this every minute from a crontab.

This is a DANGEROUS AND UGLY hack, not a real solution. Use it at your own risks.