• 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
get selective settings from NSPrintInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

get selective settings from NSPrintInfo


  • Subject: get selective settings from NSPrintInfo
  • From: Gonzalo Castro <email@hidden>
  • Date: Fri, 22 Feb 2002 16:39:32 -0500

I need my application to remember some print dialog settings every time a user prints. For example, if the user selects Really Glossy Paper and High Quality in a print dialog, I want those settings to be sticky so next time he prints he doesn't have to set them again.

Is there a way to get selective settings from NSPrintInfo? I believe these settings must be in this object because when I ask NSPrintOperation for "printInfo" after it returns from runOperation and then later use this printInfo when the user prints again, I see the same settings in the print dialog I made during the previous print including ones I don't want to save like number of Copies.

More curious, is that this NSLog below shows me some settings but not the ones related to "quality" which I want. These settings look like ones set in the Page Setup as well.

NSLog(" printInfo = %@", [printInfo description]);

Thanks in advance.

Gonzalo
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: seconds into hours ?
  • Next by Date: Re: seconds into hours ?
  • Previous by thread: Re: +poseAsClass and instance variables
  • Next by thread: NSView subclass input question
  • Index(es):
    • Date
    • Thread