Netscape/Postscript Printing problems

Netscape/Postscript Printing problems

Post by Matthew Eric Vanec » Tue, 03 Mar 1998 04:00:00



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.

I've tried this with xfs and xfstt.  In my last installation, I was using
xfstt, and it worked fine.

I no longer have the source for gs--I compiled the source and put
everything from the 'make install' into a .tgz.  That was version 5.03.
I've also tried v3.33.  Both have my device in there (stcolor).

I upgraded to Slakware 3.4 from 3.3 and am using Netscape 4.04  Like I
said, I was able to print with my current setup (GS 5.03, xfstt, NC 4.04,
and other PS docs).  My printcap and print-filter are the same as before
the upgrade.

Does anybody have any ideas?

--
Matthew Vanecek


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

 
 
 

Netscape/Postscript Printing problems

Post by Clyde Ricke » Tue, 03 Mar 1998 04:00:00



> 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.

 
 
 

Netscape/Postscript Printing problems

Post by Jesse Weiger » Tue, 03 Mar 1998 04:00:00



> 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.

I had the exact same problem.  I finally decided I'd download the newest
version(which was 5.10) I went crazy trying to compile it, but when it
finally compiled, it actually worked.  No more findfont errors.  I get
graphics and everything!

--
-Jesse Weigert

 http://mid.home.ml.org
 Don't worry about what other people are thinking about you;
 they are too busy thinking about what you are thinking about them.

 
 
 

Netscape/Postscript Printing problems

Post by Matthew Eric Vanec » Wed, 04 Mar 1998 04:00:00




> > 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
# details.

lp|
        :cm=Epson printers in the study
        :mx#0
# these are server flags, now
        :lp=/dev/lp1
        :sd=/var/spool/lpd/lp
        :af=/var/spool/lpd/acct
        :lf=/var/spool/lpd/lp-errs
        :pl#66
        :pw#80
        :pc#150
        :pr=/usr/bin/lpr
        :if=/etc/epsonlqc-filter
        :sh
        :qq
        :fq

and here is the gs command in my filter:

# PostScript
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).

--
Matthew Vanecek


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

 
 
 

1. Problems printing postscript on a non-postscript printer

I have RedHat 6.0 installed and a Cannon BJC210 printer.  I can print
out basic text using the lpr command, but when I try to do the same with
postscript files or print from any application, I have problems.  Half
the time the printer doesn't do anything, but I'm not exactly sure where
the data is being sent  (e.g. ghostview).  The rest of the time my
printer continually form feeds paper and doesn't print a thing.  Any
suggestions would be much appreciated as solving this problem will
greatly increase my productivity at home.

James

Sent via Deja.com http://www.deja.com/
Before you buy.

2. High Speed Serial Cards

3. PROBLEM PRINTING ASCII (can print postscript though)

4. Using my modem

5. rc.local for nfsd in Solaris 2.3

6. Postscript printing thru Netscape?

7. Where do I get my Linux refund?

8. printing postscript within netscape

9. Print non-postscript on SCO Netscape?

10. PRINTING POSTSCRIPT TO NON-POSTSCRIPT PRINTER - help...

11. print postscript file to non-postscript printer

12. Printing Postscript files on a NON-postscript printer