Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i want to print a marksheet through asp.net....
but the contents are coming in 2 pages...
so is there is code or way to print both the pages by simply clicking on the print button...

just on clicking print both the pages might get printed on the same paper.. front and back side means both sided..

Web Application VS 2012 ,SQL 2012
Posted
Comments
Richard MacCutchan 18-May-14 3:30am    
It depends on the features of the printer; not all allow double sided printing.

1 solution

Printing a web page is something that can be initialized in two ways:
1. Print menu from the browser
2. window.print() JavaScript command from your code
In both cases the client's machine's print dialog will opened (or some form of it) to let the client choose printer and other properties.
There is NO way to interfere with user's choice and force him to use double-side printing event it is presented on the printer...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900