
Tips.Net > WordTips Home > Printing > Documents Printing Out of Order
Summary: If you are printing a large number of documents, and they print out of order, here is a possible explanation and solution. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
Mark asked for help with a problem printing documents. Seems he has a macro that he uses to print his documents in the order desired. If there are 10 or fewer documents, then they print fine. If there are 11 or more, the first 10 are background printed and the remaining chapters are foreground printed.
At first blush, this problem could seem to be a sorting problem. That is quickly dispelled, however, by realizing that if it were a sorting problem, document 10 would always print after document 1.
Which leads to the most likely scenario: The documents are simply filling up the space allocated and/or available for the background printing queue used by Word. (This is completely a supposition; I could find no hard documentation on if there even was a space limitation on the queue.) In either case, the solution to the problem would be to simply turn off the background printing feature in the macro before beginning the print run.
What does that mean? Simply that the printing will take a while, as you wait for each document to print. Of course, the macro could be made "smart" by only turning off the background printing feature if it detects, before printing the first document, that there are more than 10 documents in the entire job.
To turn off background printing in a VBA macro, simply include this line at the beginning of the macro:
Options.PrintBackground = False
When you later want to turn background printing on again, use the following line:
Options.PrintBackground = True
If turning off background printing is not satisfactory (meaning, you don't want to wait for the printer any longer than absolutely necessary), there are a couple of other options. The first, of course, is to use the master document feature of Word. This feature has been "featured" in other WordTips, and I can safely state that not that many Word users are satisfied with the feature.
Which brings us to the final potential solution: You can use the INCLUDETEXT field to build a document that includes all your "subdocuments," and then just print the single document. This could be done under macro control, as well. Simply use your macro to open a new document, calculate the name of each document you want to print, and then insert an INCLUDETEXT field that uses that name. The macro could finish out by printing the document it created and then throwing it away. The minimal syntax for the INCLUDETEXT field, as required for this macro, is as follows:
{INCLUDETEXT "MyFile1.doc"}
Tip #842 applies to Microsoft Word versions: 97 2000 2002 2003 2007
Great Idea! Uncover the many ways you can master the full potential of printing your documents. WordTips: Printing and Printers can help you get the most from both the printed page and your printer.
Discover how to use Word's mail merge tool to create your own custom documents in just minutes. Great e-book answers all your questions. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips