Page Information

Script for Adobe Illustrator
Latest update 9/27/2021, version 2.3

Add page information to Illustrator artboards. A client request to prep large-format work led to this script. The client requires page information appear on the printed output so cutting plotter operators can match jobs to their cut files. I searched for a tool to achieve this but found few results, and none capable of my specific desires. So time to open a code editor and whip up something of my own, shared here to help others with similar needs.

  • Add static text combined with dynamic placeholders
  • Select or create layer on which to add page information
  • Page information added to all artboards
  • Define position and alignment
  • Position relative to artboard or contents of selected layer
Page Information screen
Page Information

You decide. Reward the author an
amount the solution is worth to you.

How-to Video

How to use the script

The interface has five sections outlined below. Set options as desired and click OK to create the page information, which is added to all artboards in the active document (the document currently open and the top-most window if multiple documents are open).

Section 1: Information text

Information text — enter the desired text. Below the input field are placeholder definitions, each within braces. When added to the text (include the braces), each placeholder is replaced by the associated value.

{F} File name — the document file name without extension.

{E} File extension — the document file extension.

{FO} Folder name — name of the folder where the document file is located.

{D} Date — the current date (MM/DD/YYYY).

{T} Time — the current time (HH:MM AM/PM).

{A} Artboard — the artboard number. Begins at 1 and increments for each artboard of the document.

{W} Width — the artboard width. Measurement units match the current ruler units.

{H} Height — the artboard height. Measurement units match the current ruler units.

{R} Ruler units — the current ruler units, and units for artboard width and height.

Section 2: Layer and font

Add text to layer — from the drop-down list, select the desired layer to which page information is added. If the layer does not exist, the list also includes the choice [Create 'information'], which creates a new layer of the name.

Color — the color applied to the information text. Select Registration, Black, or from the drop-down list, any other swatch present in the document. If the swatch does not exist, the list also includes the choice [Create 'information'], which creates a new swatch of the name, color set to 100% black.

Font button — opens a new window to set the font name and size used for the information text. The current font name and size are listed to the right of the button.

Page Information select font

For long font lists, use the input field Filter font names to narrow the list to a specific name. Select the desired font in the list. Lower, enter the desired font size in points. Click OK when the font name and size are set as desired, or Cancel to ignore any changes.

Section 3: Position

Position — the artboard margin in which page information is placed.

Offset — the distance page information is placed from the selected reference (set below).

Inches, mm, points — the measurements units for Offset. Also applies to Left/Right indent (below), which is automatically updated when measurement units change.

Relative to — the reference from which page information is placed. Artboard places page information inside the artboard area, the value of the Offset away from the artboard edge. Layer places page information outside the selected layer's contents, the value of the Offset away from the contents.

Section 4: Alignment

Alignment — the paragraph alignment applied to the line of information text.

Left/Right indent — an amount, in the same measurement units set above, that the line of information text is indented, from the left when Left alignment is selected, or from the right when Right alignment is selected. Center alignment is always equal indents, in which case any value set here is ignored.

Section 5: Settings

The current options may be saved and restored later. Select from the Load drop-down list to choose saved settings, and the current options are updated. Click the Delete button, and the saved settings selected in the Load drop-down list are permanently removed. Click the Save button, provide a name for the settings, and the current options are preserved. If the name already exists, the user may choose to replace the saved settings. Or click the checkbox Replace settings, and choose the settings to replace.

The script provides default saved settings named [Default]. These settings cannot be deleted but may be updated to the current values. Save settings, click the checkbox Replace settings, and choose [Default].

Each time processing begins, the current options are preserved, and the next time the script is launched, options are restored to the last values used.

Page Information

License details included in download

For help installing scripts, see How to Install and Use Scripts in Adobe Creative Cloud Applications.

IMPORTANT: by downloading the script you agree that the software is provided without any warranty, express or implied. USE AT YOUR OWN RISK. Always make backups of important data.