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

Explorer ,
Jan 08, 2019 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

116

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

correct answers 1 Correct Answer

Adobe Community Professional , Jan 08, 2019 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
Adobe Community Professional ,
Jan 08, 2019 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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 09, 2019 Jan 09, 2019

Copy link to clipboard

Copied

LATEST

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

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