Beat Morf
2005-Nov-25 15:07 UTC
[Samba] windows printer driver installation with samba and cups
Hi Using: - SUSE 9.2 - SAMBA 3.0.7 - CUPS 1.1.21 I am successfully using my network printer under cups. Now I would like to share this printer to all windows clients with samba. These are my smb.conf configurations: ********************** [global] interfaces = eth0 ... load printers = yes printing = cups printcap name = /etc/printcap printer admin = @mygroup [print$] comment = Printer Driver path = /daten/printers browseable = yes guest ok = yes read only = yes write list = @mygroup [printers] comment = All Printers path = /var/spool/samba browsable = yes guest ok = no writeable = no printable = yes *********************** The rights for the directories are as follows: myserver:/ # la daten/printers/ total 1 drwxrwxr-x 2 root mygroup 48 Nov 25 15:29 . drwxr-xr-x 20 root mygroup 472 Nov 25 14:59 .. myserver:/ # la /var/spool/samba total 0 drwsrwsrwx 2 root root 48 Jan 28 2005 . drwxr-xr-x 14 root root 368 Dec 13 2004 .. Under my windows 2000 (and XP) client, I see my printer within the folder "PRINTERS". With "properties->No->Advanced->New Driver" (Windows-Driver-Wizard) I can specify the driver and follow all instructions. At the end, when I finish the wizard, a message "can not install driver. the procedure could not finished" appears. Within the directory /daten/printers NO DRIVER is installed! The log.smbd file says, that the user opens the "print$" share, but nothing else: **** [2005/11/25 15:58:27, 1] smbd/service.c:make_connection_snum(647) gonzales (192.168.0.54) connect to service print$ initially as user beat (uid=509, gid=100) (pid 18552) **** I allready read a lot of posts about similar problems, but didn't find any description that would fix my problem. Did someone know this problem or see something similar? thanks beat
Adam Nielsen
2005-Nov-29 05:05 UTC
[Samba] windows printer driver installation with samba and cups
> [print$] > path = /daten/printers > > myserver:/ # la daten/printers/ > total 1 > drwxrwxr-x 2 root mygroup 48 Nov 25 15:29 . > drwxr-xr-x 20 root mygroup 472 Nov 25 14:59 ..Where are the driver files? It looks like you haven't installed them.> Under my windows 2000 (and XP) client, I see my printer within the > folder "PRINTERS". With "properties->No->Advanced->New > Driver" (Windows-Driver-Wizard) I can specify the driver and follow > all instructions. At the end, when I finish the wizard, a message > "can not install driver. the procedure could not finished" appears. > Within the directory /daten/printers NO DRIVER is installed!*You* have to put the printer's drivers in /daten/printers by hand first, so that the Windows boxes can find those files and copy them across.> Did someone know this problem or see something similar?Try "man cupsaddsmb" and read the Samba manual referring to installing printers. It looks like all you need to do is copy the printer drivers across, run cupsaddsmb and then it will work. Cheers, Adam.