G
Guest
I selected the "Internet Explorer 6 General" dicussion group because I
couldn't find one for IE 7.0
I'm getting this error when printing from one of my Intranet Web
applications and there is no way I can print that Web page.
A Runtime Error has ocurred.
Do you wish to Debug?
Line: 2020
Error: Invalid procedure call or argument
This only happens if IE 7.0 is intalled and all users with IE 6.0 can print
without problems. I debuged the error and found this:
Microsoft JScript runtime error: Invalid procedure call or argument
The error is on this function:
function CPrintDoc_InitDocument(fUseStreamHeader)
{
var fReallyUseStreamHeader = (fUseStreamHeader &&
(dialogArguments.__IE_OutlookHeader != null));
this._anMerge[1] = (fReallyUseStreamHeader) ? 1 : 0;
this._nStatus = ((fReallyUseStreamHeader) ? 0 : 1);
this.AddFirstPage();
this._aaRect[this._nStatus][0].contentSrc = (fReallyUseStreamHeader)
? dialogArguments.__IE_OutlookHeader
: this._strDocURL;
}
and spefically on this line:
this._aaRect[this._nStatus][0].contentSrc = (fReallyUseStreamHeader)
? dialogArguments.__IE_OutlookHeader
: this._strDocURL;
When cheking this lineof code I have found the following:
this._aaRect[this._nStatus][0].contentSrc ==> undefined, type = User-defined
type
this._aaRect[this._nStatus][0] ==> does not have a contentSrc property,
type = Object
fReallyUseStreamHeader ==> false, type = Boolean
dialogArguments.__IE_OutlookHeader ==> null, type = Object
this._strDocURL ==> undefined, type = User-defined
Please let me know if there is a known issue while printing from IE 7.0. The
printingproblem is only from this application and everything else is
working/printing fine. Any help is appreciated.
Thank you,
Ivar
couldn't find one for IE 7.0
I'm getting this error when printing from one of my Intranet Web
applications and there is no way I can print that Web page.
A Runtime Error has ocurred.
Do you wish to Debug?
Line: 2020
Error: Invalid procedure call or argument
This only happens if IE 7.0 is intalled and all users with IE 6.0 can print
without problems. I debuged the error and found this:
Microsoft JScript runtime error: Invalid procedure call or argument
The error is on this function:
function CPrintDoc_InitDocument(fUseStreamHeader)
{
var fReallyUseStreamHeader = (fUseStreamHeader &&
(dialogArguments.__IE_OutlookHeader != null));
this._anMerge[1] = (fReallyUseStreamHeader) ? 1 : 0;
this._nStatus = ((fReallyUseStreamHeader) ? 0 : 1);
this.AddFirstPage();
this._aaRect[this._nStatus][0].contentSrc = (fReallyUseStreamHeader)
? dialogArguments.__IE_OutlookHeader
: this._strDocURL;
}
and spefically on this line:
this._aaRect[this._nStatus][0].contentSrc = (fReallyUseStreamHeader)
? dialogArguments.__IE_OutlookHeader
: this._strDocURL;
When cheking this lineof code I have found the following:
this._aaRect[this._nStatus][0].contentSrc ==> undefined, type = User-defined
type
this._aaRect[this._nStatus][0] ==> does not have a contentSrc property,
type = Object
fReallyUseStreamHeader ==> false, type = Boolean
dialogArguments.__IE_OutlookHeader ==> null, type = Object
this._strDocURL ==> undefined, type = User-defined
Please let me know if there is a known issue while printing from IE 7.0. The
printingproblem is only from this application and everything else is
working/printing fine. Any help is appreciated.
Thank you,
Ivar