NetworkPrintingFromWinXP

Revision 5 as of 2005-07-09 20:49:20

Clear message

NetworkPrintingFromWinXP

Greetings:

Mixing Ubuntu and Windows, I was able to "Network Print" from a from a Windows XP box to an Ubuntu Workstation (local printer) by trying the following 5 steps: (these directions are slightly adapted from the FrequentlyAskedQuestions page).

1) Use the ubuntu "printing" wizard to add the local printer to your Ubuntu Workstation.

2)modify /etc/cups/cupsd.conf (you only need to modify the top level (first) Location tag because other Location tags seem to inherit permissions)

<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>
  • also set the port to listen on all interfaces (you might want to network through serial cables Sad :(

#Port 80
#Port 443
 Port 631
#
#Listen 127.0.0.1:631

3) restart the cups daemon

sudo /etc/init.d/cupsys restart

4)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

5)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