Command Line Parameter

You could use following command line parameter with batch “runp.bat” (Windows) or “run.sh” (Linux / MacOS).

Help

long parameter

short parameter

default value

description

long parameter

short parameter

default value

description

--?

--help

-?

-h

dont show help

show a short summary of command line parameters on console

E-Mail

long parameter

short parameter

default value

description

long parameter

short parameter

default value

description

--body

-b

empty

Body of mail

--receiver

-v

empty

receiver of mail

--showemail

 

don't show

show and edit mail before sending

--subject

-u

empty

subject of mail

--email

-e

don’t send mail

after the pdf is signed and downloaded from NextGen, E-Mail the document

Logging

long parameter

short parameter

default value

description

long parameter

short parameter

default value

description

--console

-m

don’t log to console

log the output to a console

--log

-l

don’t log to file

log the output to a file

Printing

long parameter

short parameter

default value

description

long parameter

short parameter

default value

description

--print

-d

don’t print

Print the signed and downloaded document.

Mirroring Screen from pad to monitor

long parameter

short parameter

default value

description

long parameter

short parameter

default value

description

--screenshot

-c

don’t mirror

Mirror the LC-display onto monitor

--fullscreen

 

half resolution

Mirror the LC-display in native resolution of NextGen pad, the window is maximized

Startup

long parameter

short parameter

default value

description

long parameter

short parameter

default value

description

--files

-f

no used files

apped the file (XML or PDF) to load and transfer to NextGen pad. This parameter could be used multiple times, the files if exists will be transfered to NextGen pad one after another PDF- and XML documents could used without parameter.

--ipadr

-i

search automatically

defines the ip address of NextGen pad to use. or “auto”

f.E: “-i 192.168.1.80” or “--ipadr auto”

--usehttps

 

no secure connection

Establish a secure connection to NextGen pad.

If customer has changed the certificate, the public certificate should maybe inserted in the used TrustStore

--truststore

 

truststore from stepover

For SSH connection the needed public certificate could be inserted in JAVA Key Store file. The used key store file could be changed with this parameter (NOT the public key file !). This setting is only possible with command line parameter and will never saved to settings.

--trustpassword

 

 

normally the key store file is secur5ed with a password to prevent changes If customer uses own key store file the password to use must be set here. This setting is only possible with this parameter and will never be saved to settings.

--pw

-p

no main stage password

The NextGen pad could restrict the access to WebSite of pad and REST-APi by a password (main start/stage password). This password is defined by this command line parameter. if no password is defined in settings or command line parameter the customer is queried to input this pasword, if NextGen pad is configured to use main start/stage password.

--readDir

-r

document folder from user

Set the folder of documents read, the file chooser dialog is usign this folder.

--writeDir

-w

document folder from user

Set the folder to write the signed and downloaded files into. The file save as dialog is using this folder.

--noSaveChooser

-n

after signing and downloading the file chooser is shown

supress the file save as dialog and the file is saved with the default extention appended into the defined folder (--writedir / -w) or dsettings.

see --adddatei

--adddate

 

append “_signed”

append to the filename the actual date and time (_YYYYMMDDHHMM) f.E: “PDFDocument_202303071253.pdf”

If this parameter/setting is not set, then the filename is appended “_signed” f.E: “PDFDocument_signed.pdf”

If the resulting filename already exists, the filename is appended by a number starting with 1.

--page

 

 

Jumps the the defined page inside the document after transfering it to NextGen pad.

prelimnary implementation is slow!

--startsig

-g

after file is transfered the document is shown

start signing after transfer of document.

--autoclose

-a

 

exit application after signing, downloading and saving (printing, mailed …) the document

--show

-s

 

the downloaded docuiment is shown in a PDF Viewer.

--exec

-x

 

Execute application with the signed and saved downloaded document as parameter

--showbutton

--noshowbutton

 

 

The button bar at the rigfht side could be activated or deactivated (in settings too)

--showmenu

--noshowmenu

 

 

The menu bar at top of application could be activated or deactivated (in settings too)

--minimize

-z

 

Minimize application after startup.

--onesign

-o

 

After first manual signature, download PDF document.