In the webbrowser control, I want to set the media type = print. So it will display the contents in print preview mode. Is this possible and how to do it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The only solution it seems is redirect the request to some other server, which will fetch the original page and modify the css attributes to show print layout on the screen. This can be done by removing the screen css files and setting the attribute media=”print” to media=”screen”.