Skip to main content
Ryan_Oliver_02445
Known Participant
January 8, 2019
Answered

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

  • January 8, 2019
  • 1 reply
  • 824 views

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!

This topic has been closed for replies.
Correct answer try67

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

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

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
January 8, 2019

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

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

Ryan_Oliver_02445
Known Participant
January 9, 2019

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