For your logging tasks checkout: URL-> WiteLog2()

{edit}
this line:
$LogText="DEFAULT PRINTER : READVALUE ("$DEFAULT","") redirectoutput("$LogFile") = 0"

Is completely wrong. Not sure how to fix it because I'm not sure what you want it to do.

$LogText="DEFAULT PRINTER : " + READVALUE ("$DEFAULT","") ????

[ 24. October 2002, 17:38: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/