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

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



Does printing from the samba machine work? If it doesn't work from the
server to the printer, it surely won't work from the client to server to
printer.

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?
> 
> --
> Andy Zbikowski, Sys Admin   | http://www.ltiflex.com
> LTI Flexible Products, Inc. | "Reality is merely an illusion,
> 21801 Industrial Blvd       |  albeit a very persistent one."
> Rogers, MN  55374           |  -- Albert Einstein
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org

-- 
	<a href="http://umn.edu/~john1536">Troy Johnson</a>

Strict gun laws are about as effective as strict drug laws...It pains
me to say this, but the NRA seems to be right: The cities and states
that have the toughest gun laws have the most murder and mayhem.
        -- Mike Royko, Chicago Tribune