Re: How to switch the default printer?
Re: How to switch the default printer?
- Subject: Re: How to switch the default printer?
- From: Laurent Daudelin <email@hidden>
- Date: Sat, 17 Oct 2009 15:22:26 -0700
Thanks, Scott! I had started to look at the printing prefs file as it contained information about the printers in use. Appreciate the sharing!
Cheers!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
On Oct 17, 2009, at 14:18, Scott Ribe wrote:
>> Well... suppose from my application, I want to convert a Word document to PDF.
>> How would I do that? I did quite a bit of research and the only way I found
>> was to use CUPS-PDF and have Word print to that printer. Then, I can retrieve
>> the converted PDF document. Is there any other way?
>
> You are right, this is the only way.
>
> So there's a couple of things you have to deal with, and in particular
> things are different in 10.4 & 10.5. (I haven't actually tried this under
> 10.6 yet.) A particular quirk is that using lpoptions to set the default
> printer does not work if "use last printer" is the option selected for
> default printer in system preferences. The below code isn't your exact
> answer since it depends on my own code for executing processes, and is C++,
> but I think you can read it and get the idea:
[snip!]_______________________________________________
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