/// /// 엑셀파일을 출력한다. /// /// 엑셀파일의 경로 /// 엑셀파일의 Sheet Name /// 프린터명 /// 성공하면 에러메세지가 없고 그렇지않으면 발생한 에러 메세지를 반환함 string ExcelToPrint(string sFilePath, string sSheetName = "", object printer = null) { string sErrorMsg = string.Empty; Excel.Application excelApp = new Excel.Application(); Excel.Workbooks wbs = excelApp.Workbooks; Excel._Workbook wb = null; Excel.Worksheet ws = null; try { excelApp.Di..