I am trying to make a print item on the ECB dropdown for a list item that allows printing of the item by clicking the menu item.
I can add the print item as below but how do I trigger a print when it is clicked?
<CustomAction Id="PrintListItem.ItemToolbar"
GroupId="PrintListItem"
RegistrationType="List"
RegistrationId="101"
Location="EditControlBlock"
Sequence="300"
Rights="ViewListItems"
Title="Print List Item"
ImageUrl ="/_layouts/Icon/PrintIcon.jpg">
<UrlAction Url="#"/>
</CustomAction>