Can't add printer in WinXP via IPP

Neil Smith neil at wimp.freeuk.com
Thu Oct 19 12:28:51 PDT 2006


Hi all,

I can't add a CUPS print queue to my WinXP box.  

I've got CUPS 1.1.22 running on FC3 with a printer (HP Deskjet 895) attached
to the parallel port.  Printing from the FC3 box via CUPS works fine.  I've
set up a raw printer queue for WinXP use and I've uncommented the
application/octet lines in /etc/cups/mime.convs and /etc/cups/mime.types.  

The server is called temujin.njae.me.uk (with a DNS CNAME alias of
printers.njae.me.uk).  Turning the firewall on or off makes no difference. 
There's no Samba on any machine or other CUPS servers on the network.  

The WinXP machine is up-to-date with all the updates applied.  

Firefox on the WinXP machine can open http://printers.njae.me.uk:631 and I
get the CUPS admin webpage.  I can browse through the various pages of that
fine.  I can use the admin website to print CUPS test pages, even from the
raw printer queue (at http://printers.njae.me.uk:631/printers/dj-895-raw).  

When I try to add a new printer in WinXP with the Add Printer wizard, I get
the Specify a Printer dialog, select 'Connect to a printer on the internet
or on a home or office network' and type
   http://printers.njae.me.uk:631/printers/dj-895-raw
into the edit box.  When I press 'Next', I get an error report dialog that
says:
  'Windows cannot connect to the printer.  Either the printer name was typed
incorrectly, or the specified printer has lost its connection to the
server.  For more information, click Help.'
('Help' is rather unhelpful).

I've also tried giving the printer address as:
  http://printers.njae.me.uk/printers/dj-895-raw
  http://temujin.njae.me.uk:631/printers/dj-895-raw
  http://temujin.njae.me.uk/printers/dj-895-raw
with exactly the same results

/var/log/cups/access_log shows the successful access of the WinXP machine to
the web pages, but there's nothing there to show Windows trying to find the
printer.  

The non-comment lines of /etc/cups/cupsd.conf are below.  

Any suggestions on how I can get my WinXP machines to use my CUPS printer?  

Thanks,

Neil.


----- /etc/cups/cupsd.conf ------

LogFilePerm 0600
MaxLogSize 2000000000
LogLevel info

Printcap /etc/printcap

# Port 80
# Port 443
Port 631

#Browsing On
#BrowseProtocols cups

BrowseAddress 192.168.2.255
#BrowseShortNames Yes

BrowseDeny  All
BrowseAllow 192.168.2.*
BrowseAllow @LOCAL

#BrowseInterval 30

BrowseOrder deny,allow

#BrowsePoll address:port
#BrowsePort 631
#BrowseRelay source-address destination-address
#BrowseRelay @IF(src) @IF(dst)
#BrowseTimeout 300


<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From @LOCAL
Allow From temujin
Allow From temujin.njae.me.uk
Allow From 192.168.2.*
</Location>

#<Location /classes>
#</Location>

#<Location /classes/name>
#</Location>

#<Location /jobs>
#</Location>

<Location /printers>

Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From @LOCAL
Allow From 192.168.2.*

AuthType None

</Location>

#<Location /printers/name>
#</Location>

<Location /admin>

AuthType Basic
AuthClass System

## Restrict access to LAN
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.*

#Encryption Required
</Location>






More information about the cups mailing list