//......first install a print document object.... PrintDocument p = new PrintDocument(); ..... ..... //-----Now attach a handler to the PrintPage "event" like under---- p.PrintPage += new PrintPageEventHandler(MyPrintHandler); ...... ......... p.print() //-----actually invoke the handler function with this call----- //-------the handler that gets called when "p.Print()" is invoked------------- void MyPrintHandler ( PaintEventArgs pea) { ......................... Graphics g = pea.Graphics; }