Description of BiAdvPrn.Ocx

This OCX contains the advanced printing functions as well as functions that can be used to modify the DevMode structure. You can set or retrieve the printer DevMode using the functions of the BiAdvPrn.ocx. You can open the DevMode, read and update values of members of the DevMode structure and you can save changes to the selected Black Ice printer. Some functions work for all DevMode structures. Other functions set or retrieve Black Ice Printer specific data, so they work for only Black Ice printer DevMode structures. All of the functions, except for initalization functions, will accept a default DevMode structure and the functions convert them to the BlackIceDEVMODE structure. All DEVMODE or String handling functions have two versions, a standard ASCII code and a Wide character string version. Under Win9x operating systems only the ASCII versions work, under Windows NT or 2000 both ASCII and Wide char versions work. Every two version function can only be reached by it’s name (in this case, the name will be automatically converted to one of the implemented versions, depending on the settings of the project, using the biadvprn dll/ocx) and the ASCII or Wide char versions by typing A or W after the function name. For example BiLoadPrinterSettings function can be referenced by calling BiLoadPrinterSettings(…) , BiLoadPrinterSettingsA(…) and BiLoadPrinterSettingsW(…).