Re: Mavericks Printer Selection
Re: Mavericks Printer Selection
- Subject: Re: Mavericks Printer Selection
- From: Shane Stanley <email@hidden>
- Date: Wed, 27 Aug 2014 18:12:46 +1000
On 27 Aug 2014, at 4:15 pm, Bruce Robertson <email@hidden> wrote:
> This give me Name; and Kind.
>
> {"Dymo LabelWriter 330", "Dymo Label Printer"}
>
> But what I am looking for is Device Name, which in my case is:
>
> Dymo_LabelWriter_330___miniserver
I understand. But if you get the kind, and change all characters not A-Za-z0-9 to underscores, and you already have a list of all device names via lpstat, you may be able to match them using "offset of ... in ...".
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden