Solved

Acrobat readed command line switches

Posted on 1998-08-19
1
228 Views
Last Modified: 2013-12-03
I know this may not be the right place, but anyway.

Acrobat Reader 3 under Windows 95/98

I need to print pdf documents from a command line without any user intervention.

So far I've worked out that:

'acrord32.exe /p c:\name.pdf' will print a document but ask for confirmation of print, where as:

'acrord32.exe /p /h c:\name.pdf' will automatically print a document then close said document, but...
it doesn't 'shrink to fit' even if this is previously set, can someone tell me if this is possible and what the other command line switches are.

Thanks,
Antony
0
Comment
Question by:antony061897
1 Comment
 
LVL 8

Accepted Solution

by:
Answers2000 earned 100 total points
ID: 1413672
There doesn't appear to be a description of the command line switches anywhere I can find.

You can change the behaviour of the Acrobat reader considerably by writing to the Acroread.ini file (e.g. using WritePrivateProfileString) before kicking it off.

I couldn't find an INI documentation for Acrobat 3, but documentation for v2 is at
http://www.adobe.com/supportservice/custsupport/SOLUTIONS/2af2.htm
And it seems to be similar (2 seems to mostly be a subset of my v3 INI file).

Looking in AcroRead.INI (v3)there is an item called ShrinkToFit under [AdobeViewer], trying setting this to 1 (it's 0 on mine), this isn't documentated anywhere I know of, but I think will work.

All this is complicated but how many versions of Acrobat 3 are in circulation and poor documentation.

Good luck.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short film showing how OnPage and Connectwise integration works.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now