easyfan | 14 Sep 2011 05:27
Picon

Re: NSPrintPagesPerSheet

Denise Eatherly <denise <at> ...> writes:

> 
> Hi,
> 
> I'd like to give my users a little help at times by setting up 
> NSPrintInfo to print 2-up documents or 4-up documents.  
> NSPrintPagesPerSheet seemed obvious but it has been deprecated.  I 
> don't see a replacement, but I may be just overlooking something - does 
> anyone know a good alternative?
> 
> Thanks,
> Denise
> 
Hi, Denise:

I also met the issue here. Do you have any progress on it?

Thanks a lot!
fan Zheng | 14 Sep 2011 05:38
Picon

About the replacement of NSPrintPagesPerSheet

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?

Thanks so much!
fan Zheng | 14 Sep 2011 05:42
Picon

About the replacement of NSPrintPagesPerSheet

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?

Thanks so much!
Kyle Sluder | 14 Sep 2011 05:45
Picon

Re: About the replacement of NSPrintPagesPerSheet

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
fan Zheng | 14 Sep 2011 05:57
Picon

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.
(Continue reading)

Christiaan Hofman | 14 Sep 2011 12:06
Picon

Re: NSPrintPagesPerSheet


On Sep 14, 2011, at 5:27, easyfan wrote:

> Denise Eatherly <denise <at> ...> writes:
> 
>> 
>> Hi,
>> 
>> I'd like to give my users a little help at times by setting up 
>> NSPrintInfo to print 2-up documents or 4-up documents.  
>> NSPrintPagesPerSheet seemed obvious but it has been deprecated.  I 
>> don't see a replacement, but I may be just overlooking something - does 
>> anyone know a good alternative?
>> 
>> Thanks,
>> Denise
>> 
> Hi, Denise:
> 
> I also met the issue here. Do you have any progress on it?
> 
> Thanks a lot!
> 

NSPrintPagesAcross and NSPrintPagesDown?

Christiaan
fan Zheng | 15 Sep 2011 03:39
Picon

Re: NSPrintPagesPerSheet

Yeah, you are right.

I have notice that 2 keys, but seems those key change wont lead the preview
refresh in Mac 10.5.8. In 10.6 later, it works O.K.

Thank you in advance.

2011/9/14 Christiaan Hofman <cmhofman@...>

>
> On Sep 14, 2011, at 5:27, easyfan wrote:
>
> > Denise Eatherly <denise <at> ...> writes:
> >
> >>
> >> Hi,
> >>
> >> I'd like to give my users a little help at times by setting up
> >> NSPrintInfo to print 2-up documents or 4-up documents.
> >> NSPrintPagesPerSheet seemed obvious but it has been deprecated.  I
> >> don't see a replacement, but I may be just overlooking something - does
> >> anyone know a good alternative?
> >>
> >> Thanks,
> >> Denise
> >>
> > Hi, Denise:
> >
> > I also met the issue here. Do you have any progress on it?
> >
(Continue reading)

sunfire | 16 Sep 2011 17:29

Re: Using NSTask to execute softwareupdate


Hi Colin,
I'm having the same issue and I have been unsuccessful in fixing it. Did you
ever resolve this?

Thanks,
Charles

Colin Swelin wrote:
> 
> Hi,
> 
> Sorry for the long reply. I  gave this a try and it looked promising,
> however, the task still hangs at the "writing files" step of few patches.
> It's reading the buffer correctly, as its output everything up to that
> point.
> 
> Anyone have any insight to why the 10.6.6 update does this?
> 
> Thanks again,
> Colin
> 
> On 2011-01-08, at 1:27 PM, Tom Jones wrote:
> 
>> The problem is the use of "waitUntilExit" the buffer is filling up. 
>> 
>> Try something like this...
>> ( You might have to clean some of it up :-) )
>> 
>> Tom
(Continue reading)

Colin Swelin | 16 Sep 2011 20:22
Picon

Re: Using NSTask to execute softwareupdate

Hi Charles,

Unfortunately I have not come across a solution to the problem as of yet.

Colin.

On 2011-09-16, at 11:29 AM, sunfire wrote:

> 
> Hi Colin,
> I'm having the same issue and I have been unsuccessful in fixing it. Did you
> ever resolve this?
> 
> Thanks,
> Charles
> 
> 
> Colin Swelin wrote:
>> 
>> Hi,
>> 
>> Sorry for the long reply. I  gave this a try and it looked promising,
>> however, the task still hangs at the "writing files" step of few patches.
>> It's reading the buffer correctly, as its output everything up to that
>> point.
>> 
>> Anyone have any insight to why the 10.6.6 update does this?
>> 
>> Thanks again,
>> Colin
(Continue reading)

Christiaan Hofman | 20 Sep 2011 00:10
Picon

NSOutlineView indentation in Lion

I have an NSOulineView that does not properly indent the expansion markers of secondary items on Lion.
Basically, secondary expandable rows are not indented, all the expansion markers are to the far left and
the text starts right behind it, also for secondary items (children). Non-expandable rows are properly
indented as expected. The outlineview is in source list style. Also, the outlineview has
indentationMarkerFollowsCell set to YES. On earlier OS systems this all works as expected, i.e.
children are all indented according to their level, including the expansion markers. I cannot find
anything in the docs or the release notes saying that Lion has a different behavior in this respect.

Does anyone else see this, and know how to fix this? Is this a (known) bug?

thanks
Christiaan

Gmane