warning: Creating default object from empty value in /mnt/webp/b0/58/5909458/htdocs/d6/sites/default/modules/i18n/i18ntaxonomy/i18ntaxonomy.pages.inc on line 34.

Update Textvariable before Export

Interesting problem on the Adobe Forum: tha "page information" contained in the printer marks always dsiplays the name of the InDesign document, even if you save the PDF under a different name.

The only solution I can think of is to use a text variable (Type > Text Variables > Define...) to contain the name of the PDF, place that variable in the slug or bleed and update the contents of the variable before exporting.

As usual the updating can be done by script.

This script is proof of concept and can most likely be improved in many regards, it should solve the immediate problem mentioned above, though. Tested in Version CC2015 MacOS.

How to use:

  • Install script
  • Create a text variable named "pageInformation" and put it anywhere, preferably in the slug or bleed on the master page
  • Start the script to export to PDF.

How to install scripts.