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

[/quote]

Whats the correct return if AddPrintConnection sees that the HP is their. I need the correct syntax to be able to test it.

If AddPrinterConnect('\\server\printer') = 0