Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sebastijan

macrumors member
Original poster
May 22, 2005
62
2
London, UK
In Visual Basic I use Crystal Report for print form. It is easy. But how can I make this using Cocoa for some data?

Where can I find example for this or can someone write this?

Thanks.
 
I assume you mean printing from a Cocoa based program?

To do this you need to create a view which gets printed (you may have one already), if your program is document based you can then create an NSPrintOperation object and run it.

This is covered in more detail in Chapter 24 of Aaron Hillegass's book.
 
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.