pub:ifdcinstructions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
pub:ifdcinstructions [2018/03/19 14:38] – ken | pub:ifdcinstructions [2018/03/19 15:00] – ken | ||
---|---|---|---|
Line 34: | Line 34: | ||
ESNDDTAQ KEY(USER01) DATA(‘/ | ESNDDTAQ KEY(USER01) DATA(‘/ | ||
- | The client program is a .JAR file developed in Java language to connect to iSeries and monitor a data queue by a unique key for PDF file. Once the data in data queue is found, client program will download the PDF file to temporary folder in Windows and invoke PDF reader (configured in parameter) to show PDF file on Window machine | + | The client program is a .JAR file developed in Java language to connect to iSeries and monitor a data queue by a unique key for PDF file. Once the data in data queue is found, client program will download the PDF file to temporary folder in Windows and invoke |
The compressed file contains 2 files: | The compressed file contains 2 files: | ||
* **IFDCLIENT.JAR**: | * **IFDCLIENT.JAR**: | ||
* **IFDCLIENT.BAT**: | * **IFDCLIENT.BAT**: | ||
+ | |||
+ | The program can be started in 2 modes: with and without user interface (UI). | ||
+ | |||
+ | * **In UI mode**: a logon dialog will be prompting to input the IBM i credential and other configuration. | ||
+ | * **In non-UI mode**: user can call the program and pass the input parameters. | ||
+ | |||
+ | ==== UI mode ==== | ||
+ | |||
+ | User can execute file ifdclient.bat, | ||
+ | |||
+ | Notice that the black screen behind the logon screen, it searched for an existing PDF reader in your computer. User can also modify it and more parameter by clicking to button **Settings**. | ||
+ | |||
+ | When user clicks OK, a folder named IFDClient is created into C:\Program Files (x86)\inFORM Decisions\IFDClient (or your Program Files folder), and this folder contains 2 files: | ||
+ | |||
+ | * **ifdclient.cfg**: | ||
+ | * **log.txt**: | ||
+ | |||
+ | ==== Non-UI mode ==== | ||
IFDCLIENT.JAR is started with the following parameters: | IFDCLIENT.JAR is started with the following parameters: | ||
Line 52: | Line 70: | ||
* **pdfreadername**: | * **pdfreadername**: | ||
- | The parameters can be passed to JAR program in 2 ways: | + | Pass them as parameters |
- | * Pass them into java command, for example: | + | < |
- | C:\>java -jar ifdclient.jar -server 172.16.1.54 -logonuser my_user -logonpassword my_password -user USER01 | + | |
- | | + | </ |
- | {{ : | + | |
- | When file .properties is used, the command to start .JAR program is as below:\\ | + | |
- | C:>java -jar ifdclient.jar | + | |
- | **Notes:** | + | **Notes:**\\ |
Please remember that if the .JAR program is setup as a Window service then when PDF is sent from server, the PDF reader may open it into session 0 which is invisible to current logon user of Window. | Please remember that if the .JAR program is setup as a Window service then when PDF is sent from server, the PDF reader may open it into session 0 which is invisible to current logon user of Window. |
pub/ifdcinstructions.txt · Last modified: 2022/06/25 17:02 by 127.0.0.1