• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Setting active printer in MS Word 2004?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting active printer in MS Word 2004?


  • Subject: Setting active printer in MS Word 2004?
  • From: Richard Rönnbäck <email@hidden>
  • Date: Fri, 26 Nov 2004 08:33:22 +0100

Title: Setting active printer in MS Word 2004?
Has anyone succeeded in setting active printer in Word 2004?

The dictionary  as well as the 2004 AS reference guide published by Microsoft says that the application class has a property "active printer" which is read/write:

    active printer Unicode text  -- Returns or sets the name of the active printer

But when I try


    tell
application "Microsoft Word"
        set active printer to ("Adobe
PDF" as Unicode text)
    end tell


or variations thereof it doesn't work. I can however get the active printer, but whitepace characters (and maybe other characters too? ) are replaced so that

    Adobe PDF = AdobePDF
    Marknad HP 4000 = Marknad_HP_4000"

I have of course tried using these to set the active printer, but with equal lack of success. So, if anyone has a better suggestion I would appreciate it greatly


/ Richard
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • RE: Setting active printer in MS Word 2004?
      • From: Richard Rönnbäck <email@hidden>
References: 
 >Re: I am a subscriber (From: Rob Stott <email@hidden>)

  • Prev by Date: Re: I am a subscriber
  • Next by Date: RE: Setting active printer in MS Word 2004?
  • Previous by thread: Re: I am a subscriber
  • Next by thread: RE: Setting active printer in MS Word 2004?
  • Index(es):
    • Date
    • Thread