Author Topic: Postscript Viewer?  (Read 2158 times)

doug-taylor

  • Newbie
  • *
  • Posts: 22
    • View Profile
Postscript Viewer?
« on: October 21, 2005, 03:14:34 pm »
Does anyone know of a good postscript viewer?

I have an SL-5500 running the Sharp ROM v3.  I've looked at qpdf2, but it won't do .ps files.  I've also tried Toastscript (from sourceforge), which is a Java-based Postscript viewer, but I don't know enough about Java to be able to figure out how to run it properly.

Thanks in advance.

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
Postscript Viewer?
« Reply #1 on: October 21, 2005, 03:29:40 pm »
You will most likely need X/Qt (which is a stretch on a 5500) to run any postscipt viewer. You can try to port ghostview.

Another solution is to port a command-line postscript to pdf converter (such as ps2pdf, which seems to depend on ghostscript http://www.cs.wisc.edu/~ghost/doc/AFPL/6.50/Ps2pdf.htm) use this
to convert and use qpdf2

Felipe
SL 5000 D  and C860 Sharp ROM
Too many accessories...

doug-taylor

  • Newbie
  • *
  • Posts: 22
    • View Profile
Postscript Viewer?
« Reply #2 on: November 08, 2005, 04:00:32 pm »
Quote
You will most likely need X/Qt (which is a stretch on a 5500) to run any postscipt viewer. You can try to port ghostview.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100408\"][{POST_SNAPBACK}][/a][/div]

Well, I couldn't find anything that worked, so I did wind up porting Ghostview 8.15.  It was a royal pain to compile, and just as big a pain to configure, but I've got it working.  You've got to set some command-line switches to tell it where to find stuff, but it will generate PDFs, BMPs, and PCXs.  That's all I needed, so that's all I tested it on.  No reason it shouldn't produce any file format a normal GS does, though; I didn't fiddle with the source any.

So, um, does anyone want a copy?  I'd put it up on elsix.org, but I don't know how to generate ipk files.  It's set up to run completely from my SD card with links to /usr/lib and stuff where necessary, or I guess you could put it on a CF or the internal drive.