Consulting

Results 1 to 5 of 5

Thread: Is it Possible: Duplex Print Specific pages in a document

  1. #1

    Is it Possible: Duplex Print Specific pages in a document

    Hi all,

    I've searched all over and can't seem to find a solution.

    i have a 10 page document and pages 5 and 6, then pages 9 and 10 are supposed to be printed double sided(duplex).

    Is this doable?

    -Steve

  2. #2
    Moderator VBAX Guru Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    4,237
    Location
    I have had a look at this issue. As of yet I have not seen anything that may assist you in this. Have you considered printing a defined range of "single page format" pages of your document and then printing a second copy of selected pages as double sided pages?
    Remember To Do the Following....
    Use tags when posting code to the thread,
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  3. #3
    I will try that. Thanks for the suggestion!

  4. #4
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,396
    Location
    Duplex seems to be a printer option not available in VBA. I can print 5-6 manually by selecting print manually

    Capture.JPG


    Macro recorder does not capture it

        Application.PrintOut FileName:="", Range:=wdPrintRangeOfPages, Item:=wdPrintDocumentWithMarkup, Copies:=1, Pages:="5-6", _        PageType:=wdPrintAllPages, Collate:=True, Background:=True, PrintToFile:=False, _
            PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0

    There's a workaround here that is supposed to work

    https://stackoverflow.com/questions/...-word-2013-vba
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  5. #5
    Thanks for looking into this Paul. I'll check it out now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •