NetworkPrintingFromWinXP

Differences between revisions 2 and 3
Revision 2 as of 2005-07-09 03:38:35
Size: 785
Editor: c-67-184-227-148
Comment:
Revision 3 as of 2005-07-09 20:29:56
Size: 952
Editor: c-67-184-227-148
Comment:
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:

4)add the printer using the Windows XP "add printer" wizard and use the following url for the network connection
{{{
http://ubuntu:631/printers/DeskJet-940C
}}}

NetworkPrintingFromWinXP

Greetings:

I was able to connect to a printer from a Windows XP box to an Ubuntu server running CUPS (IPP) by doing the following three steps: (the [FrequentlyAskedQuestions] page seems to be missing step 3.)

1)modify /etc/cups/cupsd.conf (modify the / tag because the drilled(sub-tags) seem to be inherited)

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
#the line below allows access to the LAN subnet :)
Allow From 192.168.1.*
</Location>

2) restart the cups daemon

sudo /etc/init.d/cupsys restart

3)modify C:\WINDOWS\system32\drivers\etc\hosts (Win XP wont recognize the IP address so you need to map the ubuntu hostname to it.)

127.0.0.1       localhost
192.168.1.100   ubuntu

4)add the printer using the Windows XP "add printer" wizard and use the following url for the network connection

http://ubuntu:631/printers/DeskJet-940C

NetworkPrintingFromWinXP (last edited 2008-08-06 16:14:10 by localhost)