bates_number_pdf
Add continuous zero-padded Bates identifiers to PDFs for legal and audit document production. Customize prefix, suffix, position, and digits.
Instructions
Add continuous, zero-padded Bates identifiers for legal and audit document production.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| start | No | First sequence number (default 1) | |
| digits | No | Zero-padded number width, 3-12 (default 6) | |
| margin | No | Margin in points, 0-144 (default 24) | |
| prefix | No | Text before the number, e.g. "CASE-" | |
| suffix | No | Text after the number, e.g. "-CONF" | |
| position | No | Page corner (default bottom-right) | |
| font_size | No | Font size in points, 6-36 (default 10) | |
| output_name | No | Output file path (defaults to same dir with suffix) |