Need to create a script to sign multiple pdfs without much user interaction

979 views
Skip to first unread message

Brandon Welch

unread,
Dec 8, 2016, 10:19:43 AM12/8/16
to JSignPdf
Good morning,

I need a great deal of help as I am not a coder, I don't know anything about java but I am highly skilled with computers as I am a desktop technician.

Basically I have these documents that are PDFs that need to have signatures placed in a specific location, they are the same size (24x36).

So yesterday I played around with what was possible and I came up with the start of my script here below:

java -jar jsignpdf.jar -kst WINDOWS-MY "C:\Example.pdf" -d "C:\Signed\*.pdf"

It is extremely basic in nature but I need to modify it greatly to include the following:

Prompt user for location of file(s) to be signed.  Select which files need to be signed by specifying entire folder or single file.

Prompt for output location.

Append created digital signature with password to same location on every pdf.

Ask to sign entire document or certain pages.


This was thrust upon me in hopes that I could find a better way to automate the signing of hundreds of pdfs so that my customers don't have to open each file individually in the case of several things needing signed.

If however they need to edit just one page they can open that no problem.

If anybody is willing to help me figure this one out I would more than appreciative of it $.

matthi...@unleash.at

unread,
Nov 10, 2017, 5:25:30 AM11/10/17
to JSignPdf
Hey,

i also would need this modification.
is there any solution for batch signing 100 pdfs at once?

thank you

Josef Cacek

unread,
Nov 10, 2017, 5:43:01 AM11/10/17
to JSignPdf forum
You can sign multiple files at once - either by providing file names
one by one as command line arguments or by using wildcards (?, *) -
e.g. "invoice*.pdf"

-- jc
> --
> You received this message because you are subscribed to the Google Groups
> "JSignPdf" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jsignpdf+u...@googlegroups.com.
> To post to this group, send email to jsig...@googlegroups.com.
> Visit this group at https://groups.google.com/group/jsignpdf.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages