COURTESY: TERRY HILL -- This is a fix to the pdf output issue during printing patient report in pdf format. Previously the pdf used to get cropped but now it gets nicely layed out and shows the full forms. All credit goes to Terry Hill for this awesome fix and code changes.

Signed-off-by: Arnab Naha <superarnab@gmail.com>
Coded -by: TERRY HILL