Help ,errors when call the com of pdfcreator

hello all,

    I want to call the com of pdfcreator to print the webpage just in the clientside.I do the same as
orginal code of trunk\\COM\\Samples\\Windows Scripting Host\\JScript.but the IE throws the error of "WScript undefined" .for WScript,it need config something?.If I define a new varial like
var wsscript = new ActiveXObject("WScript.Shell"); ,the one wsscript .arguments.length will throws
"there is no property  for arguments.length of WScript ".How can I do?

  Thanks very much.

What version?

You need at least Windows Scripting Host version 5.1

Here you can download the new version:

Windows Script 5.7 for Windows XP

www.microsoft.com/downloads/en/details.aspx

Windows Script 5.7 for Windows 2000

www.microsoft.com/downloads/en/details.aspx

Windows Script 5.7 for Windows Server 2003

www.microsoft.com/downloads/en/details.aspx