You are not logged in.

#1 2011-02-14 17:17:48

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Cups / HP Laserjet 4200 network printer

Cups can get on my nerves bigtime.

at first, I just installed cups, and soffice (libreoffice) would , in the 'print dialog' show me a bunch of network printers it found, but when i printed to any of them,
the job would just stick to 'in process' in the cups webinterface, even though the printer was idle.

I then installed hplip 3.11.1-1, hpoj 0.91-15, avahi and a whole bunch of other packages:

[2011-02-14 16:27] Running 'pacman -S hplip'
[2011-02-14 16:28] installed foomatic-db (4.0.6_20101215-1)
[2011-02-14 16:28] installed foomatic-filters (4.0.6_20101215-1)
[2011-02-14 16:28] installed foomatic-db-engine (4.0.6_20101215-1)
[2011-02-14 16:28] installed net-snmp (5.5-7)
[2011-02-14 16:28] 
[2011-02-14 16:28] NOTE
[2011-02-14 16:28] ----
[2011-02-14 16:28] # If you want to use this driver with sane:
[2011-02-14 16:28] #  echo "hpaio" >> /etc/sane.d/dll.conf
[2011-02-14 16:28] 
[2011-02-14 16:28] installed hplip (3.11.1-1)
[2011-02-14 16:34] Running 'pacman -S samba'[2011-02-14 16:27] Running 'pacman -S hplip'
[2011-02-14 16:28] installed foomatic-db (4.0.6_20101215-1)
[2011-02-14 16:28] installed foomatic-filters (4.0.6_20101215-1)
[2011-02-14 16:28] installed foomatic-db-engine (4.0.6_20101215-1)
[2011-02-14 16:28] installed net-snmp (5.5-7)
[2011-02-14 16:28] 
[2011-02-14 16:28] NOTE
[2011-02-14 16:28] ----
[2011-02-14 16:28] # If you want to use this driver with sane:
[2011-02-14 16:28] #  echo "hpaio" >> /etc/sane.d/dll.conf
[2011-02-14 16:28] 
[2011-02-14 16:28] installed hplip (3.11.1-1)
[2011-02-14 16:34] Running 'pacman -S samba'
[2011-02-14 16:34] installed libgssglue (0.1-3)
[2011-02-14 16:34] installed libtirpc (0.2.1-2)
[2011-02-14 16:34] installed rpcbind (0.2.0-3)
[2011-02-14 16:34] installed fam (2.7.0-14)
[2011-02-14 16:34] installed samba (3.5.6-1)
[2011-02-14 17:30] Running 'pacman -S cups ghostscript gsfonts'
[2011-02-14 17:30] upgraded cups (1.4.6-1 -> 1.4.6-1)
[2011-02-14 17:30] upgraded ghostscript (9.00-4 -> 9.00-4)
[2011-02-14 17:31] Updating font cache... done.
[2011-02-14 17:31] installed gsfonts (1.0.7pre44-2)
[2011-02-14 17:31] Running 'pacman -S foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters'
[2011-02-14 17:31] upgraded foomatic-db (4.0.6_20101215-1 -> 4.0.6_20101215-1)
[2011-02-14 17:31] upgraded foomatic-filters (4.0.6_20101215-1 -> 4.0.6_20101215-1)
[2011-02-14 17:31] upgraded foomatic-db-engine (4.0.6_20101215-1 -> 4.0.6_20101215-1)
[2011-02-14 17:31] installed foomatic-db-nonfree (4.0.6_20101215-1)
[2011-02-14 17:32] Running 'pacman -S gutenprint foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters hplip splix ufr2 cups-pdf'
[2011-02-14 17:34] Running 'pacman -S hpoj'
[2011-02-14 17:34] ==> To get the HP-Officejet working run as root: ptal-init setup
[2011-02-14 17:34] ==> Add ptal-init to /etc/rc.conf daemon list and place it before cups is started!
[2011-02-14 17:34] ==> To access scanner enable in /etc/sane.d/dll.conf hpoj line.
[2011-02-14 17:34] installed hpoj (0.91-15)
[2011-02-14 17:46] Running 'pacman -S avahi nss-mdns'
[2011-02-14 17:46] upgraded avahi (0.6.28-1 -> 0.6.28-1)
[2011-02-14 17:46] ==> To enable IPv4 multicast DNS lookups, append 'mdns4' to the hosts line
[2011-02-14 17:46]     in /etc/nsswitch.conf. Use 'mdns6' for IPv6 or 'mdns' for both.
[2011-02-14 17:46] installed nss-mdns (0.10-2)

