Incorrect headers and footers in the web document after printing

Q: While printing a report from report viewer, some header and footer are also getting printed which are not intended to be drawn as they are not shown in the report preview. How to get rid of them?
A: We do not put this header and footer in the document intentionally. Browser adds this footer and header in the document and we can't force it not to do that from code. For example, google chrome has a special checkbox for enabling/disabling footers and headers: