PrintSilentPages - Acrobat Reader X
hey friends,
i appreciate question. stumped why code below not print. using c++ 6.0 , want print pdf (with printsilentpages supplied acrobat sdk) have stored on computer. code compiles fine , seems should work nothing prints. have researched extensively without success.
additional information:
i on windows 7 64-bit machine (don't believe matters)
i using adobe acrobat sdk x
have adobe reader x 10.1.4 installed
i able work using shell command scenario need through sdk.
i have tried acrobat 9 sdk.
i hoping there experience or expert can me out.
thank in advance reading post!
[code]
coleexception e;
cacroavdoc * pacroavdoc = new cacroavdoc();
pacroavdoc->createdispatch(text("acroexch.avdoc"), &e);
cstring strpathname = "c:\\artawork\\pdf\\";
cstring strfilename = "examplepdf.pdf";
pacroavdoc->open(strpathname, strfilename);
pacroavdoc->printpagessilent(0, 2, 1, 1, 1);
pacroavdoc->close(1);
[/code]
this code needs acrobat, not reader.
More discussions in Acrobat SDK
adobe
Comments
Post a Comment