Running Java Agent on Client Machine

Set CLASSPATH to include:

  • tiff2pdf.jar

Command line syntax

java Tiff2PdfAgent [-p client_port] [-s server_host_name] [-sp server_rmi_port] 
[-stop]

Values:

—p client_port (optional)
The port number C/C++ tiff2pdf is connected to.
Default value: 8800.
—s server_host_name
The server host name where Tiff2PdfServer is running.
—sp server_rmi_port (optional)
The server port number Tiff2PdfAgent is connected to.
Default value: 8801.
—stop
Stop the Tiff2PdfAgent.

Examples for running Agent on client machine

Example 1

  1. To start Tiff2Pdf Agent set these values:
    Client port:
    Default 8800 for C/C++ client.
    Remote host where Tiff2PdfServer is running: server1.
    RMI port:
    Default 8801.
  2. Enter the command line: java Tiff2PdfAgent —s server1.
  3. To stop Tiff2PdfAgent enter: java Tiff2PdfAgent —s server1 —stop.

Example 2

  1. To start Tiff2PdfAgent set these values:
    Client port: 9500.
    For C/C++ client.
    Remote host where Tiff2PdfServer is running: server1.
    RMI port: 7201.
  2. Enter the command line: java Tiff2PdfAgent —p 9500 —s server1—sp 7201.
  3. To stop Tiff2PdfAgent enter: java Tiff2PdfAgent —s server1 —p 9500 —stop.