• 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
Re: print
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print


  • Subject: Re: print
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 24 Feb 2004 23:06:01 -0800

On Feb 23, 2004, at 12:51 PM, Nelson Byrne wrote:

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.

Actually, it doesn't. Unfortunately, what it does is tell Preview to print 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.

Even though Preview is not scriptable in the usual sense, it should still respond to the "print" event, same as it responds to the "open" and "quit" events. Unfortunately, it doesn't. There's a bug filed on this.

Workarounds are to use lpr(1) or Printer Setup Utility, as already decribed.


--Chris Nebel
AppleScript Engineering
_______________________________________________
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>)

  • Prev by Date: Re: ripe it out
  • Next by Date: Re: ripe it out
  • Previous by thread: Re: print
  • Next by thread: Re: Print
  • Index(es):
    • Date
    • Thread