Re: print
Re: print
- Subject: Re: print
- From: Graff <email@hidden>
- Date: Mon, 23 Feb 2004 19:26:00 -0500
Here's how to print it via the Printer Setup Utility:
------------
set theFile to choose file of type "PDF "
tell application "Printer Setup Utility"
open theFile
end tell
------------
- Ken
On Feb 23, 2004, at 3:51 PM, Nelson Byrne wrote:
Apologies for bothering the list with such a stupid question.
How can I use AppleScript 1.9.3 (OS X.3.2) to print a PDF file?
Finder is scriptable and shows a print command in its Standard Suite,
but Finder ignores it.
Preview opens it if I ask Finder to do so, and will print it if I
click the right buttons, but Preview is not scriptable.
TextEdit will accept an AppleScript order to print it, but it comes
out as textual garbage since TextEdit doesn't know PDF.
I can drag and drop the file on Printer Setup Utility and it prints
just fine. PSU is scriptable, too - but telling PSU to print the file
does not work - nothing happens, same as telling Finder to print it.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >print (From: Nelson Byrne <email@hidden>) |