StampPDF Plug-in uses a built-in variable for Bates Numbering. In the stamp dialog, click on the down arrow next to “Codes” and select “Bates Number” from the list, then hit the “Insert” button. The variable will appear above in the “Text” field as %J. If you would like to start numbering at a number other than 000001, place the number to start in between the % sign and the J. For example, to start numbering at page 000501, use %501J in the Text parameter. StampPDF Plug-in will insert the leading zeros.