hi,
using SAMBA 2.2.0 or higher you need to define something like:
[print$]
path = /usr/spool/lp/samba/printers
write list = lp
read only = Yes
guest ok = Yes
browseable = Yes
which is the place where SAMBA will store the driver,
'/usr/spool/lp/samba/printers' must contain a directory W32X86 for the
NT/W2K driver. You can than use a NT desktop to install the driver, logged
on as printer admin, using the 'new driver' function on the 'printer
definiton' card from the queue window. Read the PRINTING README from your
SAMBA distribution for further details...
regards
~christoph
On Mon, 19 Nov 2001, Christian Hoss wrote:
>
> I am trying to move NT, W2K & Win ME printing off of Windows to my samba server. I
>have been successful in printing from Linux boxes, but not Windows - loading HP5si
>drivers on my W2K machine creates a printer that won't let me map to the Samba
>server, & only by adding the Printer Driver = "HP LaserJet 5si" can I see the print
>queue . How do I install the NT & W2K drivers on Samba?
>
>
> ithp:tc=.client
>
> mktghp:tc=.client
>
> prod1hp:tc=.client
>
> prod2hp:tc=.client
>
>
>
>
> .client
>
> :lp=%P@localhost
>
> :force_localhost
>
>
>
>
> ithp:server\
>
> :lp=it_5si.industrialinfo.com%9100:\
>
> :ifhp=model=hp5si,status@:\
>
> :filter=/usr/libexec/filters/ifhp:\
>
> :sd=/var/spool/lpd/it_5si:\
>
> :tc=.common:
>
>
>
>
> ....
>
>
>
>
> .common
>
> :mx=0:\
>
> :lf=/var/spool/lpd/printer-log:
>
>
>
>
> # Global parameters
>
> [global]
>
> workgroup = SERVERS
>
> netbios name = SAMBATEST
>
> server string = For all your file & print sharing needs
>
> encrypt passwords = Yes
>
> update encrypted = Yes
>
> os level = 65
>
> preferred master = True
>
> domain master = True
>
> wins support = Yes
>
> printer admin = @ntadmin
>
>
>
>
> [printers]
>
> path = /var/spool/lpd
>
> print ok = Yes
>
> printing = lprng
>
> load printers = Yes
>
> guest ok = yes
>
> printcap name = /etc/printcap
>
> printer driver = "HP LaserJet 5si"
>
> print command = /usr/bin/lpr -P%p -r %s
>
> lpq command = /usr/bin/lpq -P%p
>
> lprm command = /usr/bin/lprm -P%p %j
>
> lppause command = /usr/bin/lpc hold %p %j
>
> lpresume command = /usr/bin/lpc release %p %j
>
> queuepause command = /usr/bin/lpc -P%p stop
>
> queueresume command = /usr/bin/lpc -P%p start
>
>
>
>
>
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------