Post by Nordikota » Wed Oct 05, 2016 7:34 pm

New & clean OC2302 install. No MODs or themes installed.

Added 2 dummy orders. If you try to print both by clicking the tickbox and selecting print, It looks OK on the preview page but when you try to print you get an overlap of columns on the 2nd page:

Image


Any ideas anyone?

Active Member

Posts

Joined
Tue Feb 11, 2014 8:04 pm

Post by insomniak » Fri Oct 21, 2016 9:39 pm

Hi, I have been having the same issue and it appears to have just come out of nowhere.

I have tested it on 3 different Open Cart installations and different versions and it's present on all of them.

It used to work fine and there hasn't been any changes made to any of the installs so I can only assume its a bug within the browser, try it on Mozilla Firefox and see if that helps. I normally use Chrome and the issue occurs on this and as yet I haven't found a fix.

Luckily its only a minor glitch at the moment and isn't causing too many problems but I would still like to get it back to how it should be.

New member

Posts

Joined
Wed Feb 13, 2013 8:27 am

Post by Nordikota » Tue Oct 25, 2016 1:51 pm

I reported it as a bug but no response :-\

Active Member

Posts

Joined
Tue Feb 11, 2014 8:04 pm

Post by pm-netti » Tue Oct 25, 2016 2:56 pm

Nordikota wrote:New & clean OC2302 install. No MODs or themes installed.

Added 2 dummy orders. If you try to print both by clicking the tickbox and selecting print, It looks OK on the preview page but when you try to print you get an overlap of columns on the 2nd page:

Image

Any ideas anyone?
Hi
You can try do this test to file admin/view/template/sale/order_invoice.tpl lines 14-16:

Code: Select all

<div class="container">
  <?php foreach ($orders as $order) { ?>
  <div style="page-break-after: always;">
change to:

Code: Select all

<div style="page-break-after: always;" class="container">
  <?php foreach ($orders as $order) { ?>
  <div>

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by Nordikota » Tue Oct 25, 2016 3:24 pm

Thanks for answering :-)

Tried that. The site logo appears at the top & bottom of the 1st page now, and there is still a mix of text on the 2nd page..

Active Member

Posts

Joined
Tue Feb 11, 2014 8:04 pm

Post by pm-netti » Tue Oct 25, 2016 4:46 pm

Nordikota wrote:Thanks for answering :-)

Tried that. The site logo appears at the top & bottom of the 1st page now, and there is still a mix of text on the 2nd page..
This can change now only to way:

Code: Select all

<body style="page-break-after: always;" >
You can also test then that first print it to PDF file.

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by insomniak » Tue Oct 25, 2016 6:25 pm

Hi,

As I said above I don't think this is a bug in OpenCart as if you print preview in Firefox the glitch does not appear.

Also I have not made any changes to my OpenCart installations and this invoice glitch appeared overnight and all 3 of my OpenCart stores.

New member

Posts

Joined
Wed Feb 13, 2013 8:27 am

Post by insomniak » Tue Oct 25, 2016 6:33 pm

Nordikota wrote:New & clean OC2302 install. No MODs or themes installed.

Added 2 dummy orders. If you try to print both by clicking the tickbox and selecting print, It looks OK on the preview page but when you try to print you get an overlap of columns on the 2nd page:

Image


Any ideas anyone?
Hi again, I've just installed Chrome Beta browser https://www.google.co.uk/chrome/browser/beta.html and now the glitch is not appearing in print preview but the invoices text is now smaller.

So as I suspected its just a browser bug!

New member

Posts

Joined
Wed Feb 13, 2013 8:27 am

Post by Nordikota » Wed Oct 26, 2016 12:57 am

Looks like you are right.

In Chrome, the mixed text in the headers has gone from Page 2, but the font size is really small.

Works fine in Firefox and MS Edge

Active Member

Posts

Joined
Tue Feb 11, 2014 8:04 pm

Post by Rainforest » Wed Nov 02, 2016 3:28 am

YES!!!!

Omg, this was driving me NUTS.
Printing invoices now and the text is REALLY small.

I used a FREE chrom extension, Print Friendly & PDF

we are using that till Chrome gets better/

Self Taught Opencart User & Developer Since 2010.


User avatar
Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by IP_CAM » Wed Nov 02, 2016 8:58 am

knowband.plugins wrote:You can also use ...
Something to fix!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 55 guests