From owner-freebsd-questions Wed Feb 7 23:36:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tambora.parokinet.org (unknown [133.30.168.119]) by hub.freebsd.org (Postfix) with ESMTP id 5501037B401 for ; Wed, 7 Feb 2001 23:36:34 -0800 (PST) Received: from localhost (localhost.tanudharma.net [127.0.0.1]) by tambora.parokinet.org (8.11.2/8.11.1) with ESMTP id f187eu305735 for ; Thu, 8 Feb 2001 16:40:56 +0900 (JST) (envelope-from rachmat@canada.com) Date: Thu, 8 Feb 2001 16:40:56 +0900 (JST) From: Rachmat Hidajat X-Sender: rachmat@tambora.parokinet.org To: Freebsd-questions@freebsd.org Subject: Can't pipe Ghostscript to Printer Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I had been using HP LaserJet 5L for quite a while and it was running okay until this afternoon, when I tried to queue an 8 pages pdf file and I got an error saying file /tmp/XXXXX is too large, and after that I can't pipe to the printer. The lpd-errs file just said: AFPL Ghostscript 6.50: Unrecoverable error, exit code 1 Feb 8 14:52:18 tambora lpd[164]: lpd startup: logging=0 AFPL Ghostscript 6.50: Unrecoverable error, exit code 1 Feb 8 15:00:28 tambora lpd[309]: hp: job could not be printed (cfA038tambora.parokinet.org) AFPL Ghostscript 6.50: Unrecoverable error, exit code 1 Feb 8 16:02:45 tambora lpd[5604]: hp: job could not be printed (cfA039tambora.parokinet.org) AFPL Ghostscript 6.50: Unrecoverable error, exit code 1 Feb 8 16:04:00 tambora lpd[5608]: hp: job could not be printed (cfA040tambora.parokinet.org) AFPL Ghostscript 6.50: Unrecoverable error, exit code 1 Feb 8 16:16:52 tambora lpd[5668]: hp: job could not be printed (cfA041tambora.parokinet.org) AFPL Ghostscript 6.50: Unrecoverable error, exit code 1 Feb 8 16:20:35 tambora lpd[5694]: hp: job could not be printed (cfA042tambora.parokinet.org) The /etc/printcap file is: hp|line|laserjet|lp|Hewlett Packard LaserJet 5L:\ :sh:sd=/var/spool/lpd/hp:\ :lp=/dev/lpt0:\ :if=/usr/local/libexec/psfilter:\ :lf=/var/log/lpd-errs: And the /usr/local/libexec/psfilter file is: #!/bin/sh # /usr/local/bin/gs -q -dNOPAUSE -sDEVICE=ljet4 -r600 -sPAPERSIZE=a4 -sOutputFile=- - exit 2 I have tried to reboot the machine and even recompile ghostscript but with no success. Can somebody tell me how to fix it? PS: Please cc your reply to my private address whenever possible TIA, Rachmat Hidajat Kobe, JAPAN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message