I Done above code as In VB.Net DLL Project and I referenced in another C++ Project with COM help. It works fine but after printing it's in not responding mode, but i can't do any kind of operation (Like close, minimize, exit..)