• 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 selected file in the Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print selected file in the Finder


  • Subject: Re: Print selected file in the Finder
  • From: Dan Day <email@hidden>
  • Date: Mon, 25 Jul 2005 11:11:43 -0500

On 7/25/05 10:08 AM, "email@hidden" <email@hidden> wrote:

> Hello!
>
> Could someone please point me to an AppleScript that will
> print a file selected in the Finder without opening the file
> in the app that created it?
>
> I've searched through the AppleScript-users archive and came
> up empty.
>
> Many thanks in advance!
>
> Barry


This has worked for me, depending on the type of file you want to print I
suppose:

do shell script "lp -d Name_of_Printer " & File_to_Print

example:

do shell script "lp -d Color_LaserJet_4550 " & /Users/dan/Desktop/File.txt

 _______________________________________________
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

References: 
 >Print selected file in the Finder (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: My first question, please be gentle (stack overflow)
  • Next by Date: need Digital Asset Management advice
  • Previous by thread: Print selected file in the Finder
  • Next by thread: need Digital Asset Management advice
  • Index(es):
    • Date
    • Thread