made print a redirect to show with pdf