Print in modal view, prints blank pages too
I have added a HTML code to enable print in modal view for SharePoint 2013 Lists. Print command works and give you the option to print. However all the time print will print 1st page as blank and last page too as blank.
I have 2 content editor on the dispform.aspx, which is been used by modal view.
Wondering what can i do to allow only the content to be printed.