G
Guest
Hi out there,
we are developing software for local government and administration, and
our software uses Microsoft Office, especially Winword, for creating
documents and printing them. However, since more of our customers moved
to Office 2003 they are experiencing serious problems.
The problems occur when we print multiple documents. This happens
frequently in our application. Stacks of three, five, ten or fifteen
different documents might have to be printed at a time. And it seems
the printing jobs are interfering with each other. While in some cases
multiple documents print out fine, in most cases at some point we are
getting an error box from Winword, saying "The command cannot be
performed because a dialog box is open. ..."
This error is "cascading" if our app keeps sending more print jobs to
Winword. The user gets tons of these error boxes.
I do not really know which open dialog box the error message is
speaking of.
The standard way our app used Winword was DDE communication. However,
when this problem turned up I also tried printing the documents with
ShellExecute(), and I tried OLE automation with Winword. It all made no
difference, the problem is the same.
When looking for a solution I only found pointers to add-ins, macros,
or Norton Antivirus. This did not help me. We never used Norton
Antivirus. And also with all add-ins and macros removed, the problem
still persists.
Office 2003 SP2 is installed, but this does not solve the problem.
The problem definitely does not occur with Office 2000. With Office
2000 we can happily print away whole stacks of documents.
One thing I noted was that when I use "background printing" with Office
2000, Word is really printing in the "background" and only showing the
printing process in a small animated printer icon in the status bar.
With Office 2003, even when I switch to "background printing", a dialog
box with a cancel button pops up saying "printing page 1 of 1" and so
on. Could this dialog box be the one in question, which is interfering
with the following print jobs? But how can I get rid of it? Or how can
I get an answer from Winword saying the print job is finished, and it
would be safe to send the next one?
FWIW, the documents we create are in RTF format. Our development system
is CA-Visual Objects.
Any hints and pointers would be very much appreciated.
TIA
Kay-Viktor
we are developing software for local government and administration, and
our software uses Microsoft Office, especially Winword, for creating
documents and printing them. However, since more of our customers moved
to Office 2003 they are experiencing serious problems.
The problems occur when we print multiple documents. This happens
frequently in our application. Stacks of three, five, ten or fifteen
different documents might have to be printed at a time. And it seems
the printing jobs are interfering with each other. While in some cases
multiple documents print out fine, in most cases at some point we are
getting an error box from Winword, saying "The command cannot be
performed because a dialog box is open. ..."
This error is "cascading" if our app keeps sending more print jobs to
Winword. The user gets tons of these error boxes.
I do not really know which open dialog box the error message is
speaking of.
The standard way our app used Winword was DDE communication. However,
when this problem turned up I also tried printing the documents with
ShellExecute(), and I tried OLE automation with Winword. It all made no
difference, the problem is the same.
When looking for a solution I only found pointers to add-ins, macros,
or Norton Antivirus. This did not help me. We never used Norton
Antivirus. And also with all add-ins and macros removed, the problem
still persists.
Office 2003 SP2 is installed, but this does not solve the problem.
The problem definitely does not occur with Office 2000. With Office
2000 we can happily print away whole stacks of documents.
One thing I noted was that when I use "background printing" with Office
2000, Word is really printing in the "background" and only showing the
printing process in a small animated printer icon in the status bar.
With Office 2003, even when I switch to "background printing", a dialog
box with a cancel button pops up saying "printing page 1 of 1" and so
on. Could this dialog box be the one in question, which is interfering
with the following print jobs? But how can I get rid of it? Or how can
I get an answer from Winword saying the print job is finished, and it
would be safe to send the next one?
FWIW, the documents we create are in RTF format. Our development system
is CA-Visual Objects.
Any hints and pointers would be very much appreciated.
TIA
Kay-Viktor