Closed ramiromagno closed 10 months ago
The GUI settings are automatically stored in the ${HOME}/.JSignPdf
property file. You can make a copy of it after configuring in GUI and then use -lpf
/ --load-properties-file
to load it in the console/batch run.
# run UI and configure the settings you need
jsignpdf-2.2.2/jsignpdf.sh
# copy the current configuration
cp ${HOME}/.JSignPdf custom-jsignpdf.properties
# use the custom configuration for signing in the batch mode
jsignpdf-2.2.2/jsignpdf.sh -lpf custom-jsignpdf.properties invoice.pdf
I hope, it covers your needs. If not, feel free to reopen and when possible also open a PR with the suggested implementation.
It would be nice to be able to prototype the settings using the GUI and then use them from the command line. Could you make a button to export the settings?