General information
Category:
COM/DCOM and OLE Automation
Title:
Forcing Word Documents to Printi in the Correct Sequence
Hello everyone,
We have a Microsoft Word correspondence engine that processes a data file - which is just a Word file with special markers. It extracts the records from the data file one record at a time. For each record, the engine
- creates a mail merge data source file (a Word document)
- opens a mail merge main document (may be different for each record)
- associates the mail merge data file with the mail merge main document
- replaces the mail merge fields with the data
- prints the results using PrintOut Background:=False
- closes the mail merge main document.
The process generates several letters per second. We are certain the records are processed in the correct sequence and the letters are generated in the correct sequence.
Our problem is the documents are not always in the correct sequence when we pick them off the printer. We cannot identify a pattern that will help us predict when the documents will come out in a wrong sequence. Using the same exact data may yield a different printing order. We resolved the problem by selecting the Start printing after last page is spooled option but we don't understand exactly what is going on. Is the order the documents will be printed dependent on both the PrintOut's Background setting and the printer spool setting? If not, how can we force the documents to always print in the correct sequence?
TIA,
Daniel
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only