Printing On Both Sides of the Paper

by Allen Wyatt
(last updated May 26, 2017)

2

Some printers have the capability to print on both sides of a piece of paper. This feature is called duplexing, and it can add a big chunk of change to the cost of a printer. If your printer doesn't have duplexing, the only way to achieve the same result is to pass your paper through the printer twice. The following VBA macro will assist you in this process. It first prints the odd pages in a document, prompts you to turn the paper over, and then prints the even pages.

Sub PrintBothSides()
    Dim iTemp As Integer

    ActiveDocument.PrintOut Copies:=1, PageType:=wdPrintOddPagesOnly
    iTemp = MsgBox("Switch paper to continue", vbOKCancel, "PrintBothSides")
    If iTemp = vbOK Then
        ActiveDocument.PrintOut Copies:=1, PageType:=wdPrintEvenPagesOnly
    End If
End Sub

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1418) applies to Microsoft Word 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Adding Items to a Context Menu

Context menus can be very helpful for presenting common operations you can perform, based on the context in which the ...

Discover More

Using a Numeric Portion of a Cell in a Formula

If you have a mixture of numbers and letters in a cell, you may be looking for a way to access and use the numeric ...

Discover More

Use Filenames that Sort Properly

When storing your Excel workbook, you need to specify a file name to be used for the workbook. Take a moment to consider ...

Discover More

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!

More WordTips (menu)

Selecting a Paper Source

Some printers allow you to print on paper from different sources. For instance, a printer may have multiple paper trays, ...

Discover More

Printing Documents without Markup

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

Preventing Printing

When dealing with determined users, it is virtually impossible to prevent information in your document from being ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 5 + 3?

2013-11-10 14:31:42

Phil Husband

I have a printer that will print on both sides of the page before going to page 3 for example. However I have MS word 2003 and I can only print on one side. Publisher 2003 allows me to print on both sides. Any help you can give will be appreciated.


2012-02-25 21:26:06

Milind Karnik

Please note that you must consider how you get the printed document. On my HP1070, I get the printed pages face down. So, if I want to maintain normal order of printed pages, I must instruct the macro to print "backwards" in the second go. Further, if the entire document has odd number of pages, then I must also work out whether to include the last printed odd page while switching pages. One can add a message to this effect based on page count.

Hope this is useful.


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.