[]
You can set the IPageSetup.PrintGridlines , IPageSetup.PrintHeadings , IPageSetup.BlackAndWhite , IPageSetup.PrintComments and IPageSetup.PrintErrors of the IPageSetup 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;