It's been days, I have been working for conversion of pro/E drawings to pdf using Jlink. Finally I got one solution (of course, it might not be the only solution available). May be for those who are interested in this, can just follow the instructions below.
1.First download and install GhostScript (avilable for both 32 bit and 64 bit machines). Add bin path of Ghostscript to path environmental variable. Restart your pc.
2. Create PlotInstructions object with plotter name as "postscript".
3. Export your drawing model to post script file.
4. Invoke ghostscript through command using Java Runtime Object and execute the ghostscript's command for conversion of ps to pdf.
Thats it. You will have your pdf file available.
Guys, you should know how to work with Java's Runtime and Process objects to execute command line instructions.
Idola Fori Design Works Limited
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.