These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

PrintParams object

arghya.mp
Registered: Jul 18 2007
Posts: 8

Can I use PrintParams object in web page Java script for embedded PDF document?

My Product Information:
Reader 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Acrobat JavaScript is Acrobat JavaScript and HTML JavaScript is HTML JavaScript. Neither will work in the other's environment. The only thing that is the same between the two is the Core language. This is true for all JavaScript environments. Each is written for a specific application and will only work cross-environment if an explicit bridge is written. No such thing exists for Acrobat to HTML.

However there is a rather unreliable message passing mechanisim. See this example and look up the "HostContainer" object in the Acrobat JavaScript Reference.

[url=http://www.windjack.com/WindJack/Browser2PDF/brwsr2acroJS.htm]http://www.windjack.com/WindJack/Browser2PDF/brwsr2acroJS.htm[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script