print preview for report generation