Page 1 of 1

Invoice printing

Posted: Tue May 11, 2010 5:10 pm
by HKOCH
In the 1.3.4 the invoice as I remenber it - could be printet on only one page (A4).

Now when printing the web invoice to a printer it prints out using two pages - the second page is nearly empty only the header showing page 2 of 2 can be found on this page. Both pages have x out of x pages writting in the top.

How can I define it NOT to fill two pages ?

// HKOCH

Re: Invoice printing

Posted: Tue May 11, 2010 6:10 pm
by i2Paq
HKOCH wrote:How can I define it NOT to fill two pages ?

// HKOCH
Change the layout to fit 1 page?

Re: Invoice printing

Posted: Tue May 11, 2010 6:21 pm
by HKOCH
Nice answer - but where ?

Re: Invoice printing

Posted: Fri May 14, 2010 6:48 pm
by HKOCH
Found it :-)

..opencart\admin\view\template\sale\order_invoice.tpl

I changed on line 11 from "always" to "auto"

<div style="page-break-after: auto;">
<!-- HJK changed this to auto
<div style="page-break-after: always;">
-->

It now only prints one page if it can fit it on the one A4 page.

Re: Invoice printing

Posted: Wed Dec 12, 2012 6:11 pm
by kev82
This should really be worked into next update...