Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to invoke print dialog as soon as pdf is open?

Avatar

Level 1

A pdf template was created using adobe livecycle, then the final pdf is created using pdfMerger. Is there a way to invoke the print dialog as soon as the pdf is open? Is there any javascript thate needs to be used?

1 Accepted Solution

Avatar

Correct answer by
Level 6

I've never used pdfMerger, but have you tried the following in the docReady event as suggested earlier?

event.target.print();

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

I've never used pdfMerger, but have you tried the following in the docReady event as suggested earlier?

event.target.print();

Avatar

Level 1

Thanks George. Your solution worked to perfection. I was looking at all kinds of twisted scipts and all it took was an event. Thanks again.