This project is read-only.
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.

Open your SharePoint 2010 site on your browser.
Click on “Site Actions” -> “Site Settings”, it will open site settings page with all options.
Click on “Solutions” from “Galleries” section
Click on “Solutions” from Top Ribbon
Click on “Upload solution” button from ribbon
Browse for the given “PrintCalendarRibbonButton.wsp” file and click on OK button.
Select the uploaded “PrintCalendarRibbonButton.wsp” file, and click on “Activate” link from top ribbon.
Again goto “Site Actions” -> “Site Settings”, and select “Manage site features” link from “Site Actions” section.
Find for “PrintCalendarRibbonButton Feature1” and make sure that feature is activated. If it is not activated then click on “Activate” button.
That’s it.
Now open your Calendar list
Click on “Events” from top ribbon. Click on “Print” button.
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.

In Custom action, update "RegistrationID" as per your requirement. I have created print button for calendar list so that used "106". For more information
Change the CommandUIDefinition location.

Last edited Jul 1, 2011 at 9:44 AM by nitin0505, version 1


crow131 Apr 27, 2012 at 10:49 AM 
Action for all Lists

Id="PrintListRibbonButton.Action" Location="CommandUI.Ribbon"
RegistrationType="ContentType" RegistrationId="0x01">
<CommandUIDefinition Location="Ribbon.Documents.Share.Controls._children">
<Button Id="PrintList" Command="PrintList" Description="Print List" LabelText="Print"
Image32by32="/previewimages/print.png" TemplateAlias="o2" Sequence="12"/>
<CommandUIDefinition Location="Ribbon.ListItem.Share.Controls._children">
<Button Id="PrintList" Command="PrintList" Description="Print List" LabelText="Print"
Image32by32="/previewimages/print.png" TemplateAlias="o2" Sequence="12"/>
<CommandUIDefinition Location="Ribbon.Calendar.Events.Share.Controls._children">
<Button Id="PrintList" Command="PrintList" Description="Print Calendar" LabelText="Print"
Image32by32="/previewimages/print.png" TemplateAlias="o2" Sequence="12"/>
<CommandUIHandler Command="PrintList" CommandAction="javascript:window.print();" />

toreykirby Apr 25, 2012 at 5:40 PM 
I can get it to activate on the screen, but it never appears in Features. Has anyone been able to get this to work? Thanks.

jriesen Feb 13, 2012 at 6:01 PM 
Activated in sandbox solutions, activated in site features, no printer icon at root site collection, and nothing at subsite levels. Will you fixing the code to address this issue any time soon? Also, will you build into your solution the width requirements so you don't have to set them in the webpart? This solution has great potential, just needs some refining. :-)

jessg_gtekpacific Dec 2, 2011 at 7:37 PM 
I installed and activated the solution - no icon visible, but the 'Print' label shows and it works.
Any idea how to display the print icon on the ribbon ?
Thanks for a useful addition to my SharePoint

jinh Sep 12, 2011 at 3:06 PM 
Same here, installed, activated, but no button anywhere. Any idea?


Caladan607 Jul 12, 2011 at 6:39 PM 
Got it. Had to start the sandbox service. But still, the button does not appear in the Events ribbon or anywhere else.

Caladan607 Jul 12, 2011 at 5:37 PM 
The solution will not activate. The activate is grayed out. Any suggestions?