fixes #5394 report print/pdf
refs #5394 rework pdf generation