Skip to main content
Participant
September 12, 2017
Question

Help create script in print button

Hi, please help me.

i create a button and input under script, it's run when click button:

var pp = this.getPrintParams();

pp.firstPage = this.pageNum;

pp.lastPage = pp.firstPage;

pp.interactive = pp.constants.interactionLevel.full;

this.print(pp);

When i create sercurity for that file and dissable default print then it not working.

How to validate form before print document?

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Legend
September 13, 2017

You can't.

Translate
Legend
September 12, 2017

To run scripts, security must allow form filling.

Translate
Participant
September 13, 2017

How to enable security from javascript? i have password for edit field.

Translate