[Samba] Samba / CUPS / Drivers

Chris Aitken Chris at ion-dreams.com
Wed Jan 28 18:45:32 GMT 2004


> > >
> > > I'm trying to figure out if it's possible to use different driver 
> > > file downloads for different printers on the system?  As 
> of what I 
> > > can see in all doc-files I can only use ONE set of 
> drivers for all 
> > > added printers?
> > >
> > > F.x. I have one printer that is handled by CUPS' PPD 
> system, and one 
> > > printer that uses RAW.
> > >
> > > So, the first printer (PPD) should have its feed in postscript 
> > > format
> > from
> > > the Windows clients, so they get the Adobe PS driver set 
> by download
> > when
> > > they add the printer to the system.
> > >
> > > But the second printer that should be fed by the Windows clients 
> > > already processed stream, that is, they need the printer 
> > > manufacturers native printer driver for Windows.  So, they should 
> > > NOT get the Adobe friver, but a different set.
> > >
> > > Is it doable?  I run CUPS v1.2.0b1 and Samba 2.2.5.
> > >
> > > Anders Norrbring
> > 
> > Hi Anders,
> > 
> > You want to run 2 different printers with samba/cups.
> > 
> > 1 raw printer, and one PS printer.
> > 
> > This is possible.
> > 
> > I'd recommend upgrading CUPS though - 1.2 is quite old.
> > 
> > Chris
> 
> Thanks Chris, but CUPS v1.2 is pulled from CVS today, and not 
> at all old..
> :)

Oops - Read that as 1.1.2 :)

Create a share in samba like this:

[print$]
        comment = Printer Drivers
        path = /home/samba/drivers
        browseable = yes
        guest ok = no
        read only = yes
        write list = user

Make sure that the user in write list is also listed in the printer admin
section within the [printers] share.

These instructions are for samba 3 - but the basis is the same for
uploading:

http://samba.mirror.ac.uk/samba/docs/man/CUPS-printing.html#id2933866

HTH

Chris

> 
> I know the fact that it's possible, but I don't understand 
> how I can enable the server to download the printer drivers 
> to the Windows XP Pro users?
> 
> It's easy enough to just set up Samba and CUPS with 2 
> printers with different drivers sets on the Linux server, no 
> problems.  But I need the server to transfer the correct 
> driver depending on which of the printers the users wants to 
> use.  As of what I understand, the cupsaddsmb command only 
> supports ONE driver to be added.
> 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list