These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to convert .pdf to .eps?

prabudass
Registered: Aug 14 2008
Posts: 71

I need to convert the .pdf file as .eps file(save as the .pdf file to .eps) through programmatically. Kindly advice me with samples.

Thanks,
Prabudass

My Product Information:
Acrobat Pro 8.0, Windows
prabudass
Registered: Aug 14 2008
Posts: 71
Anyone please help me.

Thanks in advance,
Prabudass
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
With JavaScript you'd use the doc.saveAs method and specify the appropriate cConvID parameter. More information is in the Acrobat JavaScript reference.

George
prabudass
Registered: Aug 14 2008
Posts: 71
Hello George,

Thanks for your response. As per your advice i coded, but it throws following error. Could you please give some sample code. Please help me.

code:
-------
var myDoc = app.openDoc("D:\main1.pdf");
var envPath = "D:\out.eps";
myDoc.saveAs(envPath);
myDoc.closeDoc(true);



ReferenceError: envPath is not defined
1:Console:Exec
undefined


Thanks in Advance,
Prabudass
prabudass
Registered: Aug 14 2008
Posts: 71
Anyone please help me!!!