printing from windows XP through CUPS linux printer

Kurt Pfeifle kurt.pfeifle at infotec.com
Tue Jun 5 00:44:59 PDT 2007


> Hello Gurus,
>  I have configured CUPS to a USB attached printer in fedora and is
>  working fine from that machine..
>  Now I want to configure this printer from windows XP system
>  also..this is also in the same network.
>  when googled found that from windows XP with out samba it cannot
>  talk to linux CUPS.

Not completely true. Windows XP clients can talk IPP 1.0 (not IPP 1.1) to a CUPS server

>  If I give the URL http://172.16.4.38:631/printers/cfgprinter/

You probably need to leave off the trailing "/" from that URI.

> it is asking for login and passwd which i did not understand..

IPP 1.0 does not define any authentication, only 1.1 does.

You have to grant access to anybody, without authentication to
your "cfgprinter". Maybe with a cupsd.conf section like this:

  <Location /printers/cfgprinter>
     AuthType None
     Order Deny,Allow
     Deny From None
     Allow From All
  </Location>

To get some limited, IP-address based access control, you may want to
try this variation:

  <Location /printers/cfgprinter>
     AuthType None
     Order Deny,Allow
     Deny From All
     Allow From 192.168.33.142
     Allow From 192.168.33.44
     Allow From 10.162.3.*
     [...]
  </Location>

where the "Allow From ..." lines list all allowed client IP addresses
(with some wildcards allowed).

>  pls help me in configuring windows xp system to print thru
> linux CUPS with out samba..
>
>  thanks
>  Geetha


Cheers,
Kurt

--
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH - A RICOH Company .......... Stuttgart/Germany






More information about the cups mailing list