Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2004
    Location
    Praha
    Posts
    988
    Thanks
    56
    Thanked 105 Times in 90 Posts

    Printing from a Macro (Word 2003)

    I have a short macro to do printing, the relevant line is:

    ActivePrinter = "EPSON Stylus Photo 950"

    But I want to print to the Default printer, whatever that is at the time.

    How can I either look up the appropriate printer name in VB or refer somehow to the default printer rather than explicitly to a particular printer ?

    Thanks

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

    Re: Printing from a Macro (Word 2003)

    If you omit the line that sets ActivePrinter, the PrintOut method will print to the default printer.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2004
    Location
    Praha
    Posts
    988
    Thanks
    56
    Thanked 105 Times in 90 Posts

    Re: Printing from a Macro (Word 2003)

    Thanks Hans - too obvious !!

Posting Permissions

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