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

Luca Capello luca at pca.it
Mon Mar 23 17:08:35 UTC 2009


tags 517162 + patch
thanks

Hi Raj!

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:
=====
irlab at r-abraham:~$ dpkg -s foo2zjs | grep Version
Version: 20090301dfsg-2

irlab at r-abraham:~$ dpkg -L foo2zjs | grep hplj
/etc/udev/rules.d/11-hplj10xx.rules
/usr/share/applications/hplj1020.desktop
/usr/share/foo2zjs/hplj10xx_gui.tcl
/usr/share/foo2zjs/hplj1020_icon.gif
/usr/sbin/hplj1000
/usr/sbin/hplj1005
/usr/sbin/hplj1018
/usr/sbin/hplj1020

irlab at r-abraham:~$
=====

Have you ever manually installed foo2zjs from upstream sources?

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

FYI, the helper program is only one (hplj1000) and it acts differently
according to the name it is called by.  This obliges us to provide a
different link for every printer supported, while a better solution
would be a single program taking the printer as the first parameter.

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/foo2zjs-maintainer/attachments/20090323/651c43ac/attachment.pgp 


More information about the Foo2zjs-maintainer mailing list