Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: setting the default printer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting the default printer



Thanks Serg.

I should have mentioned that I'd tried lpoptions. It only works with local printers (it also works for network printers on a local network, but not for shared printers) and I need something that will allow me to change the default between local and shared printers. Applescript is okay, too.

Thanks!
Waleed

On Dec 21, 2004, at 6:36 PM, Serg Redko wrote:

Hi,

AFAIK for OS >= 10.2 to set the default printer the lpoptions command can be
run with option -d and printer.
You can make system call to lpoptions -d printer from your Carbon /Cocoa
app.


Regards,
Serg

----- Original Message -----
From: "Waleed Mebane" <email@hidden>
To: <email@hidden>
Sent: Wednesday, December 22, 2004 12:57 AM
Subject: setting the default printer


How do I set the default printer using Carbon or Cocoa, but preferably
Carbon.

Thanks,

Waleed

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




_______________________________________________ Do not post admin requests to the list. They will be ignored. Printing mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >setting the default printer (From: Waleed Mebane <email@hidden>)
 >Re: setting the default printer (From: "Serg Redko" <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.