Updating View While PrintOperation is Running
Updating View While PrintOperation is Running
- Subject: Updating View While PrintOperation is Running
- From: Koen Bok <email@hidden>
- Date: Mon, 22 Jan 2007 23:31:50 +0100
I am desperately trying to update a view for printing while the
PrintPanel is open.
Situation is as follows:
We have a POS system where clients will have ticket printers and
regular printers connected. When a user starts a print operation and
selects a ticket printer I want to load another template for the
print job with special layout for the ticket printer. Same vice versa.
I am able to detect the printer switch and where it switches to, so
that's fine. But whenever I alter the view contents with the new
template and click print, the print output did not reflect the
changes. I tried a few things.
- Redrawing the view (works on the display) and setNeedsDisplay
- Replacing the current printoperation with a view with other content
- Removing the printoperation context and regenerating (destroyContext)
None of them did work.
Anyone got a hint?
Thanks! Koen@sofa
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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