Running Java Tiff2PDF Server

Set CLASSPATH to include:

  • tiff2pdf.jar

Command line syntax

java Tiff2PdfServer [-start] | [-stop] [-p socket_port] [-r rmi_port] [-t temp_dir]
Values:
—start
Start the server.
—stop
Stop the server.
—p socket_port
Socket port number for local client.
Default value: 8800.
This flag is optional.
—r rmi_port
RMI port number for remote Tiff2PdfServer.
Default value: 8801.
This flag is optional.
—t temp_dir
Temporary directory name.
Default: <currentDir>/temp.
This flag is optional.

Examples for running Server

Example 1

  1. To start Tiff2Pdf Server set these values:
    Client port:
    Default 8800.
    RMI port:
    Default 8801.
  2. Enter the command line: java Tiff2PdfServer —start.
  3. To stop Tiff2Pdf Server enter: java Tiff2PdfServer —stop.

Example 2

  1. To start Tiff2Pdf Server set these values:
    Client port: 7200.
    RMI port: 7201.
    Tempdir: /mydir/tmp.
  2. Enter the command line: java Tiff2PdfServer —start —p 7200 —r 7201 —t /mydir/tmp.
  3. To stop Tiff2Pdf Server enter: java Tiff2PdfServer —stop —p 7200.