Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Jan 2008
    Location
    Bromley, Kent, United Kingdom
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    printing to two different trays (Word 2003 SP3)

    I want to print a letter twice, once on headed paper and the next time on plain paper. We have them in tray1 and tray2 of a Lexmark T630 printer what would the macro code be just to ask for one copy on each type of paper in turn? I've tried recording the macro but Word doesn't seem to record the changing of the tray in the macro code when I do the two prints manually.

    Thanks in advance for any help you can give me.

    Regards

    Terry

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 15 Times in 15 Posts

    Re: printing to two different trays (Word 2003 SP3)

    Try recording a macro of selecting the paper tray in the Paper tab of File | Page Setup...
    You should get something like the following, with a lot of other code that you can remove:

    Sub Macro1()
    With ActiveDocument.PageSetup
    ...
    .FirstPageTray = wdPrinterDefaultBin
    .OtherPagesTray = wdPrinterDefaultBin
    ...
    End With
    End Sub

    If the code for the bins of your LexMark is not among the built-in wdPaperTray constants, you'll see numbers instead of the symbolic constants.

Posting Permissions

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