Print Wrapper ASP Sample Version number:
The Black Ice printer drivers can be used for web based document conversion. You can create server side web pages (i.e. ASP, PHP) that are printing documents using Black Ice printer drivers. After printing you are able to send the printed documents to the client side or display them in the web browser. You can use the dlls and ActiveX controls from the Black Ice Printer Driver Resource Toolkit (RTK) on the server side, so you have full control over printing of the document.
The purpose of the wrapper ocx is detecting the end of the current printing and giving the path and filename of the printed document to the ASP. So the ASP will know the location of the printed document and can use it for any purpose. The wrapper ocx uses PIPE messages to detect printer driver messages. Additional methods can be added to the wrapper ocx depending on the purpose. Of course you don't have to use wrapper ocxs for printing.
With the wrapper ocx ready, you can use it in an ASP page. In the July 2008 developer newsletter we give an example how to use the wrapper ocx in an ASP page. In that example we are printing a text file located on the server side using Visual Basic script on the ASP page, a Black Ice ColorPlus Printer Driver and Microsoft's Notepad.