Can be used to programmatically identify and highlight the differences between two versions of a PDF or XML.
If you need assistance in installing and configuring JetTrac HighlightDiff™, call Pro Technology Automation, Inc. at 805-527-1248 or email us at email@example.com. Please note that the JetTrac HighlightDiff™ license fee does not cover configuration services and technical support so there may be an additional charge. Please ensure you read these instructions carefully before calling for technical support.
To run JTHighlighDiff you will need these files in the same folder:
Executable files and dll files should not be edited for any reason.
Used in conjunction with JetTrac XMLDiff to identify differences between two XML’s/PDF’s. JetTrac HighlightDiff then highlights the fields in the two PDF’s that are different.
When setting up a job step using JTHighlightDiff in JobConfig the only lines of the config you need to worry about are the first two and the last two, the Config file, Differences XML, the Input PDF and the Output PDF. If left as an asterisk * the input will be whatever file is in the data folder that triggered the job running. This works well if it’s the first step but if the input is also the output of a previous job step you would need to specify the fully qualified path of the input pdf you want to add highlights to. All other fields should be filled with the fully qualified path to the intended file. Eg: C:\JetTrac\…\input.pdf
In JobConfig, file paths entered should not be in quotes.
As with all modules, there is a dropdown to select whether or not the job should stop completely if this step fails. If you select Yes, any error will terminate the job process and write to the log file what happened, if no, then the job will try to continue anyways. However if any steps further down the line rely on the output of a job set to not stop on error, they may not work properly.
For more specifics go to the JetTrac BYODJobConfig page.
“C:\JTHighlightDiff.exe” “C:\Differences.xml” “C:\JTHighlighDiff_Input.pdf” “C:\JTHighlightDiff_Output.pdf” “C:\JTHighlightDiff.ini” “C:\JTHighlightDiff.log”
The command line begins with the fully qualified path to the module’s executable file, followed by the path to the differences xml file, the input xml/pdf file, the output pdf, the config.ini file and ends with the log file.
Colors are expressed as a mixture of the three primary colors – red, green, and blue.
The relative mixture of each color is specified by a number between 0 and 1.
Close to 1 is a lot of that color, close to 0 is a small amount of that color.
So any color can be expressed as a series of three numbers between 0 and 1, separated by commas.
See the lines below for examples
Red is 1 for red, 0 for blue, and 0 for green
Blue is 0 for red, 1 for blue, and 0 for green
White is 1 for red, 1 for blue, and 1 for green
Shades of gray are the same number for r,g,b but that number is smaller than 1
DarkGrey is something like 0.2, 0.2, 0.2
lookup color mixing in wikipedia for more information