• 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
Re: how to update the view of NSPrintOperation ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to update the view of NSPrintOperation ?


  • Subject: Re: how to update the view of NSPrintOperation ?
  • From: "debin lei" <email@hidden>
  • Date: Thu, 15 May 2008 09:23:06 +0800

no, i know how to printed document without UI, just set
[printOp setShowsPrintPanel:NO];

i realy want to close the dialog with programtically, is it possiable?

2008/5/14 Rimas <email@hidden>:

> What are you trying to achieve? Get printed document without UI?
>
> > 2.
> >  when we implement printing with cocoa,
> >  an NSPrintOperation object is created to control the print operation .
> >  NSPrintOperation * printOp = [NSPrintOperation
> >  printOperationWithView:viewToPrint printInfo:printInfo];
> >  [printOp setShowsPrintPanel:YES];
> >  [printOp runOperation];
> >
> >  I got a native printing dialog, So how can I cancel this programtically?
> Is
> >  it possiable?
> >
>
> Rimas
>
_______________________________________________

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

References: 
 >how to update the view of NSPrintOperation ? (From: "debin lei" <email@hidden>)
 >Re: how to update the view of NSPrintOperation ? (From: "debin lei" <email@hidden>)
 >Re: how to update the view of NSPrintOperation ? (From: Rimas <email@hidden>)

  • Prev by Date: Guidance for Cocoa's steep learning curve
  • Next by Date: Re: Bypassing Interface Builder
  • Previous by thread: Re: how to update the view of NSPrintOperation ?
  • Next by thread: Pantomime working well.
  • Index(es):
    • Date
    • Thread