Print Preview functionality of Internet Explorer.

Hi, I am using Widows.print() function to use print functionality within my application. So, when I am doing print preview by using right click on page then it shows me two pages. But problem is that it shows contents on first page only and other contents are truncating from first page instead of showing it on second page. And second page is showing blank. Actually, I used custom CSS code for this functionality. How should I display contents properly on both pages?
1 answers

Seems to be common behavior for the windows.print() function.

It will only print the first page depending on the styling, to fix this read: