So… you want to print a List Item (dispform.aspx) in #SP2010 #SharePoint do you? We’ll see about that!
As my project continues to go through UAT, it is always when you let your projects loose onto the world that you find the niggles and the minor issues.
So having worked out the email issues (previous post) and a few other bits and bobs. This issue came along and flumuxed me for a sec.
Browser: IE8, IE9
Environment: Microsoft SharePoint Server 2010 Enterprise SP1
When opening the view item value from a list (dispform.aspx), those with a large body of text in any multiple lines of text fields appeared fine on the screen.
However on print preview / paper the text stopped at the end of the page, then it moves on to the next field.
I hear you say.
What on earth could that be?
I checked the previous system that I was migrating from (SharePoint 2007) and the issue was not present there. So it had to be something to do with the HTML markup right?
Well I compared the SharePoint 2010 dispform.aspx markup with the SharePoint 2007 output and apart from more divs to encase it in, the output is pretty much the same.
So I tried to override with my own print CSS but to no avail.
After Further Investigation…
Internet Explorer 10 and Chrome however, no issues.
How did we resolve?
At the moment we are potentially going to set the doc type to IE7 for this web application. We are lucky that in this scenario, this may work as a quick fix.
However, as for the full solution, that is still to work out!
Group Policy reference for IE8: http://www.microsoft.com/en-us/download/details.aspx?id=3648