I recently attempted to setup my Windows XP laptop to connect to my Gentoo system's local HP LaserJet printer using IPP. My first stop was to check the Gentoo Printing Guide, where I found chapter 6 "Printing From and To Microsoft Windows". I would like to add information to this section in the hopes of saving someone else the trouble I had getting my setup to work properly. I found that I had to make several modifications to the /etc/cups/cupsd.conf file that were not clearly documented, or would be easily understood by someone new to Gentoo/Linux. I used the following steps: How to share a CUPS printer using IPP for Windows XP 1.) Edit /etc/cups/cupsd.conf Uncomment and configure the following line options: a.)ServerName <192.168.0.2> By defult CUPS uses the hostname, by supplying the IP address you can avoid editing the hosts file on each client Windows machine. In this example my gentoo linux host IP is 192.168.0.2, as assigned by my router/firewall. b.)BrowseAddress <192.168.0.255> By default CUPS browsing is disabled. c.)Allow From 192.168.0.* After the "Allow From 127.0.0.1" comment add a line allowing an IP other that the local system to connect to CUPS. In this example I have allowed any IP on my local subnet. 2.) Restart cupsd a.) /etc/init.d/cupsd restart 3.) Configure Windows a.) Add Printer Wizard b.) Select "Network Printer" c.) In the URL field input: http://192.168.0.2:631/printers/<queue> In the above example <queue> is the name CUPS uses to identify your printer. I would be interested to know what you think about adding these steps. Thanks, Joe
(In reply to comment #0) > 1.) Edit /etc/cups/cupsd.conf > Uncomment and configure the following line options: > > a.)ServerName <192.168.0.2> > By defult CUPS uses the hostname, by supplying the IP address you can avoid > editing the hosts file on each client Windows machine. In this example my > gentoo linux host IP is 192.168.0.2, as assigned by my router/firewall. > > b.)BrowseAddress <192.168.0.255> > By default CUPS browsing is disabled. > > c.)Allow From 192.168.0.* > After the "Allow From 127.0.0.1" comment add a line allowing an IP other > that the local system to connect to CUPS. In this example I have allowed any > IP on my local subnet. You need to go back and read Chapter 3 of the guide; this is already in there: http://www.gentoo.org/doc/en/printing-howto.xml#doc_chap3 > 2.) Restart cupsd > a.) /etc/init.d/cupsd restart No need; there's already a cupsd restart at the end of Chapter 3. > 3.) Configure Windows > a.) Add Printer Wizard > b.) Select "Network Printer" > c.) In the URL field input: http://192.168.0.2:631/printers/<queue> > In the above example <queue> is the name CUPS uses to identify your > printer. That's already in Chapter 6. Please read it more carefully! What you suggest is already implemented almost verbatim.
Closing for reasons listed; there's nothing that the doc doesn't already have in it. Thanks for reporting, though.