WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.


Printer Controller

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

pGetDefPrtInf(2) under Windows NT

Keywords: 	 pGetDefPrtInf(2)


I'm using pGetDefPrtInf(2) and under Win95/98, it correctly returns the driver name, but under NT it only returns "winspool".


pGetDefPrtInf(2) reads the WIN.INI file and returns the DEVICE= line, the second comma-delimited entry on that line, which in the case of NT is "winspool".

The driver information doesn't appear to be stored in the registry either. I poked around at an NT 4.0 machine for a while, searching for the printer driver name and was not able to come up with anything terribly useful. It all seems mapped to some kind of WinSpool,xxxx kind of affair, but then the tracks seem to fade away.

Article ID:   W14436
Filename:   pGetDefPrtInf 2 under WinNT.txt
File Created: 2017:07:28:13:58:37
Last Updated: 2000:04:03:13:19:42