943,741 Members | Top Members by Rank

Ad:
Jan 7th, 2004
0

Adobe ACrobat Switches - Need to Save Automatically

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
BJ JMU is offline Offline
1 posts
since Jan 2004
Jan 27th, 2004
0

Re: Adobe ACrobat Switches - Need to Save Automatically

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


Quote 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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RaYmAn is offline Offline
1 posts
since Jan 2004
Mar 22nd, 2006
0

Re: Adobe ACrobat Switches - Need to Save Automatically

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,...)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lucasd is offline Offline
3 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows NT / 2000 / XP Forum Timeline: Im New Here, Need Some Help
Next Thread in Windows NT / 2000 / XP Forum Timeline: 301 redirect





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC