Variables

You can use variables to add text to your PDF document which may:

Instead of typing this information in a text box, you can use variables to provide the required information. The actual text of the variable will then be filled in automatically when you run the Global Change.

You can use the following variables in the following situations:

Variable

Meaning

Example of display

%Current Document Name%

The name of the PDF document.

MyDesign.pdf

%Full Document Path%

The file name of the PDF document with its full path.

C:\Users\ancu\downloads\Info.pdf

%Time%

The current time in your time zone.

Format: hh:mm:ss

09:50:29 (meaning 9.50 a.m., 29 seconds)

%UTC Time%

The current time in the Coordinated Universal Time (UTC) zone. UTC is an alternative name for Greenwich Mean Time (GMT).

Format: hh:mm:ss

08:50:29 (meaning 8.50 a.m., 29 seconds)

%Date%

The current date in a format acceptable for the current language.

January 25, 2008

%UTC Date%

The current date in the Coordinated Universal Time (UTC) zone. UTC is an alternative name for Greenwich Mean Time (GMT).

January 25, 2008

%User Company%

The name of the registered company of PitStop Pro.

Note:
  • If is not registered, the actual value of this variable will be "Trial".
  • If the company has not been filled out in the registration information (when creating an Enfocus user account), this variable will be empty.

Enfocus

%User Name%

The name of the registered user of PitStop Pro.
Note: If PitStop Pro is not registered, the actual value of this variable will be "Trial".

Mary Smith

%Page Number%

The current page number. You can:
  • Modify the page number (Increment/Decrement page numbers with ...). This is useful if you don't want page numbers on certain pages, e.g. the cover page or the table of contents.
    • To increment the page number, enter a positive value, e.g. 2
    • To decrement the page number, enter a negative value, e.g. -2

    Example:

    If the PDF contains a table of contents of 2 pages, the first page number should be printed on page 3. Page 3 will then become "page 1", which means you have to deduct "2" from the actual page number (Increment/Decrement page numbers: -2). Make sure to run the Global change on page 3 and later (run on all pages - 3 - (<last page>).

  • Specify the number of digits to display (Total digits); this will add leading zeros to the actual page numbers. For example, if Total digits is set to "4", page "14" will become page "0014".
This variable is not available for the Global Change "Set Document Info".

4

%Page Count%

The total number of pages in a PDF document. Optionally, you can add leading zeros by entering a value in Total digits.

Note: This variable only returns a number. To print "Page x of y", you must also insert the Page Number variable and the strings "Page" and "of" surrounded by spaces.

Example: Page %Page Number% of %Page Count%

(Page x of) 12

%Document Title%

The title of the PDF document (as displayed in the Document Properties).

Prototype for customer X

%Page Box Dimensions%

Width and height of the selected page box.

Note:
  • The unit depends on your settings in the PitStop Pro preferences (Units & Guides category).
  • This variable is only available for the Global Changes Add Printermarks and Add Variable Text.

21 x 29.1 cm