From owner-freebsd-questions Wed Jan 30 12:27: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.radzinschi.com (pcp284510pcs.owngsm01.md.comcast.net [68.54.240.17]) by hub.freebsd.org (Postfix) with ESMTP id B216537B402 for ; Wed, 30 Jan 2002 12:26:45 -0800 (PST) Received: from localhost (marco@localhost.radzinschi.com [127.0.0.1]) by mail.radzinschi.com (8.11.6/8.11.6) with ESMTP id g0UKQhX38146; Wed, 30 Jan 2002 15:26:43 -0500 (EST) (envelope-from marco@radzinschi.com) Date: Wed, 30 Jan 2002 15:26:43 -0500 (EST) From: Marco Radzinschi To: Mike Galvez Cc: FreeBDS-Questions Subject: Re: How to share HP LaserJet III with Samba? In-Reply-To: <20020130093552.B39303@mail.virginia.edu> Message-ID: <20020130152400.P38083-100000@mail.radzinschi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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