Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print word document to PDF



Hi Peter, and others,

While the GUI suggestions for printing to PDF are good, I find using GUI
stuff in scripts problematic, and avoid it when I can. I solved the Word to
PDF problem by creating a virtual  PDF printer, setting it as the default,
and just telling Word to print. One might want to set the printer
programmatically, which can also be done without going to the GUI.

There are methods for creating such a virtual printer by hand, but I used
this:

http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/

which makes creating the virtual PDF printer much easier.


some time around 6.16.2007 12:49 PM, someone named Peter Baxter typed these
words:

> Subject: Print word document to PDF
> To: Apple Script <email@hidden>
> Message-ID: <email@hidden>
> 
> Hi people,
> 
> 
> I'm still trying to learn how to get Microsoft word to print to PDF
> through applescript.  When trying to use UI scripting, I can't
> identify the buttons, several of which appear to be un-named.  Has
> anyone already solved this problem?

-- 
Richard Brosnahan
Owner
Engineering Art, L.L.C
email@hidden
M 804.304.6880

The indispensable first step to getting the things you
want out of life is this: Decide what you want.
Ben Stein, lawyer, writer, teacher


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.