14 Sep 2011 05:57
Re: About the replacement of NSPrintPagesPerSheet
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 <kyle.sluder@...> > On Tue, Sep 13, 2011 at 8:38 PM, fan Zheng <zheng.easyfan@...> > 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 >
RSS Feed