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