FROM : debin lei
DATE : Thu May 15 03:23:06 2008
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 <apple.list.<email_removed>>:
> 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
>
DATE : Thu May 15 03:23:06 2008
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 <apple.list.<email_removed>>:
> 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
>
| Related mails | Author | Date |
|---|---|---|
| debin lei | May 14, 08:46 | |
| douglas a. welton | May 14, 14:46 | |
| debin lei | May 14, 15:13 | |
| debin lei | May 14, 16:57 | |
| Rimas | May 14, 17:13 | |
| debin lei | May 15, 03:23 | |
| debin lei | May 15, 03:37 |






Cocoa mail archive

