Script for printing pages, all pages are printing in different sizes, not fitted

Explorer ,
Jan 08, 2019

Copy link to clipboard

Copied

Good evening, I made a script to print specific pages in a range from my document, except that the page information being printed are all different dimensions on the paper.

Here is my script:

print.this(false, 0, 6);

print.this(false, 7, 23);

Is there a sepcific printer setting I must use, to make the pages print out correctly?  Any help would be wonderful, I intended the pages to print out, "fitted."

Thank you!

TOPICS
Acrobat SDK and JavaScript, Windows

Views

109

Likes

Translate

Translate

Report

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

1 Correct Answer

Most Valuable Participant , Jan 08, 2019
try67 Most Valuable Participant , Jan 08, 2019
You can specify the bShrinkToFit parameter as true, like this:this.print({bUI: false, nStart: 0, nEnd: 6, bShrinkToFit: true});

Likes

Translate

Translate
Jump to answer Jump to answer
Most Valuable Participant ,
Jan 08, 2019

Copy link to clipboard

Copied

You can specify the bShrinkToFit parameter as true, like this:

this.print({bUI: false, nStart: 0, nEnd: 6, bShrinkToFit: true});

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Ryan_Oliver_02445 AUTHOR LATEST
Explorer ,
Jan 09, 2019

Copy link to clipboard

Copied

All the pages are now printing in the correct sizes, thank you!

Likes

Translate

Translate

Report

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