On Sun, Oct 12, 2008 at 8:54 PM, Scott Ribe <[EMAIL PROTECTED]> wrote: >> But how do I add a printer to the system? Any pointers to the right >> docs? > > I think you'll have to use lpadmin, via NSTask, and it's not particularly > easy to figure out the right options without knowing a good bit about CUPS, > which I don't...
Note that in 10.5 you need to be an administrator to install printers. lpadmin will prompt for an admin user/pass if the current user isn't root. So if you want a normal user to be able to install printers w/o being bothered, you need to write an SUID helper tool. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]