Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing Word Documents to Printi in the Correct Sequence
Message
From
18/09/2002 12:06:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Forcing Word Documents to Printi in the Correct Sequence
Miscellaneous
Thread ID:
00701873
Message ID:
00701873
Views:
62
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
Map
View

Click here to load this message in the networking platform