[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sharing a printer with SAMBA



Chris wrote:
Gday y'all,
Im trying to share a CUPS printer over samba. I can see the printer, but
when i try to print to it from a windows box i get the message "Access
Denied, Cannot connect.".

I seem to be able to print a test page from the http config tool.
This same problem hapened with lpd.

I am running Debian GNU/LINUX 3.0 (woody) with an Epson Stylus Color 600
on /dev/lp0.
I have attached my smb.conf file.

Cheers,
Chris



I struggled with this recently & finally got it working. I could never get it to print using the Windows printer drivers for my printer (an HP 960C). After reading a lot of docs & howtos, I stumbled onto a recommendation for using the "generic" postscript printer driver from ADOBE for Windows. I installed that and it started working perfectly. You might give this a try...or try one of he Postscript drivers in Windows. I know it is supposed to work the other way, but I couldn't get it going....

Your smb.conf looks reasonable, but I am not an expert. These are the difference from my smb.conf that I see:

1.  You might want to put "load printers = yes" in the [global] section.
2. I have "security = user" in my [global] section. This might affect what you are seeing because of your "valid users" line in your [printers] section. If you use "user" level security, make sure each user has an account and can access their account via a samba connection. This will take some fiddling around with the smbpasswd file. 3. I think the "printcap name" parameter should be the location of your printcap file... usually in /etc. I use the following for princap name:

printcap name = /etc/printcap.cups

4.  FYI, Here is the [printers] section from my smb.conf:

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

HTH,

Cheers,
-Don Spoon-




Reply to: