• 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
Printing two different parts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing two different parts


  • Subject: Printing two different parts
  • From: Johan Augustsson <email@hidden>
  • Date: Sat, 4 Mar 2006 03:22:54 +0100

Hi!

I want to print some records to a printer and after that some statistic as in my example:


My Name1 (PAGE 1) My Address1 My Phone1

My Name2			(PAGE 2)
My Address2
My Phone2

Statistic of Records:	(PAGE 3) (I want to print this heading too)
Name1
Name2


As you can see the record-part and statistic-part is very different.
How do I implement this the best way? Right now I have put everything in an single NSView.
My biggest problem is to print the heading of the statistic part. I guess that the best place to print the heading is in the top margin (because I don't want to disturb my other calculations)
This means that the record part and statistic part needs to use different top-margins. How can I solve this? Is it possible to separate the two parts in any way (Two NSViews)?
Am I thinking wrong? Is there a better solution?


Is this a typical problem? Are there any sample code for this type of printing?

Thank you in advance!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: how to debug notification that's never received?
  • Next by Date: NSTextView problem
  • Previous by thread: Help In Drawing
  • Next by thread: NSTextView problem
  • Index(es):
    • Date
    • Thread