The Primapstate udf is supposed to check for existing printers so that it does not reinstall them. I'm assuming you are seeing it reinstall the driver since you having the delays. The point of displaying the printer name and @serror to the screen is if you see the @serror output after each printer name, it means it's installing the printer (over and over). This leads me to think that the way you using primapstate might not be working as expected.

In the header of the Primapstate UDF the example is
 Code:
EXAMPLE 

;		if not PriMapState('\\server\printer1') 

;		 "printer1 not connected!" 

;	        endif 



your code is
 Code:
If PriMapState($Printer) = ''


In your case try:
 Code:
if not PriMapState($Printer)


This may not fix it, but it's what I was suggesting above.


Edited by Allen (2010-04-29 05:23 PM)