Fired during image export and direct printing. It allows you to provide alternative text (instead of HTML) and customize the formatting.
DayPilot.Month.onBeforeCellExport(args);