On Wednesday 01 January 2003 00:24, Josh Trutwin wrote:
Dear all.
I have a box, running SuSE 8.1 and serving as a print server for windows clients, of cource, running CUPS and SAMBA. Of cource, I have "printing=cups" enabled in smb.conf, and the common [printers] section. , and all windows clients use my CUPS printers well. But i have one problem: I cannot access the CUPS classes unless i specify them explicitly as printing shares in smb.conf. does anybody else suffer from this?
Vitaly,
To share my CUPS printers over samba, I had the following in my smb.conf:
[global] <snip> printing = cups printcap = cups printcap name = cups [printers] path = /var/spool/samba browsable = no public = yes guest ok = yes writable = no printable = yes printer admin = root [print$] path = /etc/samba/drivers browsable = yes guest ok = no read only = yes write list = root
Next I had to add the printer drivers to /etc/samba/drivers with cupsaddsmb, info can be found with man cupsaddsmb. It was a bit of a challenge to get this all working, but once it is set up correctly, it works quite well.
Josh
Congratulations on getting it all working properly. I never could get the cupsaddsmb to work right as the drivers weren't there. I ended up dropping the [print$] share and just installing the Adobe Generic Postscript Driver on each of my windows machines so that I could print to my Epson Photo Stylus 820 printer. Everything else on my system looks pretty much like your setup.
Seem to be lots of CUPS related postings... What version on your running? Pre 1.1.16 there was a nasty bug in cupsaddsmb that caused it to fail. I can send you more information on how to fix this if you need it. Josh