[cups.bugs] HP Color LaserJet 3600 - install fails windows
Mark Richards
mark.richards at massmicro.com
Tue Apr 1 20:14:47 PDT 2008
Working a rather frustrating problem with cups and windows xp and a
color laser jet 3600 printer.
Here's all the information. Hopefully someone can shed a little light...
yum info cups
Installed Packages
Name : cups
Arch : i386
Epoch : 1
Version: 1.3.6
Release: 2.fc8
Size : 9.9 M
Repo : installed
uname -A
2.6.24.3-50.fc8 #1 SMP Thu Mar 20 14:47:10 EDT 2008 i686 athlon i386
GNU/Linux
Clients: both linux and windowx xp sp2
Printers:
HP Laser Jet 1200 (parallel port): works great from all clients
HP color laser jet:
* Description:* HP Color LaserJet 3600 + hpijs ppd
*Printer Driver:* HP Color LaserJet 3600 Foomatic/hpijs
*Printer State:* idle, accepting jobs, published.
* Device URI:* usb://HP/Color%20LaserJet%203600
Issue: Printing from linux to the HP3600 works fine. However under
windows xp (two machines plus another in a virtual environment) we
cannot install. During the install process (after the windows drivers
are loaded) the install dialog hangs. It appears that Windows is
waiting for something from the printer (or cups) and in Bill Gates
style, the dialog never times out.
The cups error log is possibly revealing, particularly this statement:
DNS-SD registration of "HP-3600-hpijs" failed with -65537
Here's the error log (debug enabled):
I [01/Apr/2008:22:46:00 -0400] Listening to :::631 (IPv6)
I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 (IPv4)
I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock (Domain)
I [01/Apr/2008:22:46:00 -0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [01/Apr/2008:22:46:00 -0400] Using default TempDir of /var/spool/cups/tmp...
I [01/Apr/2008:22:46:00 -0400] Configured for up to 100 clients.
I [01/Apr/2008:22:46:00 -0400] Allowing up to 100 client connections per host.
I [01/Apr/2008:22:46:00 -0400] Using policy "default" as the default!
I [01/Apr/2008:22:46:00 -0400] Full reload is required.
I [01/Apr/2008:22:46:00 -0400] Loaded MIME database from '/etc/cups': 35 types, 38 filters...
D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-hpijs...
W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537
D [01/Apr/2008:22:46:00 -0400] Loading printer HP-3600-RAW...
D [01/Apr/2008:22:46:00 -0400] Loading printer HPLJ1200...
E [01/Apr/2008:22:46:00 -0400] cupsdSetPrinterAttrs: Unable to get printer context
I [01/Apr/2008:22:46:00 -0400] Loading job cache file "/var/cache/cups/job.cache"...
D [01/Apr/2008:22:46:00 -0400] [Job 4] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 5] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 6] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 7] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 8] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 9] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 10] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 11] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 12] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 13] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 14] Loading from cache...
D [01/Apr/2008:22:46:00 -0400] [Job 15] Loading from cache...
I [01/Apr/2008:22:46:00 -0400] Full reload complete.
I [01/Apr/2008:22:46:00 -0400] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [01/Apr/2008:22:46:00 -0400] Listening to :::631 on fd 14...
I [01/Apr/2008:22:46:00 -0400] Listening to 0.0.0.0:631 on fd 15...
I [01/Apr/2008:22:46:00 -0400] Listening to /var/run/cups/cups.sock on fd 16...
I [01/Apr/2008:22:46:00 -0400] Resuming new connection processing...
W [01/Apr/2008:22:46:00 -0400] DNS-SD registration of "HP-3600-hpijs" failed with -65537
D [01/Apr/2008:22:46:00 -0400] Report: clients=0
D [01/Apr/2008:22:46:00 -0400] Report: jobs=12
D [01/Apr/2008:22:46:00 -0400] Report: jobs-active=0
D [01/Apr/2008:22:46:00 -0400] Report: printers=3
D [01/Apr/2008:22:46:00 -0400] Report: printers-implicit=0
D [01/Apr/2008:22:46:00 -0400] Report: stringpool-string-count=529
D [01/Apr/2008:22:46:00 -0400] Report: stringpool-alloc-bytes=8008
D [01/Apr/2008:22:46:00 -0400] Report: stringpool-total-bytes=10744
D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost...
D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = 192.168.1.20...
D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "lo" = localhost...
D [01/Apr/2008:22:46:01 -0400] cupsdNetIFUpdate: "eth0" = fe80::226:54ff:fe14:31f9%eth0...
D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: skipping getpeercon()
D [01/Apr/2008:22:46:02 -0400] cupsdAcceptClient: 20 from localhost (Domain)
D [01/Apr/2008:22:46:02 -0400] cupsdReadClient: 20 POST /printers/ HTTP/1.1
D [01/Apr/2008:22:46:02 -0400] cupsdAuthorize: No authentication data provided.
D [01/Apr/2008:22:46:02 -0400] CUPS-Get-Printers
D [01/Apr/2008:22:46:02 -0400] cupsdProcessIPPRequest: 20 status_code=0 (successful-ok)
The cups.conf file reads:
# Show troubleshooting information in error_log.
LogLevel debug
SystemGroup sys root
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
Allow 192.168.1.0/24
# Allow shared printing and remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin>
# Allow remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Allow remote access to the configuration files...
Order allow,deny
Allow @LOCAL
</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 CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
I've read a bit about DNS-SD and assume that this support is available
in Cups. There was some mention of a workaround in Ubuntu using sudo
aa-complain cupsd but this is apparently not applicable to our
distribution.
Any thoughts?
More information about the cups-devel
mailing list