Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi all,
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.
Regards,
V.Amar
Idola Fori Design Works Limited
Hyderabad
India