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

JavaScript para impresion en Indesing

New Here ,
Nov 10, 2021 Nov 10, 2021

Copy link to clipboard

Copied

Quiero saber si existe una forma de darle una funcion JavaScript a un boton en indesign

Lo hago desde acrobat una vez exporado el PDF pero cada cambio que tiene el documento tengo que volver a programar cada boton en el PDF

La función es para imprimir un rango determinado de páginas de un archivo

Uso por ejemplo 
this.print({
bUI: true,
nStart: 1,
nEnd: 7
});

Lo que imprime de la pagina uno a la 7

Alguién sabe si es posible directamente programarlo por unica vez en indisign?

Muchas gracias!

TOPICS
Feature request , Print , Scripting

Views

161

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
Community Expert ,
Nov 11, 2021 Nov 11, 2021

Copy link to clipboard

Copied

Hi Mariano,

no. That's not possible.

 

You should be able to do that by using the FormMaker Pro script for InDesign written by Timothy Ariel Walden:

https://www.id-extras.com/products/formmaker/

 

There is a feature restricted free version for testing the workflow.

 

Regards,
Uwe Laubender

( ACP )

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
New Here ,
Nov 11, 2021 Nov 11, 2021

Copy link to clipboard

Copied

Thanks so much!

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
Community Expert ,
Nov 11, 2021 Nov 11, 2021

Copy link to clipboard

Copied

LATEST

Hi Mariano,

theoretically, but practically too much work and effort, there is a chance to do what you want in InDesign "alone".

 

But this requires an old workflow from the last century.

One could program a special EPS file where the whole form is pre-programmed and well, I assume, that some JavaScript for Acrobat could be part of it. The EPS must be placed on an InDesign page, the page must be printed to PostScript and distilled to PDF using Acrobat Distiller.

 

The name of the "technology" behind this is pdfMarks.

 

Just to give you a glimps what could be possible:

https://planetpdf.com/planetpdf/pdfs/pdf2k/03e/mead_pdfmarkrecipes.pdf

https://planetpdf.com/planetpdf/pdfs/primer.pdf

https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/pdfs/acrobatsdk_pdfmark.pdf

 

 

FWIW: The mentioned EPS could be written by ExtendScript for InDesign.

It could be placed by ExtendScript, the PostScript file could be written by ExtendScript and the resulting PostScript file could trigger Acrobat Distiller if a hot-folder is setup with Acrobat Distiller.

 

Regards,
Uwe Laubender

( ACP )

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