12/4/2015 UPDATE: PrintIt for SharePoint 2010/2013 Version 1.7 has been released; 2013 is now out of beta.
PrintIt for SharePoint 2010/2013 allows you to easily print views, list items and calendars right from the SharePoint ribbon – without all the chrome and branding and in a print-friendly format.
(The Print View icon on the List ribbon)
(The Print Item icon on the Display Form)
(Example of a printed Announcement item)
SharePoint 2010:
https://drive.google.com/open?id=0B8BoYZ4_2RhYbGNCTDBNN3IybmM
SharePoint 2013:
https://drive.google.com/open?id=0B8BoYZ4_2RhYWU5pQUpHZXZxRHM
Documentation is included in the ZIP file.
As always, I appreciate your comments and suggestions.
Thanks for this great solution! My only question is, I have a calendar with multiple overlays on it. If I try to print, the calendar comes up blank. The solution works fine on calendars without overlays. Will there be a future fix for this?
Thanks!
Hi – Overlays are not supported at the moment but I will definitely take a look at adding support. Thanks for the feedback!
Good Afternoon! All worked fine when I installed it using Power Shell…but when I went to deploy it, I received the following error:
This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application.
Any ideas?
Thanks in advance!
Sorry…another question. I finally got the solution to deploy through Central Admin. I now see the “Print View” icon on the calendar. When I move the calendar ahead two months and hit “Print View”, it wants to print the CURRENT month, not the one that is on my screen. Any ideas on how to do this?
Thanks!
Hi – Looks like you found a bug. I’ll take a look at the code and get back to you. Thanks!
Hi Sunnie – The Print View button will always default to the date range of the calendar when it was opened. I have updated the solution to allow you to toggle the date range from within the Print Preview. After you click the Print View button, press cancel on the print dialog and then you can adjust the calendar date by using the arrow buttons. Hope that helps.
Thank you for this nice Print it solution! I have one question: When I use e.g. a Decision Meeting Workspace, I am not able to print items from the “Agenda” List. Do you have a solution for this problem?
Hi – I have identified the issue with the Agenda list and will be releasing an update shortly to correct the problem. Thanks for reporting the issue.
Version 1.4 has been released to resolve this issue. Please download the updated solution from the blog. Thank you!
Thanks! The solution works.
There are some other listst on a Decision Meetingspace like: Decisions, Objectives and Attendees. It would be nice if you could make them work as well in a future release. Thanks in advance.
Hi – I just released version 1.5 which adds support for those list types. Thanks!
We’ve installed PrintIt on out intranet and it works great in our 2010 test system. In our production environment, it works fine for everything but InfoPath forms. It prints a blank page instead of the item. We can’t find the difference between the two environments and wanted to ask if you’ve seen this before or have any suggestions on where to look.
Thanks in advace for your help – PrintIt is a great solution for us!
Hi – I have not seen that issue before. I am able to print InfoPath forms on my dev box. Can your test system print InfoPath forms correctly?
Sorry – correction to my previous reply. The print button is on the ribbon when ‘launch in dialog’ is set to no, but did not function. This was our initial setting in production. When ‘launch in dialog’ changed to yes, it prints a blank page.
Yes – the test system prints InfoPath forms correctly. We did have problems in production at first -. InfoPath wants the form open in a dialog box in order to show the print button. We updated the options in the list and the button appeared on the ribbon. Now I think we may want to reinstall.
Hi there. The app works great and is the perfect solution we’ve been looking for. Works great for lists and calendars but not for Wiki pages. Do you plan to include Wiki pages any time soon? Thank you
Hi Anthony, glad you found the solution useful. I have not considered Wiki pages yet; this solution was meant to allow for printing of lists and libraries.How would you envision the wiki printing feature working? Just printing the s4-workspace without any sharepoint chrome or branding?
Thanks Marc. Yes, just like how lists and calendars are printed without the chrome or branding. When I try to print the wiki page now, contents render small and have to play with scaling to fill the page. Didn’t have this problem with SP2007 but users are grumbling about it when we upgraded to 2010.
Here ya go Anthony – try this version: https://app.box.com/s/24j16b180xr2iox2l2tp It will add a Print Page icon to the WikiPages Page Action tab. Let me know the results.
This seems to be a great product. I’m experiencing one issue that I wanted to point out in case you weren’t aware. I’m currently using IE11 and am not able to print an individual item. List Views print fine but when viewing an individual item, I can’t print. The button does nothing. However, some of my colleagues are able to print using IE11 sporadically. Seems to be a refresh or caching issue with IE.
Using Chrome works perfectly as expected.
Thanks for providing us with a great product.
Hi Cody – I will retest the solution with IE11 and let you know what I find. Have you tried clearing the Temporary Internet Files to be sure you are getting the latest js file?
Same result
Cody Aldinger | Enterprise Applications Manager
TMI Hospitality
4850 32nd Ave. S | Fargo, ND 58104
Tel: 701-639-5708
Cody.Aldinger@TMIHospitality.com
http://www.TMIHospitality.com
Impressing Guests
Hi Cody – I’ve completely retested the solution on IE11 (32-bit) and I can get it to print list views and list items without any error or failure. I tried all of the out-of-box list types and they work as expected. If you can open the f12 developer console while reproducing the failure maybe you can catch an exception or error being thrown that I am not seeing.
Marc
Does this work with Sharepoint 3013?
2013 – no, not yet. I am working on a 2013 version for release in the late april-may timeframe.
A 2013-compatible version is now available. See the blog for details.
Hi – I deployed your solution on my sp2013 qa environment and it doesn’t appear to work when printing the detail record of a list. It is opening up a new window but there is no content. Thanks!
Hi – Can you send me some screenshots of the behavior and the list type you are using? Send to support@sharepointsnapple.com. thanks!
hey mark,
looks like a great solution.
i was wondering , would it work on a sharepoint 2013 server ?
my main use will be printing a filtered view / list .
Does your code do that ?
thanks in advance
There is a 2013 version available – check the download page.
Yeah i saw and dowloaded that one ,thank you.
but is there a way to print out a filtered list ?
let’s say i have three items ,with a property of yes\no ,i filter out the item with Yes ,and i want only the remaining items to print…
is that possible ?
At the moment the list would need to be filtered at the view-level before printing as it opens the page in a new window; any filters you apply will be lost when the page reloads.
Another issue i’m having is with a “person or group” column .
on preview ,there are, at some times big squares ,very colorful ones…
If you encounterd those i’m sure you know what i mean.
any thoughts about getting rid of those ?
Much appreciated…
Cheers for that Marc ,
by the way , fixed my big colurful square problem – if printing a person or group column , it just doesn’t take name (with presense) well , after changing to name (without presense) it worked fine.
Thanks for your help , and the code obviously
Hi, it seems that Infopath print in SP2013 is not working. Missing the method “printInfoPathItem”. Any update on that functionality?
Let me take a look
OK – redownload the solution and re-deploy the new WSP; it should fix the issue.
Hi, the old SP2010 script didn´t work in SP2013. I created another version which works in our enviroment (SP version, browser version). Works for IP-forms opened as dialog or directly.
Needs some more checking if you want to incorporate it.
function printInfoPathItem()
{
var DocumentContainer = null;
var styleSheet = null;
styleSheet = document.querySelector(“link[rel=stylesheet][href*=’FormResource.aspx?solutionId’]”);
DocumentContainer = document.querySelector(“[id$=’__XmlFormView’]”);
var WindowObject = window.open(“”, “PrintWindow”, “width=750,height=650,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=yes”);
WindowObject.document.writeln(“”);
WindowObject.document.writeln(“” + document.title + “”);
WindowObject.document.writeln(”);
WindowObject.document.writeln(styleSheet.outerHTML);
WindowObject.document.writeln(‘ .ms-ButtonHeightWidth {display: none !important;} .ms-standardheader {font-size: 0.8em !important; } .ms-formbody {font-size: 0.8em !important; } ‘);
WindowObject.document.writeln(“”);
var pageContents = DocumentContainer.innerHTML;
WindowObject.document.writeln(pageContents);
WindowObject.document.close();
WindowObject.focus();
WindowObject.print();
WindowObject.close();
}
I’ll take another look. thx
Pingback: PrintIt for SharePoint | SharePointAdept