The following sample applications illustrates how to capture messages from the Black Ice printer driver using the Messaging Interface. These samples can be modified to change print driver setting for a single print job.
One should use the Start Application feature with “Start for Messaging” option of the Printer Driver to launch the application, the printer driver will wait for the application to start up and start processing the messages.
Message Capture DLL VB.NET Sample