In file:
PrintCustTrans.php, change the include at lines 382 and 393:
From this:
PHP Code:
include ('includes/PDFTransPageHeaderPortrait.inc');
...to this:
PHP Code:
include ('includes/PDFTransPageHeader.inc');
That change should at least take care of the 1st item mentioned, but not sure if will help the 2nd item (or not), but let us know.
=====
A tip on those vertical lines, if it might help?
As you may have found, the vertical lines come from the area that spans lines 439 to 453. (assuming that you don't have other local changes, this is the area)
The parameters to line are: line(x1, y1, x2, y2)
Note that x1 and x2 have the
same calculated offset. This positions the top of the line (at the headings) to have the same horizontal position as the bottom of the line (above the footer).
The value added to the $Left_Margin adjusts the horizontal offset. I'd suggest tweaking the offset in increments of 20 (apply to both x1 and x2 calculations) to get a better "picture" of how the vertical lines move horizontally with the adjustments. Then it'll be easier to 'tweak' the offset to the desired position. If the x1 and x2 calculations differ, will cause a diagonal line.
y1 is the same calculated vertical line top point below the headings.
y2 is the same calculated vertical line bottom point above the footer.
HTH
=====
Tim, the above change should be included with my latest pull request.