Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com
-------------------------------------------------------------------
Next Technical Meeting: January 14 (Fri) 19:00
* Topic: "glibc - current status and future developments"
* Guest Speaker: Ulrich Drepper (Cygnus Solutions)
* Place: Oracle Japan HQ 12F Seminar Room (New Otani Garden Court)
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links