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

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

Adjusting Border Color

Want to make a particular cell or range of cells stand out? One way to do it is by changing the border color of the cells, as ...

Discover More

Inserting the User's Address

If you enter your address into Word, you can insert that address anywhere you want in a document by using a single field. ...

Discover More

Understanding the Drawing Canvas

Need to keep your drawing shapes together in one place? The drawing canvas may be exactly what you are looking for.

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (menu)

Reducing the Curl in Printed Documents

Have you ever printed out a document, only to have the pages curl very badly as they come out of the printer? There's a ...

Discover More

Guidelines for Laser Printer Letterhead

Plan on using printed letterhead in your laser printer? Here are some tips and cautions about doing so.

Discover More

Adding One More Line

It always seems to happen—you print a document and then discover that you should have included one more line of text at ...

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. 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 2 + 1?

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.