can reverse page order printing be done programmatically?

  • (i posted this 2 weeks ago and got no response. but i posted over the
    weekend. i'm hoping someone might see it now who didn't see it then
    and might have a response. thanx.)

    i can't seem to get reverse page order printing to work
    programmatically. i've tried calling
            -[NSPrintOperation setPageOrder: NSDescendingPageOrder]
    prior to calling:
            -[NSPrintOperation runOperationModalForWindow: delegate:
    didRunSelector: contextInfo: ];
    and this didn't work.

    i then tried running the print panel myself and in the
    printPanelDidEnd delegate method calling setPageOrder and the
    -[NSPrintOperaiont runOperation], again with no effect.

    i would also like to be able to determine if the user has checked
    reverse page order printing in the print panel, so i could set it as
    the default for the next print operation, but i haven't been able to
    figure out how to do that either, ie, if i examine the NSPrintInfo
    passed to the delegate method:

            -printOperationDidRun: success: contextInfo:

    page order is set to 1 (NSAscendingPageOrder), even if i've done a
    reverse page order print.

    so... is it possible to programmatically determine the page order
    requested by the user for a print job, and then set that as the
    default for the next print job? (and thus i'm doing something wrong.)
    or is this a (known) bug, ie, that setPageOrder, doesn't really do
    anything?

    thanx,
    ken
  • On Oct 4, 2007, at 2:38 PM, Ken Victor wrote:

    > (i posted this 2 weeks ago and got no response. but i posted over
    > the weekend. i'm hoping someone might see it now who didn't see it
    > then and might have a response. thanx.)

    It's a printing question... maybe the printing list would be a better
    choice.

    Dave
previous month october 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 31        
Go to today