You can find a copy of the original default Scan.conf file in:
C:\Program Files (x86)\Toon Boom Animation\Toon Boom Harmony 10.0\resources\samples
Mac OS X:
|1.||Applications > Toon Boom Harmony 10 > tba > resources > samples|
Here is an example of entries in a Scan.conf file for a Ricoh scanner on Linux.
descr: The scanner to use for black & white and greyscale scans.
The following options must be included in the Scan.conf file:
where [hostName] is the name of the machine that the scanner is attached to.
where [scannerName] is the name you want the scanner to be listed as in the scanner drop-list in the Scan module.
where [filename] is the filename of the device driver for your scanner.
The SCSI identifier for the scanner.
X=controller number (normally 0)
Y= device number (as set on the scanner)
Z= The logical unit (normally 0)
ex: device: sc0;d5;l0 (if the scanner is set to scsi id 5)
|•||Mac OS X: <device name>|
where <device name> is the name findscanner reports. You must include the angle brackets.
where [modelName] is model name of your scanner (the name is case sensitive and there can be no spaces separating the name and the number). Following is a list of supported scanners.
The following are optional additions to the scanner description.
Where [scannerDescription] is a description of the scanner, which appears to the user in the Scanner Information dialog box in the Scan window. This text must be all on one line.
Where [value] is the default value for threshold for black and white scanning. The value should be an integer (0 £ [value] £ 255). The default threshold value at installation is 100 if no value is specified.
Where [value] is the color value (0 < [value] < 255) that the Scan module considers to be black. The Scan module forces any color darker than this value to black. If no value is specified, it defaults to 20.
Where [value] defines the color value (0 < [value] < 255) that the Scan module considers white. The Scan module forces any color lighter than this value to white. If no value is specified, it defaults to 235.
Where [value] is the default value for color and grayscale gamma correction
(0.0 < [value] £ 2.55) on the scanner. The default gamma value at installation is 1.0 if no value is specified.
Where [value] is the default resolution in dpi (dots per inch) for the scanner. The value should be an integer that is one of the scanner's legal resolutions. The default resolution value at installation is 300. For Fujitsu and Ricoh scanners, 300 DPI is appropriate. For color scanners, like the Epson, 150 DPI is suggested.
Where [value] defines the default value in the Peg-Side menu when you select the scanner. You can choose between Top, Right, Left or Bottom.
Where [level] defines how exact the location of the peg holes must be for the software to recognize them. You have two values to choose from:
|•||Strict: the peg holes must be in a tightly defined area to be recognized. This is the default setting.|
|•||Loose: the peg holes can be anywhere in a larger area to be recognized. This setting is recommended.|
Where [value] is the number of decimal places permitted when defining the distance in inches between side pegs. The peg pitch can be defined to fix splicing problems when aligning pan cels. The default value is 8 (e.g., a distance of 0.12345678 could be defined).
Where [value] is the distance in inches from the edge of the drawing that will not be included in the scan. Including these values can save vectorization time and remove dirtiness at the edges of a drawing. Side "0" is the side with peg holes. Remaining sides are numbered in clockwise fashion.