pub:ifdcinstructions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pub:ifdcinstructions [2018/03/19 18:48] – ken | pub:ifdcinstructions [2018/03/20 08:16] – [Non-UI mode] ken | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== IFD Client ===== | ===== IFD Client ===== | ||
+ | |||
+ | ==== iSeries Command ==== | ||
The ESNDDTAQ API command is used to send PDF file path to data queue which is being listened to by client programs. The command has the parameters as below: | The ESNDDTAQ API command is used to send PDF file path to data queue which is being listened to by client programs. The command has the parameters as below: | ||
Line 12: | Line 14: | ||
* **Data Queue**: The data queue is used to communicate between server and client. This data queue is monitored by client programs. | * **Data Queue**: The data queue is used to communicate between server and client. This data queue is monitored by client programs. | ||
- | For example, open PDF file / | + | For example, open PDF file / |
+ | < | ||
ESNDDTAQ KEY(USER01) DATA(‘/ | ESNDDTAQ KEY(USER01) DATA(‘/ | ||
+ | </ | ||
+ | ==== Windows Program ==== | ||
+ | |||
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 PDF reader (configured in parameter) to show PDF file on the 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 PDF reader (configured in parameter) to show PDF file on the Window machine. | ||
Line 28: | Line 33: | ||
==== UI mode ==== | ==== UI mode ==== | ||
- | User can execute file ifdclient.bat, | + | User can execute file **ifdclient.bat**, at the first time when program is executed, a dialog is shown as below: |
{{: | {{: | ||
- | Notice that the black screen behind the logon screen, it searched for an existing PDF reader in your computer. | + | As seen on the black screen behind the logon screen |
{{: | {{: | ||
- | 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: | + | 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**: | * **ifdclient.cfg**: | ||
Line 56: | Line 61: | ||
* **pdfreadername**: | * **pdfreadername**: | ||
- | Pass them as parameters into **java** command, for example: | + | Pass them as parameters into the **java** command, for example: |
< | < | ||
C:\>java -jar ifdclient.jar -server 172.16.1.54 -logonuser my_user -logonpassword my_password -user USER01 | C:\>java -jar ifdclient.jar -server 172.16.1.54 -logonuser my_user -logonpassword my_password -user USER01 |
pub/ifdcinstructions.txt · Last modified: 2022/06/25 17:02 by 127.0.0.1