White space needed in header region of patient report

arnabnaha wrote on Sunday, March 15, 2015:

Hi…

In the patient report pdf how can I create a white space above so that i can print the pdf report on the preprinted header page of my clinic. Really need this very urgently. would be great if you can tell me what and where to change the code. Please!! please tell me the code changes to do…

arnabnaha wrote on Sunday, March 15, 2015:

Here is what I need…see attachment

fsgl wrote on Sunday, March 15, 2015:

In general if a frame is opened in another tab, the path to the .php file will be in the URL of the new tab.

A quick perusal of interface/patient_file/report/patient_report.php shows only the Download pdf button. Perhaps it’s interface/patient_file/report/report_title.php, from line 31 onward.

arnabnaha wrote on Sunday, March 15, 2015:

Hi fsgl…thanks for the point out but I cant find anything relevant to change there…In administration Globals…there is an option under PDF tab to change the margins, but it changes the margin on every page… I need to change it only on the First page…

fsgl wrote on Sunday, March 15, 2015:

I would guess that a statement will need inserting for the first page & for subsequent pages in globals_edit.php.

While we wait for that statement, a header can be added to create a bigger top margin if you paid for Adobe Acrobat. The free version does not have this function.

In that case you can install this free download & use tool #6, Add Header & Footer. Go to Help/Help Topics/6. Header & Footer for the tutorial. Be certain that you have version 10.0 (Free and No Water- marks); otherwise the PDFill watermark will be on every printed page.

We use the utility to crop insurance claim forms because the alignment is off by 0.11 inch. Nice little bag of tools to have on hand for those of us who refuse to pay for software.

teryhill wrote on Sunday, March 15, 2015:

Arnab look for line 494 in /interface/patient_file/report/custom_report.php

<?php echo $facility['name'] ?>

Change it to this







<?php echo $facility['name'] ?>

Hope this helps

Terry

arnabnaha wrote on Sunday, March 15, 2015:

Thanks terry…but this changed the facility name to a normal format text and nothing else…see attachment

teryhill wrote on Sunday, March 15, 2015:

Arnab looks like the post got messed up I am trying it as an attachment.

Terry

arnabnaha wrote on Sunday, March 15, 2015:

Thanks terry…it worked…thank you so much…

arnabnaha wrote on Sunday, March 15, 2015:

Terry…how to pull the right sided Patient name and DOB down too?? need to get it down to the practice name level…other wise pre printed header will overlap.

teryhill wrote on Sunday, March 15, 2015:

that is a header so it is designed to be at the top of the page. You could change it to a footer and see if that is more to your liking. Just change the word header to footer and see what you get.

Terry