[lug] Can't print to NT printer

Subba Rao subb3 at attglobal.net
Thu Dec 30 10:36:08 MST 1999


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

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com




More information about the LUG mailing list