TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:17983] Sharing a WinPrinter with SAMBA



On Mon, 22 May 2000, Andy Zbikowski wrote:

> I've been attempting to share an icky "windows only" printer with samba.
> (lprng)
> 
> Right now, the /etc/printcap looks like: 
> (pulled out of the samba documentation)
> 
> raw:\
>         :rw:sh:
>         :lp=/dev/lp0
>         :sd=/var/spool/lpd/raw
>         :fx=flp
> 
> The printer share from smb.conf is:
> 
> [DeskJet820]
>         security = share
>         path = /var/spool/lpd/raw
>         printer name = raw
>         writeable = yes
>         public = yes
>         printable = yes
>         print command = lpr -b -Praw %s
> 
> Doing a `modprobe lp` detects the printer, so it is there and ready (or
> should be), so according to the documentation, it should work. But it
> isn't. Any ideas?

First of all, make sure that the path= line points to a directory that
samba has write access to. 

If that doesn't work, if you let us know the error you get when you try to
map the printer (or print to the printer), that would give us some clues. 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
______         _ __         "If you don't have the freedom to use what you
  /           ' )  )               own - then you do not own anything."    
 / o ______    /  / _  . .    No apologies to Jack Valenti or the MPAA
/ <_/ / / <   /  (_</_(_/_  -- tneu@visi.com / http://www.visi.com/~tneu --