Doc,

I don't think changing all of our users back is going to be an option.

I figured it out as I went back to see what the user had.

The original code has:
Code:

$nprt=READPROFILESTRING($ps,'Printers','Default')
$rc=SETDEFAULTPRINTER($nprt)
USE LPT1: $nprt ;<<< ** ERROR ON THIS LINE



Here is what I changed it to:
Code:

$nprt=READPROFILESTRING($ps,'Printers','Default')
IF @ERROR=0
$rc=SETDEFAULTPRINTER($nprt)
USE LPT1: $nprt
ENDIF



Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's