[2011-02-14 16:34] installed libgssglue (0.1-3)
[2011-02-14 16:34] installed libtirpc (0.2.1-2)
[2011-02-14 16:34] installed rpcbind (0.2.0-3)
[2011-02-14 16:34] installed fam (2.7.0-14)
[2011-02-14 16:34] installed samba (3.5.6-1)
[2011-02-14 17:30] Running 'pacman -S cups ghostscript gsfonts'
[2011-02-14 17:30] upgraded cups (1.4.6-1 -> 1.4.6-1)
[2011-02-14 17:30] upgraded ghostscript (9.00-4 -> 9.00-4)
[2011-02-14 17:31] Updating font cache... done.
[2011-02-14 17:31] installed gsfonts (1.0.7pre44-2)
[2011-02-14 17:31] Running 'pacman -S foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters'
[2011-02-14 17:31] upgraded foomatic-db (4.0.6_20101215-1 -> 4.0.6_20101215-1)
[2011-02-14 17:31] upgraded foomatic-filters (4.0.6_20101215-1 -> 4.0.6_20101215-1)
[2011-02-14 17:31] upgraded foomatic-db-engine (4.0.6_20101215-1 -> 4.0.6_20101215-1)
[2011-02-14 17:31] installed foomatic-db-nonfree (4.0.6_20101215-1)
[2011-02-14 17:32] Running 'pacman -S gutenprint foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters hplip splix ufr2 cups-pdf'
[2011-02-14 17:34] Running 'pacman -S hpoj'
[2011-02-14 17:34] ==> To get the HP-Officejet working run as root: ptal-init setup
[2011-02-14 17:34] ==> Add ptal-init to /etc/rc.conf daemon list and place it before cups is started!
[2011-02-14 17:34] ==> To access scanner enable in /etc/sane.d/dll.conf hpoj line.
[2011-02-14 17:34] installed hpoj (0.91-15)
[2011-02-14 17:46] Running 'pacman -S avahi nss-mdns'
[2011-02-14 17:46] upgraded avahi (0.6.28-1 -> 0.6.28-1)
[2011-02-14 17:46] ==> To enable IPv4 multicast DNS lookups, append 'mdns4' to the hosts line
[2011-02-14 17:46]     in /etc/nsswitch.conf. Use 'mdns6' for IPv6 or 'mdns' for both.
[2011-02-14 17:46] installed nss-mdns (0.10-2)

however, now the printers don't show up anymore in soffice, nor in the webinterface.  *sometimes* when I search for printers, it will show them, but not always.
and when it shows them, it only shows the model and type, not the human assigned name/description (which I saw at first)

18:15:10 dieter@Gi ~ ps aux | egrep 'avahi-daemon|cups|dbus'                                                                                                                                                    1 ↵
dbus      3250  0.0  0.0  12908   960 ?        Ss   17:53   0:00 /usr/bin/dbus-daemon --system
avahi     3264  0.0  0.0  29832  1596 ?        S    17:53   0:00 avahi-daemon: running [gibran.local]
avahi     3265  0.0  0.0  29576   424 ?        S    17:53   0:00 avahi-daemon: chroot helper
root      3274  0.0  0.0  79872  3496 ?        Ss   17:53   0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
dieter    3322  0.0  0.0  19844   544 ?        S    17:53   0:00 dbus-launch --autolaunch 57268404aa6c45d55d1fe94700000389 --binary-syntax --close-stderr
dieter    3323  0.0  0.0  12908  1064 ?        Ss   17:53   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
dieter    4629  0.0  0.0   6020   976 pts/2    S+   18:15   0:00 egrep avahi-daemon|cups|dbus

Add to that the fact that even though I go to localhost:631 or 127.0.0.1:631, cups generates links to my external ip, which is the interface cups doesn't listen on.
painful!

my cups config is default, error logfile contains:

18:16:58 dieter@Gi ~ grep -v ^D /var/log/cups/error_log | grep -v ^I
E [14/Feb/2011:16:19:55 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [14/Feb/2011:16:30:02 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [14/Feb/2011:16:35:55 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [14/Feb/2011:17:02:22 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [14/Feb/2011:17:09:11 +0100] [CGI] Unable to create avahi client: No such file or directory
E [14/Feb/2011:17:09:11 +0100] [cups-deviced] PID 25026 (dnssd) stopped with status 1!
E [14/Feb/2011:17:09:33 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [14/Feb/2011:17:24:26 +0100] [Job 2] Unable to queue job for destination "ipp://157.193.135.100:631/printers/PRINTER_3THFLOOR"!
E [14/Feb/2011:17:24:26 +0100] [Job 1] Unable to queue job for destination "ipp://157.193.135.100:631/printers/PRINTER_3THFLOOR"!
E [14/Feb/2011:17:24:26 +0100] [Job 3] Unable to queue job for destination "ipp://157.193.135.100:631/printers/Oce-3165"!
E [14/Feb/2011:17:24:26 +0100] [Job 4] Unable to queue job for destination "ipp://157.193.135.100:631/printers/PRINTER_3THFLOOR"!
E [14/Feb/2011:17:24:26 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [14/Feb/2011:17:34:19 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [14/Feb/2011:17:35:10 +0100] [CGI] Unable to create avahi client: No such file or directory
E [14/Feb/2011:17:35:10 +0100] [cups-deviced] PID 26255 (dnssd) stopped with status 1!
E [14/Feb/2011:17:35:19 +0100] [CGI] Unable to create avahi client: No such file or directory
E [14/Feb/2011:17:35:19 +0100] [cups-deviced] PID 26282 (dnssd) stopped with status 1!
E [14/Feb/2011:17:48:35 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [14/Feb/2011:17:53:39 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported

those errors are from *before* I installed avahi, after installing avahi I can't even select the printer :x


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#2 2011-02-15 09:10:21

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Cups / HP Laserjet 4200 network printer

a bit more info: after a reboot i somehow magically see the printers again (both in the webinterface and in soffice), but when I send it a print job, I notice the printer status is

Idle - "Connecting to printer..."

so maybe this is some kind of networking problem? weirdly enough location is set to "location unknown" so I cannot do a ping test.
and the only errors in the logfile are "SSL shutdown failed: Error in the push function" (probably because of using https on the webinterface), so I'm clueless


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#3 2011-02-15 10:59:39

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Cups / HP Laserjet 4200 network printer

most of my problems are solved.  there was some bad network cabling, and some users added the printer and then published it through avahi/zeroconf , causing the printer to show up multiple times, often in broken configurations :roll:
adding the printer manually seems to have resolved most of my issues (other then that some apps - like epdfview - can take a minute or so before they show the printing dialog)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB