printing to nt printer

Mike Brodbelt m.brodbelt at acu.ac.uk
Fri Sep 8 14:40:55 GMT 2000


> 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:\
		^^
!!! Is your filter doing something smart? If not, this won't get very
far...

>      :if=/var/spool/lpd/lp/filter:

Which filter is this???

Samba printing is mostly about sharing Unix connected printers to NT/9x
clients. If you want to print via a Samba share to an NT connected
printer, then your input filter should probably be calling smbclient to
transfer the print job. If you're doing this from an NT client  - why
use Samba to print share at all??? If you're going from a Unix client,
you'll need a print filter that translates the job into something your
printer can handle (probably using ghostscript), and then transfers it
with smbclient.

HTH

Mike.




More information about the samba mailing list