Post by HKOCH » Tue May 11, 2010 5:10 pm

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

New member

Posts

Joined
Sun Dec 20, 2009 3:33 am
Location - near to Copenhagen, Denmark

Post by i2Paq » Tue May 11, 2010 6:10 pm

HKOCH wrote:How can I define it NOT to fill two pages ?

// HKOCH
Change the layout to fit 1 page?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by HKOCH » Tue May 11, 2010 6:21 pm

Nice answer - but where ?

New member

Posts

Joined
Sun Dec 20, 2009 3:33 am
Location - near to Copenhagen, Denmark

Post by HKOCH » Fri May 14, 2010 6:48 pm

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.

New member

Posts

Joined
Sun Dec 20, 2009 3:33 am
Location - near to Copenhagen, Denmark

Post by kev82 » Wed Dec 12, 2012 6:11 pm

This should really be worked into next update...

New member

Posts

Joined
Fri Feb 27, 2009 6:34 am
Who is online

Users browsing this forum: Semrush [Bot] and 11 guests