Re: About the replacement of NSPrintPagesPerSheet
fan Zheng <[email protected]> Wed, 14 Sep 2011 11:57:19 +0800
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <CALHC_o0Y7pnFv5Rr+OfbE=JSXo2mKKnBiAZ0duHPo99Qdns8zg@mail.gmail.com> |
Hi, Kyle: Thanks for helping! But I have tried those 2 keys you mentioned. I just can not catch the refresh invoke (drawRect, knownPageRange.... anyone) in my view for printing after changing the "Pages per Sheet"... So, is there any special setting for the panel or print info? 2011/9/14 Kyle Sluder <[email protected]> > On Tue, Sep 13, 2011 at 8:38 PM, fan Zheng <[email protected]> > wrote: > > Hi, All: > > > > I am a new comer here of the mail list. And I came here for finding some > > helps about Mac Print Panel. > > The issue is: > > I am developing a customized print panel of Mac OS, which is actually a > > NSPrintPanel, now I want to be responsible to refresh the preview follow > the > > change happens in Layout->"Pages per Sheet". What should I register in > the > > key value path of preview? NSPrintPagesPerSheet seems to be the correct > > choise, but now it was deprcated, and no according replacement. > > > > Is there anyone knows the solution on this issue? > > Look at NSPrintPagesAcross and NSPrintPagesDown. > > --Kyle Sluder >