Single Function Install (API) Version number:
Creating an installation for a printer driver can be a challenge. Black Ice Software provides a Resource Toolkit with the release versions of the Black Ice printer drivers. Among other things, the Resource Toolkit contains a sample Install Shield script, a sample Visual Basic install , a sample MSI install, InstallShield MSI install, WIX install, C# install and an Install DLL containing several functions that can be used to simplify printer installation, and these items have so far helped developers to create installations for their product.
The latest version of the Printer Driver Install DLL focuses on developers who cannot or do not want to use Install Shield to build their installation. Using the Install DLL, developers can install the printer driver using a single function call to the dInstallBlackIcePrinter() function.
The dInstallBlackIcePrinter() function takes 13 parameters such as printer name, processor name, port monitor name, names of the driver files etc. This function will add to the system the print processor, the port monitor, the printer port, the printer driver and finally the printer itself. It will also create all of the necessary registry entries and will set up the necessary registry security settings.
If the developer needs to, he can change the printer settings using functions from the BlackIceDEVMODE DLL or ActiveX control. The BlackIceDEVMODE DLL and ActiveX control are also parts of the Black Ice Printer Driver Resource Toolkit (RTK) and include more than 300 functions to read and change every printer setting.