I have written a virtual printer driver that includes print monitor dll as well infs. Only problem is that when i try to run the install it with command below, I get "the specified port is unknown, error 0x0000704.
rundll32 printui.dll,PrintUIEntry /if /b "aPrinter" /f aprinter.inf /r "aPrinter Port" /m "aPrinter"
Its kinda strange , cause i can see the aPrinter Port in registry at following place
HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\aPrinter Port
with following string entries
"Driver" "aport.dll" "name" "aPrinter Port"
Any idea , what i am missing here?
Thanks