add-page-numbers
Add page numbers to a PDF with customizable format, position, font, and starting number. Specify which pages to number or skip the cover.
Instructions
Add page numbers to a PDF document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF file path or URL to add page numbers to | |
| text | No | Page number format (use {n} for page number, {p} for total pages) | {n} |
| pages | No | Page selection (e.g., "1-3,5,7-10" or "all") | |
| fontSize | No | Font size in points | |
| fontColor | No | Font color in hex format (e.g., #FF0000) | #000000 |
| fontStyle | No | Font style | |
| outputDir | No | Output directory path | |
| firstCover | No | Skip numbering on first page (cover) | |
| fontFamily | No | Font family | Arial |
| facingPages | No | Enable facing pages mode | |
| outputFilename | No | Custom output filename | |
| startingNumber | No | Starting page number | |
| verticalPosition | No | Vertical position | bottom |
| horizontalPosition | No | Horizontal position | center |