From owner-freebsd-questions Tue Sep 12 05:33:13 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA04359 for questions-outgoing; Tue, 12 Sep 1995 05:33:13 -0700 Received: from mars.csg.peachnet.edu (mars.CSG.PeachNet.EDU [168.26.193.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA04353 for ; Tue, 12 Sep 1995 05:33:11 -0700 Received: from mercury.csg.peachnet.edu (mercury.CSG.PeachNet.EDU [168.26.193.32]) by mars.csg.peachnet.edu (8.6.11/8.6.9) with ESMTP id IAA02730 for ; Tue, 12 Sep 1995 08:18:26 GMT Received: from CCMAIN/SpoolDir by mercury.csg.peachnet.edu (Mercury 1.21); 12 Sep 95 08:39:25 EST Received: from SpoolDir by CCMAIN (Mercury 1.21); 12 Sep 95 08:39:16 EST From: "Christian" Organization: Columbus College, Columbus, GA To: questions@freebsd.org Date: Tue, 12 Sep 1995 08:39:15 EST MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Printing Help Priority: normal X-mailer: Pegasus Mail v3.22 Message-ID: <23D3A40536@mercury.csg.peachnet.edu> Sender: questions-owner@freebsd.org Precedence: bulk Hi again, I have been trying to get my freebsd box to print postscript to a remote hp laserjet 4si using ghostscript in a filter and have met with no success. I suspect that the problem is that the file is not being passed through the filter. I say this because after trying to get the simple filter that I wrote to work I tried using a "test" filter that wrote some lines to a file in /tmp...and nothing happened. Here's what my printcap file looks like: # @(#)printcap 5.3 (Berkeley) 6/30/90 #lp|local line printer:\ # :lp=/dev/lp:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: lp|remote laserjet printer:\ :lp=:\ :rm=168.26.193.121:\ :rp=raw:\ :lf=/var/spool/lpd/lp_raw.log:\ :mx#0:\ :sd=/var/spool/lpd/lp:\ :if=/usr/local/bin/psfilt: and this is what the psfilt looks like: #!/bin/sh /usr/local/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=ljet4 -sOutputFile=- - I don't understand why this isn't working....I've read everything that I can find and tried everything that I know to do. Please let me know if there is something that I am doing wrong or if there is something I am missing. Btw. the system is running 2.0.5-RELEASE if that makes a difference. Thanks, Christian ____________ Christian Plazas Columbus College, Columbus,GA 706.568.3045 ______________________________________________________________________