Solved

Acrobat readed command line switches

Posted on 1998-08-19
1
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

623 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