If the files in question are already signed and you want to add such a button post-facto... this is not possible without invalidating the original signature.
If you need that button for new signatures yet to be created... According to the PortableSigner
site you link to, such an active signature visualization can be added, by default it is positioned on an additional, new page.
The GUI is documented to allow putting it alternatively on the first or last existing page at a given position. I cannot find any documentation on the site indicating the same is possible on the command line, only the following parameters currently are documented there:
-b <arg> Append signature block [german|english|polish] as
parameter
-c <arg> Comment under signature block (text)
-f If this is set, the document is NOT finalized
-h Help (this page)
-i <arg> Image file for signature block
-l <arg> Contents of "Location" - field (text)
-n Without GUI
-o <arg> Outputfile (PDF)
-ownerpwd <arg> Owner password
-ownerpwdfile <arg> Owner password file
-p <arg> Signaturepassword
-pwdfile <arg> Password file
-r <arg> Contents of "Reason" - field (text)
-s <arg> Signaturefile (P12 or PFX)
-t <arg> Inputfile (PDF)
But probably that part of the documentation is out of date. At first glance the source additionally seems to know a -e
(embedding parameters: 3 floats separated by commas: vertical position, left margin, right margin) and a -z
(first page) option.
So I assume adding the options
-z
-e 15,3,3
-i imagefile
will do the trick. (Maybe -b
is required, too.)
PS: For an overview which changes to a signed PDF are allowed or disallowed, cf. this answer.