How can I change the Printer Settings like Printer name and print a PDF document from a web page? I have written code in javascript but it is opening the PDF Print dialog. I want to bypass that. See my code :
function doit() {
var x = document.getElementById("doodad");
x.click();
x.setActive();
x.focus();
x.print();
}
howdy
If i write Print(False) It wont open dialog but printing not done. What should I do?
My Product Information:
Reader Standard 8 / Windows
Offline

Communication between Acrobat and HTML is dubious at best. You can do this but from JavaScript but it's not reliable. There may be other methods using the Acrobat OCX from the browser.
But for JavaScript you will need to use the "HostContainer" object. Take a look at this and related objects in the Acrobat JavaScript Reference and the Guide. Then look at this example.
http://www.windjack.com/WindJack/Browse … acroJS.htm
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in