Jump to content
assembler

Batch Printing without Frames or PDF

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×