From owner-freebsd-questions Wed Mar 17 9:31: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tiger.fhsu.edu (tiger.fhsu.edu [198.22.249.17]) by hub.freebsd.org (Postfix) with SMTP id 6EB17152D4 for ; Wed, 17 Mar 1999 09:30:27 -0800 (PST) (envelope-from afleming@tiger.fhsu.edu) Received: by tiger.fhsu.edu(Lotus SMTP MTA v4.6.3 (733.2 10-16-1998)) id 86256737.006005EE ; Wed, 17 Mar 1999 11:28:49 -0600 X-Lotus-FromDomain: FHSU From: "Andrew Fleming" To: freebsd-questions@FreeBSD.ORG Message-ID: <86256737.006003BA.00@tiger.fhsu.edu> Date: Wed, 17 Mar 1999 11:28:42 -0600 Subject: Setting up HP Jet direct printers Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message