From owner-freebsd-questions Tue Mar 31 09:34:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA00158 for freebsd-questions-outgoing; Tue, 31 Mar 1998 09:34:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bbs.mpcs.com (bbs.mpcs.com [204.215.226.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA29947 for ; Tue, 31 Mar 1998 09:34:10 -0800 (PST) (envelope-from hgoldste@bbs.mpcs.com) Received: (from hgoldste@localhost) by bbs.mpcs.com (8.8.8/8.8.7/MPCS spamzap) id MAA06826; Tue, 31 Mar 1998 12:34:04 -0500 Date: Tue, 31 Mar 1998 12:34:04 -0500 From: Howard Goldstein Message-Id: <199803311734.MAA06826@bbs.mpcs.com> To: freebsd-questions@FreeBSD.ORG Cc: lmadrig@acnet.net Subject: postscript printcap, LJ (was Re: hi!) In-Reply-To: <35212478.519D4D90@acnet.net> Reply-To: hgoldste@bbs.mpcs.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Leonardo Madrigal wrote: : : I have a Laserjet 5l Hp printer, i make my printcap and i passed the : lptest to the printer, and works : fine for plain text, but when i try to print from my netscape, or from : Staroffice the printer prints more : than 15 pages with postscript, i have already 3 input filters,and no one : works.. Here's what I use for postscript with an LJ3. Something like this (using ghostscript) should work for you too, although if the LJ5L has native postscript then my technique will be horribly inefficient... in /etc/printcap: # Postscript printing, input is postscript, output is hplj3 # ps:lp=/dev/lp:sd=/var/spool/lpd/ps:lf=/var/spool/lpd/ps/errs:\ :if=/usr/local/bin/psToLj:\ :mx#0:sh:sf: in /usr/local/bin/psToLj: #!/bin/sh # convert postscript to laserjet3 output /usr/local/bin/gs -sDEVICE=ljet3 -r300 -dNOPAUSE -q -sOutputFile=- - Under this regime, in netscape you'd specify the print command as lpr -Pps Different constructions are possible... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message