Red Hat Bugzilla – Bug 144864
can't print, ghostscript can't open scratch file
Last modified: 2007-11-30 17:10:58 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)
Description of problem:
Well, from the error log, it seems ghostscript is messing up, but I was told to file this report under foomatic.
Trying to print anything results in the following errors:
D [11/Jan/2005:19:37:10 -0600] [Job 1] GNU Ghostscript 7.07: Could not open
the scratch file /var/spool/cups/tmp/gs_YHvM9h.
D [11/Jan/2005:19:37:10 -0600] [Job 1] **** Unable to open the initial device,
D [11/Jan/2005:19:37:10 -0600] [Job 1] renderer return value: 1
D [11/Jan/2005:19:37:10 -0600] [Job 1] renderer received signal: 1
D [11/Jan/2005:19:37:10 -0600] [Job 1] Process dying with "Possible error on
renderer command line or PostScript error. Check options.", exit stat: 3
After the print command fails, "ls /var/spool/cups/tmp/" shows nothing. I don't know if cups cleans up the scratch file dir or if the reason why ghostscript failed is because there was no scratch file there.
The complete log is attached in the comment that follows.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Setup Epson Stylus Photo R200 and try to print a test page.
Created attachment 109654 [details]
cups error log
What do these commands say?:
rpm -q cups
rpm -V cups
[root@tapu ~]# rpm -q cups
[root@tapu ~]# rpm -V cups
S.5....T c /etc/cups/cupsd.conf
S.5....T c /etc/cups/printers.conf
.M5....T c /etc/xinetd.d/cups-lpd
Thanks for the help.
I created /var/spool/cups/tmp, but still got an error:
D [12/Jan/2005:10:17:06 -0600] [Job 3] sh: ijsgimpprint: command not found
D [12/Jan/2005:10:17:06 -0600] [Job 3] GNU Ghostscript 7.07: Can't start ijs
D [12/Jan/2005:10:17:06 -0600] [Job 3] **** Unable to open the initial device,
I installed gimp-print and that fixed the problem. Shouldn't there be some
kind of dependency on gimp-print for cups in the yum repos? Also, why didn't
the cups rpm create /var/spool/cups/tmp? Oh well, its working now.