• 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: creating a printer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >creating a printer (From: Torsten Curdt <email@hidden>)
 >Re: creating a printer (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: creating a printer
  • Next by Date: waiting for an NSThread
  • Previous by thread: Re: creating a printer
  • Next by thread: Re: creating a printer
  • Index(es):
    • Date
    • Thread