[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] Can't print to NT printer



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@xxxxxxxxxxxxx
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.