I need some help with getting this NT printer setup with Samba server. I think I have modified all the required files and don't know what else is missing. An outside observation should find the missing link. Here is my /etc/printcap: lp:\ :cm=NT printer :\ :sd=/var/spool/lpd/lp:\ :af=/var/spool/lpd/acct:\ :mx#0:\ :if=/usr/local/samba/bin/smbprint:\ :lp=/dev/null:\ :sh: I have tried substituting lp=/dev/lp1 The /var/spool/lpd/lp/.config has the following contents: server=nt service=color password="" Here is printer specific portion of smb.conf: [global] printing = BSD print command = /usr/bin/lpr -P%p %s printcap file = /etc/printcap [printer1] printable = yes printer = lp read only = yes guest ok = yes I have restarted Samba and lpd(don't think it's required). When I issue the print command, $ lpr myfile.txt OR lpr -Plp myfile.txt the job remains in the queue and does not go to the printer. The printer on NT is set to "shared". Any ideas appreciated. Thank you in advance. Subba Rao subb3@attglobal.net http://pws.prserv.net/truemax/ => Time is relative. Here is a new way to look at time. <http://www.smcinnovations.com
On Fri, 31 Dec 1999 04:58:57 +1100, hai scritto:>I have tried substituting lp=/dev/lp1no, leave it to null.>I have restarted Samba and lpd(don't think it's required). When I issue >the print command,samba is not needed (unless you want to re-share the printer to other win machines). you need to restart lpd if you change the printcap.>$ lpr myfile.txt OR lpr -Plp myfile.txt > >the job remains in the queue and does not go to the printer. The printer >on NT is set to "shared".nt wants user/pass auth. You need to edit the smbprint filter (or make a specific version of that script for that printer) and edit the last line in order to pass to smbclient a valid nt user/pass pair. -- giulioo@pobox.com
On Mon, 3 Jan 2000 17:31:56 +1100, hai scritto:>smbclient -L myserver >I am prompted for password and i enter correct passwd the it is givingtry smbclient -L myserver -U% -- giulioo@pobox.com