For Windows 2000, the default location for the driver files is the \WINNT\system32\spool\drivers\w32x86 and the \WINNT\system32\spool\drivers\w32x86\3 directory (the files should be copied in both these directories). To retrieve the location of this folder, use the “dGetPrinterDriverDirectory” function from the InstallDLL.
LONG dGetPrinterDriverDirectory(HWND MainWnd, LPLONG lpLong, LPSTR lpString)
Input value: MainWnd - ignored, can be NULL.
Input value: lpLong - ignored, can be NULL.
Input value: lpString - will contain the full path to the folder.
Return value - Returns 1 on success, otherwise returns 3