This article explains how to create a Custom Workflow Action in Visual Studio 2010 and how to use it in SharePoint Designer 2010 to create a workflow.
Printing in C# Made Easy