I have a very simple requirement: I want to show a header and footer in print layout of a view. One approach I can use is to manipulate the height of the page and display some text fields at appropriate positions as header and footer, but I think there must be smarter way to do this in cocoa.
Can any one tell me- is there any default method to achieve this in cocoa or some smarter way to do this?
To be more precise ... I want to show page number on center at footer such that if print layout consists of n number of pages it should display: page 1 of n, page 2 of n and so on !