Tech Support > Microsoft Windows > Drivers > Q:Installing Printer Language Monitor programatically ?
Q:Installing Printer Language Monitor programatically ?
Posted by Bimo on August 12th, 2003


Hi

I cant seem to install a language monitor.
AddMonitor only mentions port monitors, does this also work for language
monitors ?

If I use AddMonitor, it looks like it installs correctly, but no calls are
made into the monitor beyond InitializePrintMonitor2

Any help greatly appreciated



Posted by Bimo on August 12th, 2003


"Bimo" <men@work.dk> wrote in message
news:bhas8k$22rr$1@news.cybercity.dk...
I noticed that my monitor reports that I dont support the needed functions.

I have checked and double checked, I do support all, but how on earth do I
tell the system if its a port or language monitor Im installing ?

TIA



Posted by Bimo on August 14th, 2003


""Ashwin [MS]"" <ashwinn@online.microsoft.com> wrote in message
news:3jR9JmPYDHA.2116@cpmsftngxa06.phx.gbl...
Thanks for your answer.
I really would like to be able to install it programmatically, as we have a
service application capable of updating the driver from the internet.
So the basic steps would be to
1 ) Install the monitor using AddMonitor ?
2 ) Install the driver and supply the monitor in the DRIVER_INFO_3 structure
?



Posted by Ashwin [MS] on August 14th, 2003


That is correct. You can verify if the installation went correctly by
checking the registry. Firstly, the monitor must now be listed under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Print\Monitors. Second,
the monitor should be listed under the driver's Monitor key. You can find
this in the right pane at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Print\Environments\Windo
ws NT x86\Drivers\Version-3\<Printer Driver Name>.

For testing purposes, you might want to install everything first via INF
just to ensure that it works. You can then do the programmatic route and
check to see if you get identical results. This will make the
troubleshooting of the installation process a lot easier.

- Ashwin

This posting is provided "AS IS" with no warranties, and confers no rights.