Printing an Outlook email causes a runtime error; asks to debug.

M

Manuel

When open an email in MS Outlook 2003 and try to print I get a error message:
"A runtime error has ocurred. Do you wish to debug?"
"Line: 1343"
"Error: Unspecified error"

When I chose to debug I get the following text in the debuging program with
a break in line 1343:

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;
}

The second from the last line is where the debug program breaks

: this._strDocURL;

Please help. If need be please email me at (e-mail address removed) so I can email
the entire text.
Thank you
 
H

Hal Hostetler [MVP-P/I]

the "1343" error can often be fixed with:

Start | Run | regsvr32 ole32.dll

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP- Print /Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com
 
M

Manuel

Hal, this worked like magic. God bless and merry Christmass

Hal Hostetler said:
the "1343" error can often be fixed with:

Start | Run | regsvr32 ole32.dll

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP- Print /Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

Manuel said:
When open an email in MS Outlook 2003 and try to print I get a error
message:
"A runtime error has ocurred. Do you wish to debug?"
"Line: 1343"
"Error: Unspecified error"

When I chose to debug I get the following text in the debuging program
with
a break in line 1343:

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;
}

The second from the last line is where the debug program breaks

: this._strDocURL;

Please help. If need be please email me at (e-mail address removed) so I can
email
the entire text.
Thank you
 
R

RCW

Your solution also fixed the "Unspecified Error" I received in Outlook, but
then the error reoccurred, later and was solved by regsvr32 ole32.dll

DO you have any idea why this would recur?

Hal Hostetler said:
the "1343" error can often be fixed with:

Start | Run | regsvr32 ole32.dll

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP- Print /Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

Manuel said:
When open an email in MS Outlook 2003 and try to print I get a error
message:
"A runtime error has ocurred. Do you wish to debug?"
"Line: 1343"
"Error: Unspecified error"

When I chose to debug I get the following text in the debuging program
with
a break in line 1343:

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;
}

The second from the last line is where the debug program breaks

: this._strDocURL;

Please help. If need be please email me at (e-mail address removed) so I can
email
the entire text.
Thank you
 
B

Bill Skeggs

Hal Hostetler said:
the "1343" error can often be fixed with:

Start | Run | regsvr32 ole32.dll

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP- Print /Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

Manuel said:
When open an email in MS Outlook 2003 and try to print I get a error
message:
"A runtime error has ocurred. Do you wish to debug?"
"Line: 1343"
"Error: Unspecified error"

When I chose to debug I get the following text in the debuging program
with
a break in line 1343:

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;
}

The second from the last line is where the debug program breaks

: this._strDocURL;

Please help. If need be please email me at (e-mail address removed) so I can
email
the entire text.
Thank you
 
B

Bill Skeggs

A good piece of advice that was easy to follow and worked first time even
though it was posted in 2005!

Many thanks

Bill Skeggs
*********************

Hal Hostetler said:
the "1343" error can often be fixed with:

Start | Run | regsvr32 ole32.dll

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP- Print /Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

Manuel said:
When open an email in MS Outlook 2003 and try to print I get a error
message:
"A runtime error has ocurred. Do you wish to debug?"
"Line: 1343"
"Error: Unspecified error"

When I chose to debug I get the following text in the debuging program
with
a break in line 1343:

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;
}

The second from the last line is where the debug program breaks

: this._strDocURL;

Please help. If need be please email me at (e-mail address removed) so I can
email
the entire text.
Thank you
 
M

Marty

Had the exact same error (except line 2020) with Office 2003 w/SP3 and the
regsvr32 ole32.dll fixed it. Plain text messages printed ok, it was just the
html messages that failed. Thanks
--
Marty


Hal Hostetler said:
the "1343" error can often be fixed with:

Start | Run | regsvr32 ole32.dll

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP- Print /Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

Manuel said:
When open an email in MS Outlook 2003 and try to print I get a error
message:
"A runtime error has ocurred. Do you wish to debug?"
"Line: 1343"
"Error: Unspecified error"

When I chose to debug I get the following text in the debuging program
with
a break in line 1343:

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;
}

The second from the last line is where the debug program breaks

: this._strDocURL;

Please help. If need be please email me at (e-mail address removed) so I can
email
the entire text.
Thank you
 
A

Anomolouswizard

My thanks also Hal, been causing problems for a while until I found your
posting.

Hal Hostetler said:
the "1343" error can often be fixed with:

Start | Run | regsvr32 ole32.dll

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP- Print /Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

Manuel said:
When open an email in MS Outlook 2003 and try to print I get a error
message:
"A runtime error has ocurred. Do you wish to debug?"
"Line: 1343"
"Error: Unspecified error"

When I chose to debug I get the following text in the debuging program
with
a break in line 1343:

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;
}

The second from the last line is where the debug program breaks

: this._strDocURL;

Please help. If need be please email me at (e-mail address removed) so I can
email
the entire text.
Thank you
 

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