Board index » delphi » Help Installing Printer for 95/98/NT
David Kermott
![]() Delphi Developer |
Fri, 14 Sep 2001 03:00:00 GMT
Help Installing Printer for 95/98/NT
Are there any differences in the way that printers are installed in NT vs
95/98 ? This code sometimes works. I'm not sure what the difference is. I have a user logged in with administrator equivelance and is will work one time and not the other. Help! Thanks, -DEK GetPrinterDriverDirectory('','',1,@pdir,sizeof(pdir),tbytes); di.cVersion := 1; pi.pServerName := ''; pd.dmDeviceName := 'Tiff Printer'; ClosePrinter(ph); |