Hi,

My company charge me to make an application to convert any file type to pdf. I have acrobat 7.0 professional and acrobat distiller.

I've not find any solution with adobe COM element and try to make it with comand line using distiller.

The problem is that distiller only accept postscript file as input and i need to convert any file type. :sad:

I take my example from a previous post on this forum:

http://www.daniweb.com/techtalkforums/thread2459.html

How can i give a other file format to distiller or how can i convert my files to PS file.

I try to use acrobat but there are no comand line and i need to hide the printer prompt too.

Thank you for your help...

I Thing you can also use the Printing class to do it. So you can "easly" choose
Acrobat as your Printer.

Try it

... best regard

I Thing you can also use the Printing class to do it. So you can "easly" choose
Acrobat as your Printer.

Try it

... best regard

Thank you for your answer Guino.

Wich printing class are you talking about? Can you give me a short example?

I've tried to do this with de printdocument class but i was only able to print txt files.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.