Re: creating a printer
Re: creating a printer
- Subject: Re: creating a printer
- From: "Stephen J. Butler" <email@hidden>
- Date: Sun, 12 Oct 2008 22:07:02 -0500
On Sun, Oct 12, 2008 at 8:54 PM, Scott Ribe <email@hidden> 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 (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