Wolfgang Ratzka
2006-Mar-07 19:24 UTC
[Samba] "load printers = Yes" produces working but invisible printers
Hi, I am running samba 3.0.21c (Sernet packages on Debian Sarge) and trying to automatically share cups printers via "load printers = Yes" - Printing seems to work if you install the printers on the client by calling con2prt.exe, but - the printers do not appear as shares when browsing the network neighbourhood or calling "net view \\servername" on the client. - They do appear, if I include an explicit section for each printer in smb.conf Bug or feature? My configuration options: [global] ... printcap name = cups cups server = localhost printing = CUPS load printers = Yes ... [printers] comment = SMB print spool path = /var/spool/samba guest ok = yes printable = yes browseable= yes use client driver = no Kind regards, Wolfgang Ratzka
Kristaps Rāts
2006-Mar-08 10:22 UTC
[Samba] "load printers = Yes" produces working but invisible printers
I had the same problem with 3.0.14a, it seems that clients don't like long names or names with certain characters in them. The printer names were made by the gnome-cups-add gui tool and went something like Manufacturer-Model-Postscript-(recomended), without an option to change the name. Windoze boxen were unable to see the printers as were gnome-cups-add's on other linux boxen. I edited printers.conf and made the names short and alphanumeric and all the affected clients became able to see the printers. As far as I remember they still didn't show up in an smbclient -L, but that doesn't matter to me as printing works just fine now. HTH On O , 2006-03-07 at 20:18 +0100, Wolfgang Ratzka wrote:> Hi, > I am running samba 3.0.21c (Sernet packages on Debian Sarge) and trying > to automatically share cups printers via "load printers = Yes" > > - Printing seems to work if you install the printers on the client by > calling con2prt.exe, but > - the printers do not appear as shares when browsing the network > neighbourhood or calling "net view \\servername" on the client. > - They do appear, if I include an explicit section for each printer > in smb.conf > > Bug or feature? > > My configuration options: > [global] > ... > printcap name = cups > cups server = localhost > printing = CUPS > load printers = Yes > ... > [printers] > comment = SMB print spool > path = /var/spool/samba > guest ok = yes > printable = yes > browseable= yes > use client driver = no > > > Kind regards, > Wolfgang Ratzka