OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: doug-taylor on October 21, 2005, 03:14:34 pm

Title: Postscript Viewer?
Post by: doug-taylor 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.
Title: Postscript Viewer?
Post by: jfv 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 (http://www.cs.wisc.edu/~ghost/doc/AFPL/6.50/Ps2pdf.htm)) use this
to convert and use qpdf2

Felipe
Title: Postscript Viewer?
Post by: doug-taylor 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.