Link to home
Start Free TrialLog in
Avatar of sentosa_gani
sentosa_gani

asked on

Converting PDF to PostScript using Java JAR or open-source

Hi All, I have a question of how to convert PDF file into PostScript file in a Java-based environment as I was doing a java project, and I need the thing to be in Java. It could be a JAR format or a Class format, either one is okay. I have searched google and found out a XPDF. I want something like it, except that XPDF convert PDF to PS using C++ library, and what I need is in Java.
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sentosa_gani
sentosa_gani

ASKER

Hmmm.....
that's a suggestion. Anyway I still need a Java-based for those idea (in the sense that, it is open source or in jar format/class) . I'll check it first, and if I found it, I will reward the point =)
 Not sure if you can find one. If you are willing to sacrifice portability for functionallity you can always use the Runtime.getRuntime().exec() to do it.
o yea... u suggest to convert a pdf into XML, but where to find that one? =S
 The link I posted (http://www.geocities.com/marcoschmidt.geo/java-libraries-pdf.html) should point you to the right place.
I wrote to the xpdf people and asked them about a java port.  They said that they only had a few requests for it.  Maybe if more people wrote to them they might provide a java port.
okay... I will ask xpdf people about the portability in Java too....
To girionis, I still can't find the link to convert PDF to XML. THe link that you gave me is for reading PDF mostly
To girionis, I still can't find the link to convert PDF to XML. THe link that you gave me is for reading PDF mostly
 Yes you will have to define the XML structure yourself.
hmm.. in the end i can't find the solution, but thanks for all your help anyway...