Place dynamic page numbers

Since version 8.0, pdfToolbox supports a variety of information using static as well dynamic text in a PDF file. Different fonts, sizes, colors, placement options and other design specifications can be added.

In this tutorial the dynamic text functionality is used. Page numbers are added in the PDF file.

Apply the predefined Fixup

Apply the Fixup "Place page number in left or right corner" on "Page numbers_Demo file.pdf"

Apply the Fixup "Place page number in left or right corner"
  1. In the search field, look for "Place page number in left or right corner".
  2. Select the predefined Fixup "Place page number in left or right corner".
  3. Click "Fix".

The processed PDF file

On each page, the page number is added. The page number is placed in the lower outside corner (right odd pages; left even pages). After "/", the total page count is also mention. The font is "Arial" in a 12 pt size.

In the next steps, you will learn how to determine the page numbers with other design specifications.

  1. Close the processed PDF file.

Modify the Fixup

  1. Duplicate the original Fixup and save the duplicated Fixup as "Place page number in left or right corner (without total number of pages)".
  2. Change the description of the Fixup in "Places the page number at the lower left corner on even pages and at the lower right on odd pages.".
  3. Toggle off "Add total number of pages". (even pages)
  4. Change the font in "Times". (even pages)
  5. Change the font size in "10 pt". (even pages)
  6. Toggle off "Add total number of pages". (odd pages)
  7. Change the font in "Times". (odd pages)
  8. Change the font size in "10 pt". (odd pages)

Apply the Fixup "Place page number in left or right corner (without total number of pages)"

Apply the Fixup "Place page number in left or right corner (without total number of pages)"
  1. Select the Fixup "Place page number in left or right corner (without total number of pages)".
  2. Click "Fix".

Save the output file.

Review the preflight report

Review the preflight report

A green checkmark shows, no errors occurred.

The processed PDF file

On each page, the page number is added. The page nummer is placed in the lower outside corner (right odd pages; left even pages). The font is changed to "Times" in a 10 pt size. The total page count is removed.