• 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: Is there a way to detect if user adds Printer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to detect if user adds Printer?


  • Subject: Re: Is there a way to detect if user adds Printer?
  • From: email@hidden
  • Date: Thu, 07 Jun 2012 16:05:03 +0000
  • Importance: Normal

hi,

To answer my question:

I used:


https://github.com/kballard/NotificationWatcher

Noticed that

com.apple.ColorSync.DeviceRegisteredNotification

and

com.apple.ColorSync.DeviceUnregisteredNotification

Were send out also this code I saw yesterday
http://www.cocoabuilder.com/archive/cocoa/103082-notification-for-printer-getting-added.html

Also this tech note helps:

http://developer.apple.com/library/mac/#technotes/tn2035/_index.html

Marc


> hi,
>
> Is there a way to detect if the user added/removed a printer while my app
> is running?
>
> I'm currently displaying a popup with the contents of [NSPrinter
> printerNames] but my app would like to be notified when changes are
> happening to this contents.
>
> thanks for some ideas.
>
> marc
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Is there a way to detect if user adds Printer? (From: Marc Van Olmen <email@hidden>)

  • Prev by Date: Re: A color well in a table view?
  • Next by Date: Re: Moving CALayer and content transition animation
  • Previous by thread: Is there a way to detect if user adds Printer?
  • Next by thread: A color well in a table view?
  • Index(es):
    • Date
    • Thread