Whenever a report is generated from a custom LBV form for ophthalmology, the first line of data is shifted to the left. Here is an example of the issue taken from a dummy report.
[[img src=http://i.imgur.com/hyHtVL4.jpg]]
Does anybody happen to know how to fix this issue? Any help would be appreciated.
Seems to be the same problem noted by CVerk, when the Download PDF button is clicked. The button made its debut with 4.1.2.
The displacement appears mainly with LBV forms; as in Demographics, when it was reproduced in the 4.1.2 Demo or as a LBV Eye form on my local machine. There was no problem with a Vitals report nor an uploaded .jpeg file on the 4.1.2 Demo.
If the Generate Report button is clicked, there is no displacement. The note can be printed using the Printable Version link or using the browser printing function.
This is a systemic bug in addition to the OP’s difficulties. See Frankie Brooks’ 7/28/13 post. A fix was not included upon release on 8/17/13.
I’m using the Generate Report button; Download PDF does not even work for me. It gives me the error
“HTML code invalid, the tags are not closed in an orderly fashion.”
EDIT: I copied the options.inc.php file (which I had modified after seeing another person being recommended to do so after having another issue I was) from a test installation I had in to the production one and it has fixed the shifting issue when using “Generate Report”.
However, I still receive the same error mentioned previous when trying to use “Download PDF”.
I think this message is generated by the library that converts HTML to PDF.
Might give a clue if you instead use Generate Report and then look at the output HTML to see what’s out of order. For example in Firefox you can right-click in the frame and select This Frame -> View Frame Source. Obviously this requires someone who understands HTML.
I’ve come to a similar conclusion. I’m not too well versed in programming, and although I can follow PHP, much of this is very extensive and takes quite a bit of reading to get the gist of it.
The error page actually spits out what’s out of order:
HTML : …in rt eye" at 5 years old
<td class=‘bold’ valign='t…
but I really don’t have the experience nor confidence to make a proper fix.
The </tr></tr> is definitely an error. Do you recognize that “in rt eye at 5 years old” text as part of your custom LBF form, or is it some other form?