• 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
Updating View While PrintOperation is Running
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Document Based App Question
  • Next by Date: Re: Regarding launching an application at startup of mac.
  • Previous by thread: Re: Document Based App Question
  • Next by thread: Tech Talk Sample Code
  • Index(es):
    • Date
    • Thread