Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2002 15:26:43 -0500 (EST)
From:      Marco Radzinschi <marco@radzinschi.com>
To:        Mike Galvez <mrg8n@virginia.edu>
Cc:        FreeBDS-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How to share HP LaserJet III with Samba?
Message-ID:  <20020130152400.P38083-100000@mail.radzinschi.com>
In-Reply-To: <20020130093552.B39303@mail.virginia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Jan 2002, Mike Galvez wrote:

> > Below is my /etc/printcap file.  I don't want to paste smb.conf because it
> > is way too long, and it does not work.
> >
> > lp|HP LaserJet III:\
> > 	:sh:\
> > 	:sd=/var/spool/lpd/lp:\
> > 	:lp=/dev/lpt0:\
> > 	:if=/usr/local/libexec/if-simple:
> >
> > Here is the /usr/local/libexec/if-simple script:
> >
> > #!/bin/sh
> > printf "\033&k2G" && cat && printf "\033&l0H" && exit 0
> > exit 2
>
> Is your filter executable?

Well, I am not _THAT_ stupid. :-)

I can print with lpr, as I mentioned in my original post, so it is
executable.  What I want to do is be able to print from Windows machines
on my network via samba.

I just printed out "Using Samba" from the O'Reiley site as someone
suggested.  Hopefully I will get it to work, but if anyone could supply
the necessary smb.conf paramaters I would nevertheless appreciate it.

Marco Radzinschi

E-Mail: marco@radzinschi.com
AOL IM: CrackedBoy

Running FreeBSD 4.4-RELEASE i386
 3:24PM  up 10 days, 16:46, 1 user, load averages: 0.02, 0.01, 0.00



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020130152400.P38083-100000>