Hello.
I apologize in advance, as english is not my native language.
I'm using the pre-built JAR.
The example for stamping all pages seems to stamp only the first one. No error is shown.
Providing a range of pages throws an error: "1-2 is not a valid value for -p". I can't find a way to provide a wildcard either.
Using -p 1,2 also doesn't work (although it's the suggested syntax). Doing -p 1 -p 2 -p 3 -p 4 -p 5 works, but makes it very hard to automate for variable page-count PDFs.
Being able to do "-p ALL" or "-p 0" for all pages would make sense. Also "-p 1-100" for the first 100, or "-p -10-1" for the last 10 pages (which, again, should be supported but I couldn't make work in the JAR).
If "-p" is missing (as it's optional) shouldn't the array of pages to stamp be the full getNumberOfPages() ? It seems it's picking the first page only.
(Perhaps the .jar is from an older source?)