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

Cups, Samba and the terror called Windows :)



Hi all,

When setting up cups and Samba to make an anonymous printserver for a lot of clients and 20 printers
i noticed this works fine :D

only 1 problem,

when adding a printer to windows, it asks about the driver.
in my samba config a pointed out a directory where the drivers are, but i dont know what files to put in there, just ppd files? or the contents of official driver cd? and should a make that dir a samba share?

i really need to auto install the drivers.


btw, iam using Appsocket in cups, the printer + drivers work fine in cups :)

here is my smb.conf

/Centauri:/var/log/samba# testparm

Load smb config files from /etc/samba/smb.conf
Unknown parameter encountered: "disable spools"
Ignoring unknown parameter "disable spools"
Unknown parameter encountered: "show add printer wizzard"
Ignoring unknown parameter "show add printer wizzard"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
       workgroup = TEST
       server string = %h Samba Print server
       security = SHARE
       syslog = 0
       log file = /var/log/samba/log.%m
       max log size = 1000
       printcap name = cups
       dns proxy = No
       panic action = /usr/share/samba/panic-action %d
       printing = cups
       print command =
       lpq command = %p
       lprm command =

[printers]
       comment = All Printers
       path = /tmp
       create mask = 0700
       guest ok = Yes
       printable = Yes
       browseable = No

[print$]
       comment = Printer Drivers
       path = /var/lib/samba/printers
       guest ok = Yes

Centauri:/var/log/samba#/

Well i hope its possible :D

thnx in advance!


--
Met vriendelijke groet / With kind regards,

Martijn Marsman <mmarsman@afab.nl>

System Engineer
AFAB Geldservice B.V.

begin:vcard
fn:Martijn Marsman
n:Marsman;Martijn
org:Afab Geldservice B.V.;Automatisering
adr;dom:;;Plotterweg;Amersfoort
email;internet:mmarsman@afab.nl
title:System engineer
tel;work:0335451000
url:http://www.afab.nl
version:2.1
end:vcard


Reply to: