I am using portrait as invoice orientation and I want to reduce the height of the invoice. we are using continuous computer papers (Paper size -Letter). And We are using like half of the page.
I am so grateful if you can instruct me step by step how to perform this.
I'm using webERP ver 3.11. I couldn't find any help regarding the modifying Invoice layout. I know PrintCustTransPortriat.php and PDFTransPageHeaderPortriat.php are 2 files for this purpose. But coding for $xpos / $ypos changing size (height) too complicated for me.
I'm very much grateful if you can point out what to look for & basic way to do this.
(10-14-2014, 06:54 AM)agaluski Wrote: Inside of PrintCustTransPortrait.php
F=ind this line
$Page_Height=792;
and Update it accordingly.
792 / 72 dpi = 11 inch paper is the current setting.
If you wish to have a 8 inch page set it at 576 and so forth.
Thank you very much sir. This is so helpful. But Now I have another issue. After reducing the page height now invoice printing from middle of the page.
Not from the top.
That's going to require a rewrite of the logic using $ypos to start at the top and work down instead of how it does it now. There is no simple fix for that