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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 Not sure if you can do it directly, you probably need to read in the PDF, convert it into XML and then reconvert it back to PS.

  Take a look here for some libraries to read/write PDF documents (some require a commercial licence):

  and here you can find some products that convert XML to PS (some are commercials):

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sentosa_ganiAuthor Commented:
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.
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

sentosa_ganiAuthor Commented:
o yea... u suggest to convert a pdf into XML, but where to find that one? =S
 The link I posted ( 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.
sentosa_ganiAuthor Commented:
okay... I will ask xpdf people about the portability in Java too....
sentosa_ganiAuthor Commented:
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
sentosa_ganiAuthor Commented:
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.
sentosa_ganiAuthor Commented:
hmm.. in the end i can't find the solution, but thanks for all your help anyway...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Document Imaging

From novice to tech pro — start learning today.