CUPS appears to drop connection to LJ 3050
Ben
bwbees0 at charter.net
Mon Jan 7 12:23:59 PST 2008
Hi all,
I have CUPS version 1.3.4 installed on Fedora Core 8 with a Hewlett-
Packard LaserJet 3050 connected via USB cable to the box. I have noticed
two problems that I can't seem to figure out.
The first problem is that when printing from Linux, you *must* press the
"OK" button on the printer for every print job. If you print from
Windows or OSX (the printer is shared on my home network) the printer
prints the job with no intervention required. Tech support at HP
was unable to help, and told me that they don't support Unix or Linux for
their printers. I also can't figure out from the CUPS documents why this
might be happening although I suspect it has something to do with
verifying the media to print on. I can live with this issue since the
printer is adjacent to the Linux box that I use, but I would like to fix
it if I can.
The second and more annoying issue is that CUPS seems to "lose" the
connection to the printer from time to time. This always happens if you
turn off the power to the printer and then later turn it back on. It
also happens at other seemingly random times after you print from one
application and then try to print from another. Documents remain in the
print queue when this happens so the documents are not lost, but they
won't print until you reboot the box. I have tried un-publishing and re-
publishing the printer and also stopping and the printer from the CUPS
web interface as well as the using the administration-printing menu tool
to no avail. I have also tried restarting the cups daemon from the
services tool and also from the shell. Nothing seems to get the printer
re-connected to CUPS except for rebooting the box.
I have included some info that that the CUPS documents said may be
helpful in debugging:
********** stripped version of cupsd.conf follows here ******************
LogLevel info
SystemGroup sys root
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
DefaultAuthType Basic
<Location />
# Allow shared printing...
Order allow,deny
Allow all
</Location>
<Location /admin>
Encryption Required
# Restrict access to the admin pages...
Order allow,deny
Allow localhost
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
Allow localhost
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-
Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-
Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-
Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-
Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-
Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
*********** stripped version of cupsd.conf end here ******************
************ CUPS libraries *******************************************
[root at localhost ben]# /usr/bin/ldd /usr/sbin/cupsd
linux-gate.so.1 => (0x0012d000)
libz.so.1 => /lib/libz.so.1 (0x0012e000)
libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0x00141000)
libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0x001be000)
libpam.so.0 => /lib/libpam.so.0 (0x001f8000)
libdl.so.2 => /lib/libdl.so.2 (0x00203000)
libdbus-1.so.3 => /lib/libdbus-1.so.3 (0x00208000)
libacl.so.1 => /lib/libacl.so.1 (0x00247000)
libdns_sd.so.1 => /usr/lib/libdns_sd.so.1 (0x0024e000)
libcups.so.2 => /usr/lib/libcups.so.2 (0x00256000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00291000)
libm.so.6 => /lib/libm.so.6 (0x002aa000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x002d3000)
libaudit.so.0 => /lib/libaudit.so.0 (0x00305000)
libselinux.so.1 => /lib/libselinux.so.1 (0x0031a000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00335000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00363000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x003f6000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x0041c000)
libc.so.6 => /lib/libc.so.6 (0x0041f000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00578000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x005cd000)
liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0x005d1000)
libresolv.so.2 => /lib/libresolv.so.2 (0x005df000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x005f3000)
libssl.so.6 => /lib/libssl.so.6 (0x0060c000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x00651000)
/lib/ld-linux.so.2 (0x00110000)
libcap.so.1 => /lib/libcap.so.1 (0x00784000)
libattr.so.1 => /lib/libattr.so.1 (0x00787000)
libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x0078c000)
libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00798000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x007a8000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x007b1000)
libnsl.so.1 => /lib/libnsl.so.1 (0x007b4000)
*************** end of CUPS libraries **********************************
************** /var/log/cups/error_log **********************************
I [07/Jan/2008:10:05:42 -0800] [Job 240] Adding start banner page "none".
I [07/Jan/2008:10:05:42 -0800] [Job 240] Adding job file of type
application/postscript.
I [07/Jan/2008:10:05:42 -0800] [Job 240] Adding end banner page "none".
I [07/Jan/2008:10:05:42 -0800] [Job 240] Queued on "HP_LaserJet_3050" by
"ben".
I [07/Jan/2008:10:05:42 -0800] [Job 240] Started filter /usr/lib/cups/
filter/pstops (PID 17038)
I [07/Jan/2008:10:05:42 -0800] [Job 240] Started backend /usr/lib/cups/
backend/hp (PID 17039)
I [07/Jan/2008:10:05:52 -0800] [Job 240] Completed successfully.
I [07/Jan/2008:11:10:51 -0800] [Job 241] Adding start banner page "none".
I [07/Jan/2008:11:10:51 -0800] [Job 241] Adding job file of type
application/postscript.
I [07/Jan/2008:11:10:51 -0800] [Job 241] Adding end banner page "none".
I [07/Jan/2008:11:10:51 -0800] [Job 241] Queued on "HP_LaserJet_3050" by
"ben".
I [07/Jan/2008:11:10:51 -0800] [Job 241] Started filter /usr/lib/cups/
filter/pstops (PID 17650)
I [07/Jan/2008:11:10:51 -0800] [Job 241] Started backend /usr/lib/cups/
backend/hp (PID 17651)
I [07/Jan/2008:11:13:47 -0800] [Job 241] Canceled by "ben".
E [07/Jan/2008:11:14:12 -0800] DNSServiceRegister failed with error -65537
I [07/Jan/2008:11:14:13 -0800] Scheduler shutting down normally.
I [07/Jan/2008:11:14:13 -0800] Saving job cache file "/var/cache/cups/
job.cache"...
I [07/Jan/2008:11:16:22 -0800] Listening to :::631 (IPv6)
I [07/Jan/2008:11:16:22 -0800] Listening to 0.0.0.0:631 (IPv4)
I [07/Jan/2008:11:16:22 -0800] Listening to /var/run/cups/cups.sock
(Domain)
I [07/Jan/2008:11:16:22 -0800] Loaded configuration file "/etc/cups/
cupsd.conf"
I [07/Jan/2008:11:16:22 -0800] Using default TempDir of /var/spool/cups/
tmp...
I [07/Jan/2008:11:16:22 -0800] Configured for up to 100 clients.
I [07/Jan/2008:11:16:22 -0800] Allowing up to 100 client connections per
host.
I [07/Jan/2008:11:16:22 -0800] Using policy "default" as the default!
I [07/Jan/2008:11:16:22 -0800] Full reload is required.
I [07/Jan/2008:11:16:22 -0800] Loaded MIME database from '/etc/cups': 35
types, 38 filters...
W [07/Jan/2008:11:16:22 -0800] DNS-SD registration of
"HP_LaserJet_3050_fax" failed with -65537
I [07/Jan/2008:11:16:22 -0800] Loading job cache file "/var/cache/cups/
job.cache"...
I [07/Jan/2008:11:16:22 -0800] Full reload complete.
I [07/Jan/2008:11:16:22 -0800] Cleaning out old temporary files in "/var/
spool/cups/tmp"...
I [07/Jan/2008:11:16:22 -0800] Listening to :::631 on fd 9...
I [07/Jan/2008:11:16:22 -0800] Listening to 0.0.0.0:631 on fd 10...
I [07/Jan/2008:11:16:22 -0800] Listening to /var/run/cups/cups.sock on fd
11...
I [07/Jan/2008:11:16:22 -0800] Resuming new connection processing...
W [07/Jan/2008:11:16:22 -0800] DNS-SD registration of
"HP_LaserJet_3050_fax" failed with -65537
I [07/Jan/2008:11:27:19 -0800] [Job 242] Adding start banner page "none".
I [07/Jan/2008:11:27:19 -0800] [Job 242] Adding job file of type
application/postscript.
I [07/Jan/2008:11:27:19 -0800] [Job 242] Adding end banner page "none".
I [07/Jan/2008:11:27:19 -0800] [Job 242] Queued on "HP_LaserJet_3050" by
"ben".
I [07/Jan/2008:11:27:19 -0800] [Job 242] Started filter /usr/lib/cups/
filter/pstops (PID 2828)
I [07/Jan/2008:11:27:19 -0800] [Job 242] Started backend /usr/lib/cups/
backend/hp (PID 2829)
I [07/Jan/2008:11:27:36 -0800] [Job 242] Completed successfully.
************** end of /var/log/cups/error_log ****************************
**************** /var/log/messages ************
Jan 7 11:10:51 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
io/hpmud/
musb.c 1003: unable to open hp:/usb/HP_LaserJet_3050?serial=
MyPrinterSerialNumber
Jan 7 11:10:51 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
INFO:
open device failed; will retry in 30 seconds...
Jan 7 11:11:21 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
io/hpmud/
musb.c 1003: unable to open hp:/usb/HP_LaserJet_3050?serial=
MyPrinterSerialNumber
Jan 7 11:11:21 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
INFO:
open device failed; will retry in 30 seconds...
Jan 7 11:11:51 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
io/hpmud/
musb.c 1003: unable to open hp:/usb/HP_LaserJet_3050?serial=
MyPrinterSerialNumber
Jan 7 11:11:51 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
INFO:
open device failed; will retry in 30 seconds...
Jan 7 11:12:21 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
io/hpmud/
musb.c 1003: unable to open hp:/usb/HP_LaserJet_3050?serial=
MyPrinterSerialNumber
Jan 7 11:12:21 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
INFO:
open device failed; will retry in 30 seconds...
Jan 7 11:12:51 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
io/hpmud/
musb.c 1003: unable to open hp:/usb/HP_LaserJet_3050?serial=
MyPrinterSerialNumber
Jan 7 11:12:51 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
INFO:
open device failed; will retry in 30 seconds...
Jan 7 11:13:21 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
io/hpmud/
musb.c 1003: unable to open hp:/usb/HP_LaserJet_3050?serial=
MyPrinterSerialNumber
Jan 7 11:13:21 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
INFO:
open device failed; will retry in 30 seconds...
*************** end of /var/log/messages ****************
*************** /var/log/messages after reboot ****************
Jan 7 11:27:20 localhost HP_LaserJet_3050?serial=MyPrinterSerialNumber:
INFO:
Printing...
*************** end of /var/log/messages after reboot **************
If anybody has any ideas I would appreciate them.
Thanks in advance and Happy New Year all,
Ben
More information about the cups
mailing list