Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Click menu with option key down, adding printers



I don't understand what the 'Advanced' menu is you are looking for...

Can I suggest an alternative?

If you REALLY want to 'automate' the adding of printers...why not use
lpadmin? (set man lpadmin for further info)

>From the terminal: (all one line)

## AppleTalk printer
:~$ /usr/sbin/lpadmin -p Printer_Queue_Name -D 'Printer Name' -P
/path/to/ppd/file -v pap://AppleTalkZone/PrinterName/LaserWriter -E

## LPR printer
:~$ /usr/sbin/lpadmin -p Printer_Queue_Name -D 'Printer Name' -P
/path/to/ppd/file -v lpd://123.456.789.11/ -E

Then just do shell script. This will add printers to your system with the
greatest of ease.

Best Regards,
Jake


On 4/26/05 8:15 AM, "rfitz" <email@hidden> wrote:

> --I am sending this to the list again because I have not yet seen it
come
> through--

How can I change the code below so that when the click action
> is
called, it sends a click with the option key down.

activate application
> "Printer Setup Utility"
tell application "System Events"
       tell process
> "Printer Setup Utility"
               click menu item "Add PrinterŠ" of menu
> "Printers" of
menu bar item "Printers" of menu bar 1
       end tell
end tell

>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-studio mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-studio/email@hidden
> 
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >Click menu with option key down (From: rfitz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.