• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Print centered and scale up to 140%

Participant ,
Feb 28, 2018 Feb 28, 2018

Copy link to clipboard

Copied

Dear Script users,

I'm having trouble with the getPrintParams​.

This what I want.

Schermafbeelding 2018-02-28 om 16.51.38.png

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!

TOPICS
Acrobat SDK and JavaScript , Windows

Views

458

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

Community Expert , Feb 28, 2018 Feb 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.

Votes

Translate

Translate
Community Expert ,
Feb 28, 2018 Feb 28, 2018

Copy link to clipboard

Copied

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.

Votes

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
Participant ,
Feb 28, 2018 Feb 28, 2018

Copy link to clipboard

Copied

LATEST

Ok, thanks for the reply!

I will use an different approach.

Votes

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