Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Batch Printing without Frames or PDF


assembler

Recommended Posts

On ‎11‎/‎17‎/‎2014 at 10:14 AM, alarsdes said:

1 invoice per page by using CSS page breaks.

 

please explain,

I cant get it right.

an old post, but for anyone looking, page-break-before:always is deprecated

To fix page breaks not working, change

      echo '<br style="page-break-before:always;">';

to

//      echo '<br style="page-break-before:always;">';
   echo '<div style="page-break-after: always;"></div>
<div>&nbsp;
</div>';

 

Was just installing this tonight on a 2.3.4 non bs shop - and bleh it's not properly updated for 2.3.4. If anyone has already cleaned this up please share, would save me some time for sure...

Woot

Dave

 

-Dave

Link to comment
Share on other sites

  • Replies 78
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...