• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
can reverse page order printing be done programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can reverse page order printing be done programmatically?


  • Subject: can reverse page order printing be done programmatically?
  • From: Ken Victor <email@hidden>
  • Date: Thu, 4 Oct 2007 14:38:57 -0700

(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
_______________________________________________

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


  • Follow-Ups:
    • Re: can reverse page order printing be done programmatically?
      • From: Dave Camp <email@hidden>
  • Prev by Date: Re: Source code for debugging
  • Next by Date: Re: can reverse page order printing be done programmatically?
  • Previous by thread: Re: Source code for debugging
  • Next by thread: Re: can reverse page order printing be done programmatically?
  • Index(es):
    • Date
    • Thread