Leopard print sheet ignoring first page/last page settings

  • 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
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today