[Foomatic] Broken Acrobat5 / foomatic-rip / ghostscript
Dan Devine
dannyboy259 at comcast.net
Thu Feb 12 15:05:58 PST 2004
I've been instructed to repost if the suggested changes do not solve problem.
Here's what I've been instructed to do and the results:
> check these items:
>
> * the "FontPath" directive in "/etc/cups/cupsd.conf". Is it set? does the
> directory exist? does it contain fonts?
>
Yes, the directory exists, further, I edited the /etc/cups/cupsd.conf file to
add a directory in the default ghostscript path, it now reads as follows:
#FontPath /usr/share/cups/fonts : /usr/share/fonts :
/usr/share/fonts/default/ghostscript
> What exactly does "gs -h | tail" give you?
>
[danny at Jughead danny]$ gs -h | tail
t4693d8 tek4696 tiff12nc tiff24nc tiffcrle tiffg3 tiffg32d tiffg4tifflzw
tiffpack uniprint x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2
x11gray4 x11mono x11rg16x x11rg32x xesSearch path: . :
/usr/share/ghostscript/7.07/lib :/usr/share/ghostscript/7.07/vflib :
/usr/share/ghostscript/fonts : /usr/share/fonts/default/ghostscript :
/usr/share/fonts/default/Type1 :/usr/share/fonts/default/amspsfnt/pfb :
/usr/share/fonts/default/cmpsfont/pfb
For more information, see /usr/share/doc/ghostscript-7.07/Use.htm.Report bugs
to bug-gs at ghostscript.com, using the form in Bug-form.htm.
[danny at Jughead danny]$
> * check the path where Ghostscript searches for fonts. It is indicated
> by the "gs -h" command at the end. Check if all the paths are there and
> if they contain font files. ("Repair" by creating symlinks to the real
> locations...)
Done, added symlinks from /usr/share/fonts/default/ghostscript to
/usr/share/cups/fonts. This added links to each of the fonts contained, the
resulting fontset...
[danny at Jughead ghostscript]$
pwd/usr/share/fonts/default/ghostscript[danny at Jughead ghostscript]$ lsafms
default hrgks.gsf hrplsb.gsf msttcorefontsbchb.afm
fcyr.afm hrgrrb.gsf hrplsbo.gsf putbi.pfabchbi.afm
fcyr.gsf hrgrro.gsf hrpls.gsf putb.pfabchbi.pfa fcyri.afm
hrgrr.pfa hrplso.gsf putri.pfabchb.pfa fcyri.gsf
hritrb.gsf hrpltb.gsf putr.pfabchr.afm fhirw.gsf
hritro.gsf hrpltbi.gsf Symbolbchri.afm fhirw.pfm hritr.pfa
hrplti.pfa u003043t.afmbchri.pfa fkarw.gsf hrpldb.gsf
hrplt.pfa u003043t.gsfbchr.pfa fkarw.pfm hrpldbi.gsf
hrsccb.gsf u003043t.pfmbitmap-fonts fonts.cache-1 hrpldi.pfa
hrscco.gsf u004006t.afmbitstream-vera hrgerb.gsf hrpld.pfa
hrscc.pfa u004006t.gsfCourier hrgerd.gsf hrplrb.gsf
hrscsb.gsf u004006t.pfmCourier-Bold hrgero.gsf hrplrbo.gsf
hrscso.gsfCourier-BoldOblique hrger.pfa hrplr.gsf
hrscs.pfaCourier-Oblique hrgkc.gsf hrplro.gsf hrsyr.gsf
[danny at Jughead ghostscript]$
After restart of cups, the error messages persist (clipped from error_log)
D [12/Feb/2004:13:25:07 -0800] [Job 59] renderer PID kid4=7677
D [12/Feb/2004:13:25:07 -0800] [Job 59] renderer command: gs -q -dPARANOIDSAFER
-dBATCH -dNOPAUSE -sOutputFile=- -sDEVICE=omni -sDeviceName=HP_LaserJet_4V_4MV
-sproperties=" form=na_letter_8.50x11.00in tray=TRAY_CASSETTE media=MEDIA_PLAIN
resolution=600x600 printmode=PRINT_MODE_1_ANY dither=DITHER_STUCKI_DIFFUSION
orientation=portrait HardwareScaling=1" -
D [12/Feb/2004:13:25:07 -0800] [Job 59] perl: warning: Setting locale failed.
D [12/Feb/2004:13:25:07 -0800] [Job 59] perl: warning: Please check that your
locale settings:
D [12/Feb/2004:13:25:07 -0800] [Job 59] LANGUAGE = (unset),
D [12/Feb/2004:13:25:07 -0800] [Job 59] LC_ALL = (unset),
D [12/Feb/2004:13:25:07 -0800] [Job 59] LANG = "c-"
D [12/Feb/2004:13:25:07 -0800] [Job 59] are supported and installed on your
system.
D [12/Feb/2004:13:25:07 -0800] [Job 59] perl: warning: Falling back to the
standard locale ("C").
D [12/Feb/2004:13:25:07 -0800] [Job 59] foomatic-gswrapper: gs
'-dPARANOIDSAFER' '-dBATCH' '-dNOPAUSE' '-sOutputFile=| cat >&3'
'-sDEVICE=omni' '-sDeviceName=HP_LaserJet_4V_4MV' '-sproperties=
form=na_letter_8.50x11.00in tray=TRAY_CASSETTE media=MEDIA_PLAIN
resolution=600x600 printmode=PRINT_MODE_1_ANY dither=DITHER_STUCKI_DIFFUSION
orientation=portrait HardwareScaling=1' '/dev/fd/0' 3>&1 1>&2
D [12/Feb/2004:13:25:08 -0800] [Job 59] GNU Ghostscript 7.07 (2003-05-17)
D [12/Feb/2004:13:25:08 -0800] [Job 59] Copyright (C) 2003 artofcode LLC,
Benicia, CA. All rights reserved.
D [12/Feb/2004:13:25:08 -0800] [Job 59] This software comes with NO WARRANTY:
see the file PUBLIC for details.
D [12/Feb/2004:13:25:09 -0800] AcceptClient() 6 from localhost:631.
D [12/Feb/2004:13:25:09 -0800] ReadClient() 6 POST / HTTP/1.1
D [12/Feb/2004:13:25:09 -0800] ProcessIPPRequest: 6 status_code=1
D [12/Feb/2004:13:25:09 -0800] AcceptClient() 10 from localhost:631.
D [12/Feb/2004:13:25:09 -0800] CloseClient() 6
D [12/Feb/2004:13:25:09 -0800] ReadClient() 10 POST / HTTP/1.1
D [12/Feb/2004:13:25:09 -0800] ProcessIPPRequest: 10 status_code=1
D [12/Feb/2004:13:25:09 -0800] CloseClient() 10
D [12/Feb/2004:13:25:09 -0800] AcceptClient() 6 from localhost:631.
D [12/Feb/2004:13:25:09 -0800] ReadClient() 6 POST / HTTP/1.1
D [12/Feb/2004:13:25:09 -0800] ProcessIPPRequest: 6 status_code=0
D [12/Feb/2004:13:25:09 -0800] CloseClient() 6
D [12/Feb/2004:13:25:11 -0800] [Job 59] Loading NimbusRomNo9L-Regu font from
/usr/share/fonts/default/Type1/n021003l.pfb... 2451868 1076575 1662616 356238 0
done.
D [12/Feb/2004:13:25:11 -0800] [Job 59] Loading NimbusSanL-Regu font from
/usr/share/fonts/default/Type1/n019003l.pfb... 2806732 1389767 1682712 367446 0
done.
D [12/Feb/2004:13:25:11 -0800] [Job 59] Scanning /usr/share/fonts for fonts...
6 files, 6 scanned, 0 new fonts.
D [12/Feb/2004:13:25:11 -0800] [Job 59] Saw EOF!
D [12/Feb/2004:13:25:11 -0800] [Job 59] Error: /invalidfont in -dict-
D [12/Feb/2004:13:25:11 -0800] [Job 59] Operand stack:
D [12/Feb/2004:13:25:11 -0800] [Job 59] DPHHFC+Symbol-Identity-H
--dict:7/10(G)-- Font DPHHFC+Symbol-Identity-H --dict:7/10(G)--
DPHHFC+Symbol-Identity-H
D [12/Feb/2004:13:25:11 -0800] [Job 59] Execution stack:
D [12/Feb/2004:13:25:11 -0800] [Job 59] %interp_exit .runexec2
--nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
--nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3
%oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval--
2 %stopped_push --nostringval-- 3 8 %oparray_pop 3 8
%oparray_pop --nostringval-- --nostringval-- --nostringval-- 7 9
%oparray_pop --nostringval-- 7 9 %oparray_pop --nostringval--
--nostringval--
D [12/Feb/2004:13:25:11 -0800] [Job 59] Dictionary stack:
D [12/Feb/2004:13:25:11 -0800] [Job 59] --dict:1073/1123(ro)(G)--
--dict:0/20(G)-- --dict:103/200(L)-- --dict:36/89(L)--
--dict:78/160(ro)(L)-- --dict:63/78(ro)(L)-- --dict:8/25(L)--
--dict:27/35(ro)(L)-- --dict:17/17(ro)(G)--
D [12/Feb/2004:13:25:11 -0800] [Job 59] Current allocation mode is local
D [12/Feb/2004:13:25:11 -0800] [Job 59] Last OS error: 2
D [12/Feb/2004:13:25:11 -0800] [Job 59] GNU Ghostscript 7.07: Unrecoverable
error, exit code 1
renderer return value: 1-0800] [Job 59]
D [12/Feb/2004:13:25:11 -0800] [Job 59] renderer received signal: 1
D [12/Feb/2004:13:25:11 -0800] [Job 59]
D [12/Feb/2004:13:25:11 -0800] [Job 59] Closing renderer
Thanks for the help
More information about the Printing-foomatic
mailing list