Skip to main content
New Participant
March 27, 2017
Answered

Javascript for printing - Actual Size & Landscape

  • March 27, 2017
  • 1 reply
  • 1781 views

Hi: I have a "print" button on a form (Acrobat Acrobat XI Pro) that I would like to add JavaScript to program page sizing & handling to

- Actual Size

- Landscape

Any help would be appreciated.

This topic has been closed for replies.
Correct answer Test Screen Name

The pageHandling property can be set to a value to suppress scaling: this is in the Acrobat UI. So far as I know there isn't a way to set things in the printer properties, such as media size or orientation.

1 reply

Bernd Alheit
Community Expert
March 27, 2017

Look at PrintParams in the Acrobat JavaScript Reference.

New Participant
March 27, 2017

Thanks Bernd. Which "constant" object controls printParams for - Actual Size & Landscape?

Test Screen NameCorrect answer
Brainiac
March 27, 2017

The pageHandling property can be set to a value to suppress scaling: this is in the Acrobat UI. So far as I know there isn't a way to set things in the printer properties, such as media size or orientation.