Link to home
Start Free TrialLog in
Avatar of bidgadget
bidgadgetFlag for United States of America

asked on

Need to create a print button in using to print current page without headers

I have an application built using on visual studio 2015.  I want the user to be able to print an asp page to either a printer or Adobe PDF without headers or footers.  I don't want the user to have to adjust the print settings in their browser.  Is there a way I can create a print button that will send the page to a printer and change their header and footer settings to be blank.
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bidgadget


Thank you Chinmay.  I built a master page with nothing on it.  It still prints the the date in corner and site name on top and bottom.  Any way to get rid of that?
Please share a screenshot of the Master Page's rendering and I think this header and footer is coming from the Browser itself.
Thank you.  I did the css using Meadcoscript