Runtime error when printing from Internet Explorer 7.0

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
 
G

Guest

Sorry I missed this info. The JScript function is on
res://ieframe.dll/preview.js

Thanks,
Ivar
 
P

PA Bear

Those with IE7-specific questions or comments are asked to post to and seek
support in this newsgroup: microsoft.public.internetexplorer.general

On the web:
http://www.microsoft.com/communitie...?dg=microsoft.public.internetexplorer.general

In your newsreader:
news://msnews.microsoft.com/microsoft.public.internetexplorer.general

PS: Make certain your printer drivers and software (e.g., HP Director) are
fully updated.
--
~Robear Dyer (PA Bear)
MS MVP-Windows (IE, OE, Security, Shell/User)
AumHa VSOP & Admin; DTS-L.org
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
 
G

Guest

I'm posting this question on microsoft.public.internetexplorer.general
newsgroup.

Thanks,
Ivar

PA Bear said:
Those with IE7-specific questions or comments are asked to post to and seek
support in this newsgroup: microsoft.public.internetexplorer.general

On the web:
http://www.microsoft.com/communitie...?dg=microsoft.public.internetexplorer.general

In your newsreader:
news://msnews.microsoft.com/microsoft.public.internetexplorer.general

PS: Make certain your printer drivers and software (e.g., HP Director) are
fully updated.
--
~Robear Dyer (PA Bear)
MS MVP-Windows (IE, OE, Security, Shell/User)
AumHa VSOP & Admin; DTS-L.org
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top