• 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: Mavericks Printer Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mavericks Printer Selection


  • Subject: Re: Mavericks Printer Selection
  • From: Bruce Robertson <email@hidden>
  • Date: Wed, 27 Aug 2014 10:51:13 -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/>

Thanks, and I can make that work, but I would prefer a different approach.

This is for use within FileMaker. Previously, I did not have to install anything new to select printers.

Everything could be managed with Printer Setup Utility, which can be called from within a perform applescript statement.

Now, for every new user of a 10.9+ system, I must install a new app (well scripting library entry).
Or, as suggested elsewhere, get an older copy of Printer Setup Utility installed.

Am I missing something in shell commands or other standard applescript statements that would let me read the user's printer names?

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


  • Follow-Ups:
    • Re: Mavericks Printer Selection
      • From: Shane Stanley <email@hidden>
References: 
 >Mavericks Printer Selection (From: Bruce Robertson <email@hidden>)
 >Re: Mavericks Printer Selection (From: Shane Stanley <email@hidden>)
 >Re: Mavericks Printer Selection (From: Shane Stanley <email@hidden>)
 >Re: Mavericks Printer Selection (From: Bruce Robertson <email@hidden>)
 >Re: Mavericks Printer Selection (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Mavericks Printer Selection
  • Next by Date: excel rows
  • Previous by thread: Re: Mavericks Printer Selection
  • Next by thread: Re: Mavericks Printer Selection
  • Index(es):
    • Date
    • Thread