Leopard print sheet ignoring first page/last page settings
Leopard print sheet ignoring first page/last page settings
- Subject: Leopard print sheet ignoring first page/last page settings
- From: Jayson Adams <email@hidden>
- Date: Fri, 16 Nov 2007 00:32:38 -0800
Hello,
In Tiger I can say the following
[[printInfo dictionary] setObject:[NSNumber numberWithBool:NO]
forKey:NSPrintAllPages];
[[printInfo dictionary] setObject:[NSNumber numberWithInt:3]
forKey:NSPrintFirstPage];
[[printInfo dictionary] setObject:[NSNumber numberWithInt:5]
forKey:NSPrintLastPage];
printOperation = [NSPrintOperation
printOperationWithView:theView printInfo:printInfo];
[printOperation runOperationModalForWindow:window...];
and the Print sheet will appear with its page range set to "From" and
the first and last page numbers will appear in the corresponding text
fields. When I run this on Leopard the page range remains set to
"All" and the text fields are both set to 1. I know a lot of things
changed in printing for Leopard - is there some new/other way to set
the initial page range, or is this a bug?
Best,
__jayson
Circus Ponies NoteBook - Organization for a Creative Mind
www.circusponies.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden