Latest News

the latest news from our team

eSubmit

pdf-icon

eSubmit is a command line program that will copy the standard input to a directory or a Websphere message queue. Optionally it will also create a eFORMz command file that will specify how to process the data file. It works in one of two ways.

The first way is to use command line parameters. They are:


-d Specify output directory
-f <filemask[:disposition>] Specify file name
-mq ;;;; Specify MQ queue
-mqm Specify message format
-p Specify project
-t Print (Black and White PCL)
-tc Print (Color PCL)
-o Output to file
-u Output to file with unique name
-e Process with eDIRECT
-x  Execute external command after output
-c ;; Copy files after output
-r ; Delete files after output
-n ;; Print files after output

If only the -d and -f or the -mq and -mqm parameters are used, then no command file is generated.

The second way is to implicitly use the eSubmit.cfg (a standard Print Monitor configuration file created with the local Toolkit) file that resides in the same directory as the eSubmit.jar file. If no parameter is specified the first input queue in the eSubmit.cfg file is used. The first parameter of the command line can specify an input directory or a queue name ( new in ver 8.00 ). If eSubmit.cfg is not found, standard input is copied to the directory that eSubmit.jar resides in.

Examples:

java -jar -Djava.awt.headless=true -jar eSubmit.jar -d /minisoft/input/ -f sample.dat

Copies standard input to “/minisoft/input” directory and creates a unique name for the file using “sample” as the prefix and “.dat” as the extension.

java -jar -Djava.awt.headless=true -jar eSubmit.jar -d /minisoft/input/ -f sample.dat -p /minisoft/projects/project1.efz -t laserjetX

Copies standard input to “/minisoft/input” directory and creates a unique name for the file using “sample” as the prefix and “.dat” as the extension. It also creates a command file that will process the data file with the project “/minisoft/projects/project1.efz” and print it to “laserjetX”.

java -jar -Djava.awt.headless=true -jar eSubmit.jar

Copies standard input according to the specifications of the first queue in the eSubmit.cfg in the same directory that eSubmit.jar resides in.

java -jar -Djava.awt.headless=true -jar eSubmit.jar /minisoft/input/

Copies standard input according to the specifications of the queue referencing “/minisoft/input” in the eSubmit.cfg in the same directory that eSubmit.jar resides in.

java -jar -Djava.awt.headless=true -jar eSubmit.jar somequeue

Copies standard input according to the specifications of the queue named “somequeue” ( ver 8.00 only ) in the eSubmit.cfg in the same directory that eSubmit.jar resides in.

In the last 2 examples, a command file will only be generated if the specification in the eSubmit.cfg file contains more than an queue and file selection.