View Full Version : [ubuntu] Samba and printer driver

December 18th, 2010, 06:51 PM
Hey guys!
I've a little problem with Samba.

I've installed and configured Samba and all of that but I still have a little problem: I need to upload the printer driver to the samba server. I tried with cupsaddsmb but there were too much problems so I used the "Windows add driver wizard" (right click on the network printer -> properties -> advanced -> new driver...) and all the x86 PCs are ok. I still need to upload the driver for x64 machines but now the advanced dialog is greyed!!

Do you know where I was wrong?
Thank you guys :)

Here my smb.conf:

#======================= Global Settings =======================
workgroup = WORKGROUP
netbios name = bertoni.local
hosts allow =
guest ok = yes
security = share
#usershare allow guests = yes
server string = Server-Bertoni
#name resolve order = wins lmhost bcast host
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
########## Printing ##########
load printers = yes
printing = cups
printcap name = cups

#======================= Share Definitions =======================
comment = Apache Service
path = /var/www

comment = Documenti condivisi
path = /home/ospite
writeable = yes

comment = HP LaserJet 1160
path = /var/spool/samba
browseable = yes
guest ok = yes

comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root

I think that there could be a permission problem but I don't know where.
In x86 PCs I can install the printer and print without any problems.

December 19th, 2010, 06:33 AM

Note that CUPS makes all printers look like Postscript printers. So you can hook any Windows system up to a CUPS server by selecting a ***mon postscript driver, like Apple Laser Writer II (top of the list) and then the printer will essentially work. The fancy features will not (selecting trays etc) but it will print.

BTW, what is up with the stupid forum turning c o m into *** all of a sudden?

December 19th, 2010, 11:11 AM
I need that samba automatically provides the windows driver when a windows client connects to the samba shared printer.

December 19th, 2010, 12:40 PM
Yes, I gathered that - except that most users don't need it - as explained above.

You need to go to the Samba project web site and read the manual.

December 19th, 2010, 05:04 PM
Ok, but I'd like to implement it.
Can someone help me?

December 25th, 2010, 11:50 PM
so you just need samba to install automatic the drivers for the printer?
so i assume the printer is working..

ok i will look up for it.

small google found this nice thing :)
and this