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

Button to print to Adobe PDF as image?

bobofkentucky
Registered: Dec 1 2010
Posts: 3

I wish to create a Javascript button that will automatically print the open document to the "Adobe PDF" printer, AND print it as an image with 300dpi.
 
I currently have to go into advanced settings each time I wish to toggle this option. Does anyone know how to program this?

My Product Information:
Acrobat Pro 10.1, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi,

you can do this with javascript.
  1. var pp = this.getPrintParams();
  2. pp.printAsImage = true;
  3. pp.printerName = "Adobe PDF";
  4. this.print(pp);
You can add this to a button's mouse up/down event or execute it from the console (ctrl + j).

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs