printing to nt printer

podda dpathirana at sri.receiptcity.com
Fri Sep 1 15:15:02 GMT 2000


hi

i have samba 2.06 running on a win nt lan. pdc is the nt server. my
server is shinning and kicking but the only problem that i have is
sharing the nt printer - lexmark optra k 1220 i tried using printtool,
created the spooler, edited the print cap, and also edited the smb.conf
file.
i also tried to print without the samba services, but it didn't work,
probably because tcp/ip print services are not enabled in this lan. but
in some documents i read that there is a bug in samba printing services
in 2.06 is it true?
i also read that ms have modified their smb interface making it more
difficult to  connect samba servers to win nt. is this true?
anyway i can't figure out what's going wrong with the printing. any
suggestions and advice is most welcome.

here's my printcap

lp:\
     :sd=/var/spool/lpd/lp:\
     :mx#0:\
     :sh:\
     :af=/var/spool/lpd/lp/acct:\
     :lp=/dev/null:\
     :if=/var/spool/lpd/lp/filter:

this is my smb.conf

   printcap name = /etc/printcap
   load printers = yes
   printing = bsd
[printers]
   comment = All Printers
   browseable = yes
   public = yes
   guest ok = no
   writable = no
   printable = yes
   path = /var/spool/lpd/lp
   printer = lp

i also included server,service and user details in the .config file.
when i send something to printer the document gets spooled locally and
my port is also active. but the printer prints nothing. and the document
doesn't get spooled in the nt spooler.
in some documents i saw that they have specified the printer driver in
the smb.conf is this necessary?
i'm not sure if it has any thing to do with the spooling system. i'm
using bsd. i don't know much about ppr and lprng.
any advice is welcome,

podda





More information about the samba mailing list