[]
You can set the PrintGridlines property, PrintHeadings property, BlackAndWhite property, PrintComments property and PrintErrors property of the IPageSetup interface in order to configure the print settings for the sheet.
//Configure sheet print settings
worksheet.PageSetup.PrintGridlines = true;
worksheet.PageSetup.PrintHeadings = true;
worksheet.PageSetup.BlackAndWhite = true;
worksheet.PageSetup.PrintComments = PrintLocation.InPlace;
worksheet.PageSetup.PrintErrors = PrintErrors.Dash;