Re: Mavericks Printer Selection
Re: Mavericks Printer Selection
- Subject: Re: Mavericks Printer Selection
- From: Bruce Robertson <email@hidden>
- Date: Wed, 27 Aug 2014 17:02:15 -0700
On Aug 27, 2014, at 1:12 AM, Shane Stanley <email@hidden> wrote:
> 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/>
All the information is available here, for example:
http://127.0.0.1:631/printers/
Bruce
_______________________________________________
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