Introduction
Acrobat Reader can't be driven using Automation. Only few restrictive DDE
messages has been defined by adobe to control reader from outside.
This class maps some usefull DDE messages that will allow you open, seek,
print and close a file in acrobat.
Background
The DDE message description can be downloaded from the Adobe web site
(IACReference.pdf)
Using the code
Using the class is simple :
#include "ReaderWrapper.h"
CReaderWrapper ReaderDemo("d:\\test.pdf");
ReaderDemo.DocOpen();
ReaderDemo.GoToPage(4);
ReaderDemo.FilePrintSilent();
ReaderDemo.DocClose();
ReaderDemo.ExitAcrobat();
History
- 1.1 (2004/11/09) First release.