Adobe ACrobat Switches - Need to Save Automatically

Reply

Join Date: Jan 2004
Posts: 1
Reputation: BJ JMU is an unknown quantity at this point 
Solved Threads: 0
BJ JMU BJ JMU is offline Offline
Newbie Poster

Adobe ACrobat Switches - Need to Save Automatically

 
0
  #1
Jan 7th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 1
Reputation: RaYmAn is an unknown quantity at this point 
Solved Threads: 0
RaYmAn RaYmAn is offline Offline
Newbie Poster

Re: Adobe ACrobat Switches - Need to Save Automatically

 
0
  #2
Jan 27th, 2004
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


Originally Posted by BJ JMU
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
Last edited by RaYmAn; Jan 27th, 2004 at 11:41 pm.
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 3
Reputation: lucasd is an unknown quantity at this point 
Solved Threads: 0
lucasd lucasd is offline Offline
Newbie Poster

Re: Adobe ACrobat Switches - Need to Save Automatically

 
0
  #3
Mar 22nd, 2006
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,...)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows NT / 2000 / XP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC