by Allen Wyatt
(last updated September 23, 2016)
Lesley has a printer that has multiple paper trays. She has the letterhead in tray 2 and the continuation bond in tray 3. She wrote a macro that prints the first page from tray 2 and the rest of the pages from tray 3. She has a need, though, to create a macro that will print duplex from tray 2 (which covers the first two pages of the letter) and the rest of the pages duplex from tray 3.
This can be done with a macro, but the approach is probably not what you'd expect. In general, what you need to do this this:
The key here is to create the printers definitions in steps 1 and 2. If you don't do this, you can't force the printers (within a macro) to print in duplex. The reason is that duplex is handled at a printer level, and Windows doesn't make those settings available to Word. However, since the printer definition is set to print duplex, anything you send through that "printer" (in Word) is automatically in duplex.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (5681) applies to Microsoft Word 2007, 2010, and 2013.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
If you have a document with Track Changes turned on, you can accumulate quite a bit of "markup" in it. Here's how you can ...Discover More
Want to add crop marks to a printout? It's easy to do, provided you are using a PostScript printer.Discover More
Need to create a booklet with Word? Depending on your version, it could be as easy as changing how you print your final ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.