Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 16:40:56 +0900 (JST)
From:      Rachmat Hidajat <rachmat@canada.com>
To:        Freebsd-questions@freebsd.org
Subject:   Can't pipe Ghostscript to Printer
Message-ID:  <Pine.BSF.4.21.0102081623440.5701-100000@tambora.parokinet.org>

next in thread | raw e-mail | index | archive | help
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 <rachmat@canada.com>
Kobe, JAPAN



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102081623440.5701-100000>