From owner-freebsd-questions Wed Mar 17 13: 9:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id 06B5314E18 for ; Wed, 17 Mar 1999 13:09:27 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.2/8.8.8) with ESMTP id VAA22840; Wed, 17 Mar 1999 21:08:35 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id TAA00879; Wed, 17 Mar 1999 19:51:41 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199903171951.TAA00879@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Andrew Fleming" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setting up HP Jet direct printers In-reply-to: Your message of "Wed, 17 Mar 1999 11:28:42 CST." <86256737.006003BA.00@tiger.fhsu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Mar 1999 19:51:40 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Apsfilter is pretty good at detecting what you've given it and DingTRT. It's a port. > I have a box running 2.2.7 that is set up to print to various HP printers that > are hooked up to the printers. Everything is working great. I have two entries > in the printcap for each printer, one for post-script and one for text. > > th204_txt|lp7:\ > :lf=/usr/adm/lperr/th204_txt.log:\ > :lp=:\ > :rm=i163:\ > :rp=text:\ > :sd=/var/spool/lpd/th204_txt: > > th204_ps|lp8:\ > :lf=/usr/adm/lperr/th204_ps.log:\ > :lp=:\ > :rm=i163:\ > :rp=raw:\ > :sd=/var/spool/lpd/th204_ps: > > The LPD on the HP-Jet Direct cards wants PostScript jobs sent to the raw queen > and text sent to the text queen. > > Now the problem. I have users complaining because they have to use two > different names for the same printer. > I have two ideas. Use an :if and call a script that converts everything to PS > and sends it to the raw queen, or Have 3 entries. > If the job is sent to the generic queen, using the :if= a script would be called > and if the print job is PS it would then send the > to the Post Script Queen and if it is Text it would send it to the text queen. > > Any thought on if it will work and which one would be better. Also can I use an > :if= in an entry that is being sent to another LPD. > > If I use the second Idea how do I get the print job out of the generic queen and > sent back into the Post Script queen. > > Thanks for any ideas or suggestions > > Andrew Fleming > afleming@tiger.fhsu.edu -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message