Print-Script: print as PDF and open document

sdfng3zz24h3

29-01-2017

Hey 😃

I created some pdf forms where it is very important to preview the pre-print state frequently.

Since there is apparently no solution for a preview button I have another idea:

Is is possible to add a scripted print-button which prints the document as a pdf-file and opens it immedietly?

(It would propably be even better if the pdf-file would be saved to the %temp%-folder.)

I appreciate every help 😃
Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

akgrimes

27-07-2017

I used this script and it worked:

  1. var pp = event.target.getPrintParams(); 
  2.     pp.printerName = "Adobe PDF"
  3. event.target.print(pp); 

Answers (4)

Answers (4)