pages

Specifies one or more page sets to which the subsequent barcode, text and replace commands are applied.   

Syntax

pages PageSet [, PageSet [, ...]]

Parameters

PageSet

Page sets are specified as follows:  

all all pages (the same as 0)
even all even pages
odd all odd pages
first first page (the same as 1)
last last pages of the file
last-N Nth page from the last page. e.g. last-1 means page before last

Notes

Examples

Apply barcode with different position for odd and even pages

input "input.pdf"

  pages odd

   barcode right=0.75, bottom=0.1, ${CustomerID}${formID}${page?00}

  pages even

    barcode right=1.25, bottom=0.1, ${CustomerID}${formID}${page?00}

Use multiple pages sets in a single page command

pages 2, 5, 7, 12-17, last

pages odd, 4-7    # pages 5,7 are in both ranges will be used only once

Syntax legend
 

Format

Meaning

Italic

Information that the user must supply
 

Bold

Elements that the user must type exactly as shown.

Between brackets ([])

Optional items
 

Ellipsis (...)

Parameter that can be repeated several times