Solved

Acrobat readed command line switches

Posted on 1998-08-19
1
227 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 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

16 Experts available now in Live!

Get 1:1 Help Now