pageRanges (Page Ranges)

The pages ranges property specifies the pages to include.

In the Properties view, this property is the Page ranges property in the PDF category.

To display all pages within a range, use a hyphen, for example, 3-5.

To display all pages from a particular page onward, use a trailing hyphen, for example, 10-.

To specify number of pages from the end, use a dollar sign. For example, 1-$2 includes all pages except the last two pages.

Separate page numbers or page ranges using commas, for example, 1,3,7-10,12-.

Type: String.