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

Sharing a WinPrinter with SAMBA



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