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
Changes for the pdf report header and footer by terry hill to solve the overlapping with form name issue.

Signed-off-by: Arnab Naha <superarnab@gmail.com>
The changes as per brady's comment made by Terry for the pdf output of report fixes.

Signed-off-by: Arnab Naha <superarnab@gmail.com>
Changes as per Brady's Comment regarding pdf output part 2. Sorry, Forgot to made this fix in previous commit.

Signed-off-by: Arnab Naha <superarnab@gmail.com>
A revert of changes to fix github merging conflict for pdf_output

Signed-off-by: Arnab Naha <superarnab@gmail.com>
Change to merge conflict - pdf_output

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