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

packageForPrint

Community Beginner ,
Jan 16, 2020 Jan 16, 2020

Hi all, 

I need some instruction or examples about use packageForPrint() method.

Many thanks,

Sergio

TOPICS
How to , Scripting
715
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 ,
Jan 16, 2020 Jan 16, 2020

packageForPrint() is a document method. Here are the parameters:

 

https://www.indesignjs.de/extendscriptAPI/indesign10/#Document.html#d1e47196__d1e49964

 

packageForPrint (to:File, copyingFonts:Boolean, copyingLinkedGraphics:Boolean, copyingProfiles:Boolean, updatingGraphics:Boolean, includingHiddenLayers:Boolean, ignorePreflightErrors:Boolean, creatingReport:Boolean, includeIdml:Boolean, includePdf:Boolean, pdfStyle:String, versionComments:String, [forceSave:Boolean=Boolean])

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 ,
Jan 16, 2020 Jan 16, 2020
LATEST

Hi Sergio,

depending on the version of your InDesign there are some pitfalls with packageForPrint(). See especially:

https://community.adobe.com/t5/indesign/cc2018-js-dom-change/m-p/9592103

 

There is a new argument with version 13 and unfortunately it was NOT added after all other arguments.

 

Regards,
Uwe Laubender

( ACP )

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