Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Stamp all pages or range #6

Open
eduo opened this issue Sep 5, 2018 · 0 comments
Open

Stamp all pages or range #6

eduo opened this issue Sep 5, 2018 · 0 comments

Comments

@eduo
Copy link

eduo commented Sep 5, 2018

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?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant