added preview in print