A
Ambarish Ganguly
Hi,
I am using the Word Application and the word object for
printing.
In my program , I do the following
Save an HTML file into a Word document.
Print the Word document using the .PrintOut method( here
background is set to false).
Sleep for 3 secs.
The htm is closed previously.
Close the word doc.
Delete the htm and the word doc.
I do this repeatedly in a loop.
When the volume for printing is high, I am getting error
"There is not enough memory to repaginate or print the
document in the method call .PrintOut.
My application server has enough memory.I am connecting to
a network printer for printing by using the method
objWordApp.ActivePrinter = <\\Network machine\Network
printer>
I am allocating memory in other parts of the program but
there is no memory error for that.Only in .Printout this
happens.
Any suggestions on this is most helpful.
Thanks,
Ambarish.
I am using the Word Application and the word object for
printing.
In my program , I do the following
Save an HTML file into a Word document.
Print the Word document using the .PrintOut method( here
background is set to false).
Sleep for 3 secs.
The htm is closed previously.
Close the word doc.
Delete the htm and the word doc.
I do this repeatedly in a loop.
When the volume for printing is high, I am getting error
"There is not enough memory to repaginate or print the
document in the method call .PrintOut.
My application server has enough memory.I am connecting to
a network printer for printing by using the method
objWordApp.ActivePrinter = <\\Network machine\Network
printer>
I am allocating memory in other parts of the program but
there is no memory error for that.Only in .Printout this
happens.
Any suggestions on this is most helpful.
Thanks,
Ambarish.