The command line programs saclient.exe and swclient.exe are provided to facilitate submitting a job to ITP/Server using TCP/IP.
Saclient submits a job to ITP/Server using TCP/IP Sockets from an ASCII environment and swclient does the same from a Unicode environment.
The source code of saclient is included in the distribution and can be found in the folder Apis/Tcp ip/s_api.h.
Starting saclient on a command line without parameters will return all options and the syntax:
Usage: saclient.exe [-s|-r|-t|-c|-e|-k|-d|-i sessionID|-a] host port JobID [parameters, starting with the name of the requested Service]
Options:
-s |
Send a synchronous request |
-r |
Allow the client to receive files from the server [implies -s] |
-t |
Allow the client to send files to the server [implies -s] |
-c |
Confirm disconnect |
-e |
Enable exchange_data function calls [implies -s] |
-k |
Enable Verify Connection (This corresponds to the |
-d |
Disables the packet size optimizations done by Nagle's algorithm. This option will improve responsiveness significantly at the cost of increased network traffic |
-i |
Run the job in the ITP/Server session specified by the given session ID |
-a |
Run the job once on every available ITP/Document Processor [disables -s] |
For a complete description of these settings refer to the description of the SUBMITJOB4/SUBMITJOB5 data structure.
In addition to saclient.exe and swclient.exe, a third program called winclient.exe is provided. This is a variation of saclient.exe, created to solve specific printer switching problems with saclient.exe in an Microsoft Windows environment. It is recommended to use saclient.exe instead.