code update for CalendarPrinter