OOPS, soorry!! Here is the defualt printer stuff. Place this in your script prior to mappings. this was also found in this forum somewhere, posted by some genius.

Good Luck!!

Code:
 
;Find out what the Default Printer is
$PrinterKey = "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows"
$PrinterVal = "Device"
$TempString = READVALUE ($PrinterKey, $PrinterVal)

;The Printername is the first part of the registry value
$x = INSTR($TempString,",")
$DefaultPrinter = SUBSTR($TempString,1,$x-1)


_________________________
-sphilip