Important Update: After lots of print button image view error requests, updated solution to work with subsites calendar lists. Please visit at same CodePlex page to download updated version.
And let me know if you get previous error again.



Print list button on the top ribbon in SharePoint 2010.

Project Description

Do you want to print SharePoint 2010 list at a single click?
Yes, now you can print your SharePoint 2010 list in single click using SPPrintListButton solution.
I have provided Sandbox solution which will add new "Print" button on the top ribbon for SharePoint List. As of now I have created for Calendar lists.



How to install and Activate?
This is sandbox solution. You can download "PrintCalendarRibbonButton.wsp" and upload to your SharePoint 2010 site.
Please follow the given steps to upload and activate the solution.

  1. Open your SharePoint 2010 site on your browser.
  2. Click on “Site Actions” -> “Site Settings”, it will open site settings page with all options.
  3. Click on “Solutions” from “Galleries” section
  4. Click on “Solutions” from Top Ribbon
  5. Click on “Upload solution” button from ribbon
  6. Browse for the given “PrintCalendarRibbonButton.wsp” file and click on OK button.
  7. Select the uploaded “PrintCalendarRibbonButton.wsp” file, and click on “Activate” link from top ribbon.
  8. Again goto “Site Actions” -> “Site Settings”, and select “Manage site features” link from “Site Actions” section.
  9. Find for “PrintCalendarRibbonButton Feature1” and make sure that feature is activated. If it is not activated then click on “Activate” button.
  10. That’s it.
  11. Now open your Calendar list
  12. Click on “Events” from top ribbon. Click on “Print” button.
  13. Now you can take the printout.



IF you want to create same print button functionality for other SharePoint lists then you will have to change following changes in "Element.xml" file.

  1. In Custom action, update "RegistrationID" as per your requirement. I have created print button for calendar list so that used "106". For more information http://www.niteen.co.cc/p/sharepoint-registration-ids.html
  2. Change the CommandUIDefinition location.

You can also visit another codeplex solution to get a generic print button: https://spprintribbonbutton.codeplex.com/ 
more information: http://www.niteenbadgujar.com/2011/06/sharepoint-2010-print-calendar-list-on.html

Last edited Aug 27, 2015 at 5:57 AM by nitin0505, version 10