So I modified the script to this to fix it:

 Code:
;FROM http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=118766
function GetDefaultPrinter()
    $GetDefaultPrinter = join(split(readvalue("HKEY_USERS\"+@sid+"\Software\Microsoft\Windows NT\CurrentVersion\Windows","Device"),',',1),'')
endfunction

$dp1 = GetDefaultPrinter
$r = ADDPRINTERCONNECTION ("\\hi2\hiofficecopier")
$r = ADDPRINTERCONNECTION ("\\hi2\hifacultycopier")
$dp2 = GetDefaultPrinter
IF NOT $dp1 = $dp2
    $r = SETDEFAULTPRINTER($dp1)
ENDIF


Kind of a hack, but it works.

edit: edited to include UDF for completeness.


Edited by syntax53 (2012-10-12 02:10 PM)