How to Restore Bates Numbering Settings From the Printer Driver’s INI File
If you want to restore your printer driver’s settings, you can simply click on the “Restore defaults” button in the printing preferences of the driver. When you push the button, the printer driver restores its settings from the driver’s INI file. The INI file is located in the windows’ driver directory (for example C:\WINDOWS\system32\spool\drivers\w32x86\3\). You can also restore the Bates Numbering settings this way. If you click the “Restore defaults” button, the printer driver writes the default Bates numbering settings to the registry under HKEY_CURRENT_USER (for example HKEY_CURRENT_USER\Software\Black Ice Software, Inc.\Black Ice Color\BatesNumbering).
How to set the Bates Numbering settings in the INI file
The printer driver’s INI file must store the following information:
- Number of specified bates formats
- What is the currently selected bates format
- The Bates numbering is enabled or not
- Settings for every bates format
For example:
[Bates Numbering]
Number of Formats=2
Selected Bates Format=2
Bates Numbering Enabled=1
[Bates Number 1]
Name=Default Bates Format
Use prefix=1
Color=4145215
Font Charset=1
Font Clipprecisions=2
Font Escapement=0
Font Facename=Verdana
Font Height=-16
Font Italic=255
Font Orinetation=0
Font Outprecisions=3
Font PinchAndFamily=34
Font Quality=1
Font Strikeout=0
Font Underline=0
Font Weight=400
Font Width=0
Offset unit=1
Position=2
Prefix=Case number
Rotation=0
Start with=1
Transparent=0
X Offset=0
Y Offset=0
[Bates Number 2]
Name=Sample Bates Format
Use prefix=1
Color=4145215
Font Charset=1
Font Clipprecisions=2
Font Escapement=0
Font Facename=Arial
Font Height=-19
Font Italic=0
Font Orinetation=0
Font Outprecisions=3
Font PinchAndFamily=34
Font Quality=1
Font Strikeout=0
Font Underline=0
Font Weight=400
Font Width=0
Offset unit=1
Position=0
Prefix=Bates Num
Rotation=0
Start with=15
Transparent=0
X Offset=0
Y Offset=0
Number of Formats: This entry specifies the number of bates formats. In this example this value is 2. So there must be 2 sections for describing the settings of the formats (Bates Number 1 and Bates Number 2).
Selected Bates Format: This entry specifies the currently selected Bates format. In this example the currently selected format is the second one.
Bates Numbering Enabled: If this value is 1, the Bates numbering is enabled in the driver, if 0 the Bates numbering is disabled.
Descriptions of each various setting is not covered in this article, but this information can be found in our documentation.