Print operation not spooling
Print operation not spooling
- Subject: Print operation not spooling
- From: Josh Anon <email@hidden>
- Date: Wed, 27 Aug 2003 16:42:51 -0700
Hi all,
I'm guessing this is a simple problem, but I don't see what I'm doing
wrong. I have a document based app with a custom view that I'm going
to print. When I call printDocument:, I make a new instance of the
custom view, set myself as the data source, etc.. Then, I call print:
on the view.
Within the view, in print:, I get the print info (which the doc set)
and call
NSPrintOperation *po = [NSPrintOperation printOperationWithView:self
printInfo:pi];
[po setAccessoryView:someOtherView];
[po runOperation];
The first time I click "print" (or preview), the job spools fine and
everything is ok. I return to printDocument: and release the print
view. However, the next time I click print, everything works perfectly
until I hit [po runOperation]. Then, the print panel comes up, but
when I click preview or print, it just returns without spooling the
document. It doesn't log any errors, and I'm stumped. Generally
restarting the app causes it to work again, but sometimes I need to
restart the machine (!) before it'll spool again. Anyone see this
before?
Thanks for any ideas!
Josh
---
Josh Anon
Studio Tools, Pixar Animation Studios
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.