> > When I try to print a page from Netscape, all I get is a page telling that
> > there was an error in findfont. If I try to print to a file, the file is
> > blank. Evidently, ghostscript is not finding the fonts.
> > Does anybody have any ideas?
> Most of your message didn't compute (what's xfs*?), but my similar
> setup (GS 5.10, stcolor, NC 4.04) works OK. First try replacing your
> Netscape print command (lpr?) with one that sends output to a file
> (cat >/tmp/xxx). If xxx is not a Postscript file, then you've got
> problems with Netscape, not Ghostscript. I have do idea what might be
> wrong there; maybe a clean out and reinstall of Netscape would be worth
> a try. I doubt if it needs fonts from your OS. So far, I've just got
> a simple "filter" in my lp spooler directory which runs gs:
> gs -q -dSAFER -dNOPAUSE -sDEVICE=stcolor \
> -sOutputFile=$tempfile stcolor.ps - -c quit
> cat $tempfile
> Try that and take a look at $tempfile. It should be Epson code.
> Also, use the lp* commands to insure your ps files are getting spooled.
OK, I figured out the font problem. Seems you have to have a fonts
directory under <path>/ghostscript, which I didn't have. Silly me! ;)
Still haven't figured out the printing to the printer problem, though. I
can print to a .ps file from Netscape, and the file looks great when
viewed with a Postscript viewer. But I cannot *print* a .ps file (either
from Netscape or directly). When I send a .ps file to the printer, it
starts spitting out blank pages and acting like it is doing something
important. But the pages are still blank.
Maybe my printcap/filter is the problem. Here is my printcap:
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See the printcap(5) manual page for further
:cm=Epson printers in the study
# these are server flags, now
and here is the gs command in my filter:
0 %! filter /usr/local/bin/gs -q -dSAFER -dNOPAUSE \
-dMicroweave -r720x720 -sDithering="hscmyk" -sPAPERSIZE=letter \
-sDEVICE=stcolor -sOutputFile=- -
0 \004%! filter /usr/local/bin/gs -q -dSAFER -dNOPAUSE \
-r360 -sDEVICE=stcolor -sOutputFile=- -
As it was formatted by magicfilter's filters Makefile, with some
additions by me. This is the filter that I was using before I upgraded to
Slakware 3.4, so I'm not sure what the problem is. I'm using the same
ghostscript (5.03) and the same Netscape (4.04--although I think this is
more a Postscript printing problem, since I've tried printing .ps files
from several programs--including gs).
send me mail. I appreciate your effort! :-)
My homepage: http://people.unt.edu/~mev0003/
University of North Texas BCIS department: http://www.unt.edu/bcis