Yes this is easy to do.

There are two ways to deal with the drivers.

One: Most people (and I believe it's a good idea) copy the Winblows CD
installation directory to the local hard drive and install from there.

This lets Winblows find the location it was originally installed from
whenever a new driver is needed.

In turn all that Samba has to do is provide the NAME of a required
driver, for a particular cue, then Winblows will automatically set up
the driver for that queue. It pulls the drivers from the Winblows
installation directory.

Two: You can copy the CAB files for EACH VERSION OF THE OS YOU WILL BE
SUPPORTING, onto the Samba server. You'll need a logon script for the
Samba attachments (and probably need to change Samba to use DOMAINS
instead of user shares, so that the login script gets executed by
Winblows).

The Login script can resolve certain variables that determine the OS
version the user is running.

In turn the variables will point to the respective cab files for each
version of the OS.

I.E.

Printer driver location = \\Linuxbox\%OS%\CABS

Though this is not the correct syntax.

Next you'll need to explicityly define your printer in samba, creating a
separate printer share for it.

One of the options you can them set up is called "printer driver ="
under the share in smb.conf

This entry should contain AN EXACT MATCH for what the corresponding
driver is called in the version of Windows you'll be using...

The easiest way to determine this is to add a non-existing printer in
Winblows and look at the names of the "drivers" (this is a list of
drivers you are looking at after all, not printers!).

You'll need to get the CASE and nomenclature EXACTLY the same as that
listed in Winblows...

I.E.

[laser]
        printable = yes
        public = yes
        browseable = yes
        printer driver = HP LaserJet 5si MX

Note the "browseable" and "public" entries.

This permits users to see the "shares" for the queues.

They will be able to click on a share called \\Linuxbox\laser and
Winblows will automatically install the driver called "HP LaserJet 5si
MX" from the CAB directory.

Second party drivers are more problematic. You'll need to open the INF
files and find out the naming therein. You'll also need to point
Winblows to the location of the INF files, albeit you can dump them into
the same folder as the cab files...

Of course choice ONE above is easier!

Anyway for complete instructions and a detailed explanation
w/examples...

Pick up

"Samba Integrating Unix and Windows" by John D. Blair, 1998 by SSC, ISBN
1-57831-006-7
URL: http://www.ssc.com

This book is a gold mine for Winblows/Samba...

-JMS

|-----Original Message-----
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED]] On Behalf Of Franki
|Sent: Thursday, December 06, 2001 11:26 AM
|To: [EMAIL PROTECTED]
|Subject: [expert] Samba and cups
|
|
|Hi all,
|
|I have samba setup and working with cups to share the printers..
|
|working fine.. but I have to load the drivers manually on the 
|winblows machines..
|
|I know that Samba has the aility to store the drivers for each 
|OS, so that you can just right click on the shared printer on 
|a windows machine and click install..
|
|Anyone done that?
|
|I want to install win98 and win2000 printer drivers on this 
|box, so that all machines can just install without needing 
|access to the driver disk..
|
|has anyone done that?
|
|If so, would you might terribly sharing with me?
|
|
|regards
|
|Frank
|
|
|


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to