SAP Adobe PDF Form

New Here ,
Jun 21, 2022 Jun 21, 2022

Copy link to clipboard

Copied

- I have one requirement where the form should be printed duplex or simplex based on condition of country.

I found one code -

var pp = this.getPrintParams(); pp.DuplexType = pp.constants.duplexTypes.DuplexFlipLongEdge; this.print(pp);

Not sure how to use this for the requirement and where to write the code i.e in which event it should be written. Any help or hint is appreciated

TOPICS
JavaScript , PDF forms

Views

31

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 21, 2022 Jun 21, 2022

Copy link to clipboard

Copied

LATEST

You'd need to add a button to the PDF, which has code like this (of course, the code would need to check the country, to set the options right).  You cannot affect what happens if the user ignores your button and prints another way.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines