Re: Print selected file in the Finder
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