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

Javascript for printing - Actual Size & Landscape

Explorer ,
Mar 27, 2017 Mar 27, 2017

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.

TOPICS
Print and prepress
1.9K
Translate
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
1 ACCEPTED SOLUTION
LEGEND ,
Mar 27, 2017 Mar 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.

View solution in original post

Translate
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
Community Expert ,
Mar 27, 2017 Mar 27, 2017

Look at PrintParams in the Acrobat JavaScript Reference.

Translate
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 ,
Mar 27, 2017 Mar 27, 2017

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

Translate
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
LEGEND ,
Mar 27, 2017 Mar 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.

Translate
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 ,
Apr 24, 2017 Apr 24, 2017
LATEST

Thanks.

Translate
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