The Script File is one of the simplest forms of controlling one of the PEERNET Printers. By default, each major release of a PEERNET Image Printer, since version 5, has a default Script File that it reads to override any settings specified in the printing preferences, document preferences or default preferences of the printer.
The script file can override some or all of the settings. The choose is yours.
The location of the script file is by default the user's TEMP folder, but you can specify a specific location by setting a key in the registry associated with the printer, named Scripting file.
Using a script file is NOT thread-safe unless you the developer take care to ensure it is.
The basic processing model is as follows:
Special care must be taken to ensure this process is thread-safe.
The Watch Folder example demonstrates using the script file with the TIFF Image Printer 8.0.013 in a desktop application; where as the Windows Service example demonstrates using the script file with the TIFF Image Printer 8.0 in a Windows service.
Both examples monitor an input folder where files are picked up for conversion. However, unlike the COM examples, job tracking information is not available nor is there the ability to use a pool of printers to increase the throughput or performance of processing when you need to convert a large volumne of documents.