Sharing a printer under Samba

Mark Roach mrroach at okmaybe.com
Mon Jan 10 03:44:48 UTC 2005


On Sun, 2005-01-09 at 19:45 +0000, Neil Woolford wrote:
> While my Samba networking allows me to move and share files, I haven't
> yet managed to get the printer on my Ubuntu box visible to the laptop
> under Windows 98SE.
> 
> Could anyone direct me to a good howto or faq for sharing printers via
> Samba - I haven't managed to find one myself yet.

If you are using cups, it is pretty easy, just make sure your [global]
section contains the following

   load printers = yes
   printing = cups
   printcap name = cups

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

You can then check that they are shared by running "net rpc -S
servername printer list"

HTH

-Mark





More information about the ubuntu-users mailing list