Re: About the replacement of NSPrintPagesPerSheet

Kyle Sluder <[email protected]> Tue, 13 Sep 2011 20:45:50 -0700
Newsgroups gmane.comp.macosx.devel
Message-ID <CANEs-czYymw60WL6ZN19DU7vzKVZ4E6APofn7B_=-hLCgaks5A@mail.gmail.com>
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