Windows networking

From Danleff Wiki
Jump to: navigation, search

--Danleff 04:25, 2 November 2013 (PDT)

  • Printing from windows 7 to a printer connected to Ubuntu 9.10 server

Got it working via CUPS. Here's what I had to do:

1- in /etc/samba/smb.conf ensure the following was uncommented in the PRINTING section in [global]

load printers = yes printing = cups printcap name = cups

added the following to [printers]

use client driver = Yes

2- restarted samba: sudo /etc/init.d/samba restart

Remote Assistance

On the Win7 client

- Add a printer->Networked printer - for the location, specified the printer via CUPS http. So in the location box, where UBUNTU is the hostname of the printer that's shared, and the shared name of my printer (Epson C120)

http://ubuntu:631/printers/Epson_C120

You can determine the shared name of your CUPS printer by going to your UBUNTU host that's sharing the printer, specifying the following URL: http://localhost:631

Go to the PRINTERS tab, point to the queue name of the queue name of the printer that's shared, rt-click and display properties. This is the URL that will be used on your Win7 printer location, except "localhost" will be replaced with the hostname of your ubuntu host (in my case, "ubuntu").

- specify print driver to use on your Win7 machine and print a test page