[Foo2zjs-maintainer] Bug#517162: Bug#517162: foo2zjs: Completed print jobs not deleted from queue on P1007

Raj Mathur raju at linux-delhi.org
Tue Mar 24 04:09:24 UTC 2009


On Monday 23 Mar 2009, Luca Capello wrote:
> tags 517162 + patch
> On Mon, 23 Mar 2009 14:01:49 +0100, Raj Mathur wrote:
> > On Monday 23 Mar 2009, Luca Capello wrote:
> >> On Thu, 26 Feb 2009 04:42:03 +0100, Raj Mathur wrote:
> >> > Version: 20070718dfsg-9
> >> > Print job does not get removed after printing completes using an
> >> > HP P1007 Laserjet printer through USB.  Other jobs are stuck
> >> > until this one is manually deleted -- after deletion the next
> >> > job continues normally, until it completes and has to be
> >> > manually deleted too.
> >>
> >> Can you test if this bug is still present with the latest version
> >> from unstable, i.e. version 20090301dfsg-2, please?
> >
> > Tried with that, which overwrote
> > /etc/udev/rules.d/11-hplj10xx.rules . After that, the print jobs
> > get made and terminated, but the printer doesn't print :)
> >
> > When I reinstall the 11-hplj10xx.rules that I was using originally
> > (attached) with the new version of the package, the printer prints
> > but the problem returns (jobs remain in queue).
> >
> > Not an expert on printers and their drivers, but the new rules file
> > doesn't seem to be downloading the firmware onto the printer at
> > powerup, whereas the old one does.
>
> First of all, it seems you have a mixed installation and not a clean
> one, since the Debian package does not provide anything in
> /etc/hotplug:
> [snip]
> Have you ever manually installed foo2zjs from upstream sources?

Yes, I did.  When I first got the printer I installed foo2zjs from 
source (last entry from ChangeLog: 2008-12-07      Rick Richardson 
<rick.richardson at comcast.net>).  However I'd subsequently replaced with 
the Debian packaged version.  Looks like all the files from the source 
compiled package didn't get overwritten, sorry about that.  Had also 
made changes manually to 11-hplj10xx.rules AFAIR.

I'll have to spend time and track down each file the source packaged 
installed and remove it manually if it's not there in the Debian 
package.

> However, the real problem is actually another one: the udev rules
> file expects various program in /usr/sbin:
> =====
> irlab at r-abraham:~$ grep sbin /etc/udev/rules.d/11-hplj10xx.rules
>         SYMLINK+="hplj1000-%n", MODE="0666",
> RUN+="/usr/sbin/hplj1000" SYMLINK+="hplj1005-%n", MODE="0666",
> RUN+="/usr/sbin/hplj1005" SYMLINK+="hplj1018-%n", MODE="0666",
> RUN+="/usr/sbin/hplj1018" SYMLINK+="hplj1020-%n", MODE="0666",
> RUN+="/usr/sbin/hplj1020" SYMLINK+="hpljP1005-%n", MODE="0666",
> RUN+="/usr/sbin/hpljP1005" SYMLINK+="hpljP1006-%n", MODE="0666",
> RUN+="/usr/sbin/hpljP1006" SYMLINK+="hpljP1007-%n", MODE="0666",
> RUN+="/usr/sbin/hpljP1007" SYMLINK+="hpljP1008-%n", MODE="0666",
> RUN+="/usr/sbin/hpljP1008" SYMLINK+="hpljP1505-%n", MODE="0666",
> RUN+="/usr/sbin/hpljP1505" irlab at r-abraham:~$
> =====
>
> However, the Debian package ships only the first fourth of them, thus
> the firmware for any P* model cannot be loaded because the helper
> program is missing.  Can you please try the udev rules file included
> in the Debian package, after having launched the following commands
> as root?
>
>   # cd /usr/sbin/
>   # ln -s hplj1000 hpljP1007

Done that and the printer prints again with the new 11-hplj10xx.rules 
from the Debian package, with the same problem (print job persists).  
Could this be because of some files still lying around from the manual 
installation?  If that is a possibility, then give me a couple of days 
to clean those up, reinstall the Debian package from scratch and test.

Regards,

-- Raju
-- 
Raj Mathur                raju at kandalaya.org      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves





More information about the Foo2zjs-maintainer mailing list