Joel,

Thanks for your reply.  But here is the problem:
Here is my smb.conf file.  If I put the printer in the smb.conf file and create the 
printer with the printtool, when I browse network neighborhood to install the printer, 
I see 2 printers.

So, do I use the windows driver, configure the printer in smb.conf and forget about 
the printtool?


> 
> Two suggestions. First, make sure your smb.conf is explicit.
> Here is mine. The print command is fancy but you can use a simple one.
> 
> [lp]
>     comment = Raw Printer for Z53
> #    max print jobs = 1
>     path = /tmp
>     create mask = 0700
>     guest ok = Yes
>     hosts allow = 192.168.
>     printable = Yes
>     printing = lprng
>      print command = echo %J %p %s  >>  /tmp/junkJ;\
>                        a="`echo '%J' | sed "s/^.*- //"`" ;\
>                    echo This is truncated $a >> /tmp/junkJ;\
>                        /usr/bin/lpr -Plp  -J"$a"  %s;\
>                        rm %s
>     lpq command = /usr/bin/lpq -Plp
>     lprm command = /usr/bin/lprm -Plp %j
>     lppause command = /usr/sbin/lpc hold -Plp %j
>     lpresume command = /usr/sbin/lpc release -Plp %j
>     printer name = lp
>     share modes = No
> \
> Second, make sure lpd.perms is permissive.
> Just one line:
> DEFAULT ACCEPT
> 
> is all you need if you are not too concerned about security.
> Make sure you restart samba and lpd after you make these changes.
> Joel
> 
> 
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------


Attachment: smb.conf2
Description: Binary data

Reply via email to