Comment 21 for bug 1258919

Revision history for this message
boblinux (robert-grasso) wrote :

Now, about https://wiki.ubuntu.com/DebuggingPrintingProblems and the section "USB printer does not print or prints garbage" (I guess I already went through this before posting) :

btw, the system's current state is :
- cups service stopped
- usblp reloaded, so that I could have /dev/usb/lp0 in order to run the tests I posted previously. So I

modprobe -r usblp

but then

service cups start seems to start, but lpstat -t does not return ? So I restopped cups, reloaded usblp, restarted cups, and this time lpstat -t returned ? But you rely on libusb now ? weird, weird ? anyway, I am running the tests below with cups enabled and usblp loaded - just to be accurate.

1 - HP Desjet 710C, no network connection
2 :
  * cancel -a : done
  * lpadmin -p HP_DESKJET_710C -o usb-unidir-default=true : done
  * lp lines.ps (containing 56 lines) : I am remembering, I already ran this test : it fails, the printing stops some lines before the last one - it is not always the same (random)
  * lpadmin -p HP_DESKJET_710C -R usb-unidir-default : done

BTW, here I have (as after each printing) :

root@rubedo:~# lpstat -t
scheduler is running
system default destination: HP_DESKJET_710C
device for HP_DESKJET_710C: usb://HP/DESKJET%20710C
HP_DESKJET_710C accepting requests since Mon 23 Dec 2013 08:21:00 PM CET
printer HP_DESKJET_710C is idle. enabled since Mon 23 Dec 2013 08:21:00 PM CET
        Sending data to printer.

so before running the last test I am restarting cups :

root@rubedo:~# service cups restart
cups stop/waiting
cups start/running, process 9756
root@rubedo:~# lpstat -t
scheduler is running
system default destination: HP_DESKJET_710C
device for HP_DESKJET_710C: usb://HP/DESKJET%20710C
HP_DESKJET_710C accepting requests since Mon 23 Dec 2013 08:21:00 PM CET
printer HP_DESKJET_710C is idle. enabled since Mon 23 Dec 2013 08:21:00 PM CET

clean !

3 :
  * no need for cancel -a, the queue is empty, cups has been reset
  * lpadmin -p HP_DESKJET_710C -o usb-no-reattach-default=true : done
  * lp lines.ps : no way ! it stopped at line #54 (as the previous test did)
  * lpadmin -p HP_DESKJET_710C -R usb-no-reattach-default