OptionalmarginsMargins in PDF points. Default 36 on each side.
Optionalbottom?: numberBottom margin.
Optionalleft?: numberLeft margin.
Optionalright?: numberRight margin.
Optionaltop?: numberTop margin.
OptionalpagesPage numbers (1-based) to apply to; all pages by default.
Text at each position: a string, or an object with the text and its font name, size and color ('#rrggbb').
Header / footer / Bates: text at each position (a string, or with font, size and color '#rrggbb'); margin in pt (36 by default); pages are page numbers (all by default)