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 PROTECTED]>: > 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]