Add Header footer on printed document


I am using GoView to display graphical entities, without any header & footer.But for print preview, the requirement is that some text header & footer should appear on every page during printing.
So how can i override GoView.PrintShowDialog(PrintDocument) function to fullfill the above requirement?
Please reply me as soon as possible.

see How do I make use the PrintDecoration?