public static void PrintAll(this PrintApp.Printer printer, params string[] msgArr) { for (int i = 0; i < msgArr.Length; i++) { printer.Print(msgArr[i]); } }