• 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: Nelson Byrne <email@hidden>
  • Date: Mon, 23 Feb 2004 17:38:33 -0800

I got two correct and helpful answers to my question as to printing from AppleScript. The responders are {email@hidden,email@hidden}. They both told me that whereas PRINT does nothing in application "Printer Setup Utility", OPEN actually prints the file.

I can now say something like:

(choose file) as alias returning PrintMe
tell application "Printer Setup Utility"
get current printer returning TheOriginalPrinter
item 1 of (get printers whose name is "Lexmark Optra E312") returning current printer
open my PrintMe
TheOriginalPrinter returning current printer
end tell

and it works.

Thanks very much.


Nelson Byrne
_______________________________________________
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.

  • Prev by Date: can't make document
  • Next by Date: Can't set creator type
  • Previous by thread: Re: print
  • Next by thread: on synonyms and homonyms (Re: Efficiently using whose on Address Book users)
  • Index(es):
    • Date
    • Thread