Skip to main content
Inspiring
February 28, 2018
Answered

Print centered and scale up to 140%

  • February 28, 2018
  • 2 replies
  • 826 views

Dear Script users,

I'm having trouble with the getPrintParams​.

This what I want.

This is what I have so far:

var pp = this.getPrintParams(); 

pp.tileScale = .140;

this.print(pp);

But nothing works.

The page has to center and scaled op 140%. Is this even possible with JavaScript?

Greatings!

This topic has been closed for replies.
Correct answer try67

This property only works if the document is being printed in tiles.

If it's not you can't specify a specific scale value, only a scale setting, like None, Fit, Shrink, etc.

2 replies

Inspiring
February 28, 2018

Ok, thanks for the reply!

I will use an different approach.

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
February 28, 2018

This property only works if the document is being printed in tiles.

If it's not you can't specify a specific scale value, only a scale setting, like None, Fit, Shrink, etc.