Page Information

Script for Adobe Illustrator
Latest update 9/28/2022, version 3.8

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
Download
Page Information

FREE to download
Please make a contribution

Many scripts are free to download thanks to the support of users. Help me keep developing new scripts by supporting my work. Click the button to make a contribution of any amount. Thank 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). If page information was added previously, the prior text is removed before creating page information again. This is useful for updating the date and time, which are the moment page information is added.

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.

{AN} Artboard name — the artboard name.

{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

Layer — select the layer to which information text is added. The script looks for a layer named Information, and selects it if the layer exists. If not, the script offers to create it, and includes in the list the choice [Create 'Information'], which creates a new layer of the name atop all other layers. Or choose any other layer.

Swatch — the swatch used to color the information text. The script looks for a swatch named Information, and selects it if the swatch exists. If not, the script offers to create it, and includes in the list the choice [Create 'Information'], which creates a new swatch of the name colored 100% black. Or choose any other swatch.

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). The value may positive or negative, for example, to position the page information off the page. Select the measurement units in the drop-down list.

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 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. Select the measurement units in the drop-down list.

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].

Many scripts are free to download thanks to the support of users. Help me keep developing new scripts by supporting my work. Click the button to make a contribution of any amount. Thank you.
Download
Page Information

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

Also available for hire to program custom solutions. Contact William for more information.

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