• 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: How to switch the default printer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: How to switch the default printer? (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Probs with "BetterAuthorizationSample"-code
  • Next by Date: Using core data binary and string attributes with NSTextView
  • Previous by thread: Re: How to switch the default printer?
  • Next by thread: Re: How to switch the default printer?
  • Index(es):
    • Date
    • Thread