Re: [Retep-PDF] newbie question.
Status: Beta
Brought to you by:
petermount
|
From: Peter M. <pe...@re...> - 2004-06-09 15:27:54
|
Knight, Lloyd wrote: > i compiled and ran the retep pdf uri example that generates a pdf > from a gif file. works great. > > my goal is to grab a postscript file and convert to pdf using java classes, thus my interest in reteppdf. > (i don't really want to exec the ps2pdf perl script.) > > if i change the SimpleDoc parameter from DocFlavor.URL.GIF to DocFlavor.URL.POSTSCRIPT, > grab a .ps file in my URL method i get an "unsupported mime type: application" Print Exception. > > is this do-able or am i waaaaay off base.... > be kind.... No problem ;-) Currently PS to PDF is not supported. Infact there is no publically open source postscript interpretter available that is written in Java. This in itself is a bit strange to me and I've spent a good part of today looking for one. So far all I've found are references to Toastscript (which was a level 1 interpretter, but has vanished of the face of the earth), references to an example on sun.com (but I can't find it), a dormant project on sourceforge and some postings on the itext lists recently asking about the same thing. So unfortunately unless someone writes a postscript interpretter that I can use, it's not something that's going to be implemented soon (although I do want to get as many DocFlavor's supported as possible). Peter -- Peter Mount pe...@re... http://retep.org/ http://retep.net/ Tel: +44 (0) 1622 749439 Fax: +44 (0) 8701 361620 Mobile: +44 (0) 7838 191423 IM-MSN: ret...@ho... |