Developers who integrate the Black Ice
printer drivers into their application often need two or more
different sets of settings for the printer driver. Ideally the
end user shouldn’t have to know which printer settings to
change when another type of output is needed, for example if
the application needs TIFF images for faxing using (204x196)
DPI and uses JPEG images using 600x600 DPI, a few printer
settings must be changed and that could be confusing for an
end user and also can introduce possible error if the user
doesn’t select the correct settings.
To simplify this process the developer can
try one of the following :
1. Install more than one Black Ice
Printer on the same PC
2. Use the “Profile Manager", new in
the Black Ice printer drivers
Programmatically change the printer
settings.
1. Install more than one Black Ice Printer
on the same PC
The developer can use two copies of the
same printer driver on the same PC. Installing different
versions of the same driver currently is not supported but
will be in the near future.
One of the printers (Printer A) will use
TIFF Group3D1 for output using 204x196 DPI and Fax Paper Size
for faxing. The other printer (Printer B) will create JPEG
output using Letter paper size and 600x600 DPI.
Once both printers are installed, the end
user simply has to print to Printer A to produce faxable files
and print to Printer B to create JPEG files. The user doesn’t
have to change (or know how to change) the printer settings;
he just simply selects the appropriate printer.
Installing multiple copies of the printer
must follow the rules of installing one printer, with the
following differences:
1. Rename all driver files, so when a
printer is uninstalled the other one can still work. Files
that cannot be renamed such as (BiCAppNT.exe, BiImg.dll)
must be installed as shared files on the system.
2. Change the name of the printer, the
printer driver, printer port and the print processor.
3. The new name of the resource dll (BiCResNT.dll)
can be specified in the INI file (BiCIniNT.Ini)
4. The INI file should be also renamed
and each one should contain the printer specific settings.
This way both printers will be installed with different
settings.
Coming up in the next issue: “Using the
“Profile Manager" in the Black Ice printer drivers and
“Programmatically changing the printer settings."