The
MousePosition property of your Form, Panel, whatever you're drawing your stuff on will tell you where the mouse pointer is.
Bear in mind that you get screen co-ordinates, even though you're calling a control's method. To print something, you will typically need control co-ordinates.
Control.PointToClient will translate for you.