Reputation: 11
Could you please help me to find a way to convert the PDF
file to XPS
file with java programmable? Is it possible to do that as freeware library??
Upvotes: 1
Views: 1228
Reputation: 37576
Its not the best solution but according to this thread you can use ghostscript (invoking command line command) to convert the PDF to Images, from those images then create an XPS document:
gswin32c.exe -Z, -sDEVICE=png16m-sOutputFile="%04do.png" "temp.pdf"
Upvotes: 1