954,176 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Adobe ACrobat Switches - Need to Save Automatically

I am writing a vb program and need to convert a file to pdf. I have not had luck trying to use the distiller/print drivers etc. As of now I am using a command line:

intTestVar = Shell("C:\Program Files\Adobe\Acrobat 6.0\Acrobat\Acrobat.exe " & strFileName)

This opens acrobat and converts the file to a pdf....now I just need it to save automatically without prompting...is there a command line switch that would allow me to save with the default name?

if anyone has links to acrobat command line pages would be great.

-B

BJ JMU
Newbie Poster
1 post since Jan 2004
Reputation Points: 10
Solved Threads: 0
 

I would use Distiller, so make sure that Distiller is installed.

What you will need is the proper switches as well as the input and output filenames as such.

acrodist [switches][inputFiles]

intTestVar = Shell("acrodist /O " & strOutPutFileName & " " & strInputFileName)

where /O = outputFileOrFolderPath

Here is a URL describing the proper parameters.

http://www.adobe.com/support/techdocs/11666.htm



Hope this helps.


Ray


I am writing a vb program and need to convert a file to pdf. I have not had luck trying to use the distiller/print drivers etc. As of now I am using a command line:

intTestVar = Shell("C:\Program Files\Adobe\Acrobat 6.0\Acrobat\Acrobat.exe " & strFileName)

This opens acrobat and converts the file to a pdf....now I just need it to save automatically without prompting...is there a command line switch that would allow me to save with the default name?

if anyone has links to acrobat command line pages would be great.

-B

RaYmAn
Newbie Poster
1 post since Jan 2004
Reputation Points: 10
Solved Threads: 0
 

Hi,

I have the same problem but distiller only accept ps file in input!!!


How can i give him other file (like doc, xls, jpeg,...)

lucasd
Newbie Poster
3 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You