Mart,

I got it to work in the test environment. So sorry for not responding.

Does real world pratice checks for existing printers before adding? So far, I am not verifying the existence of the printers and it worked.


Can you assist in this code if you can:

If AddPrinterConnection("\\lnx1\hp4000") <> 0
;Do something so an admin knows there are problems
;with connecting printer x for user y.
EndIf

Are they usually a write to a log file?

TIA,
-tt