Jump to content

Recommended Posts

Hello Guys!

 

My system needs to print billing accounts of all subscribers in bulk. Accounts must be printed in a 8.5" x 5.5" paper. Accounts may consume a page or more. My problem is that if the previous account consumed a page and a half, the next account will start from the lower half of the last page of the previous account. My question is how to insert a page break so that every account starts at the top of a page.

 

What i have in mind so far is to generate an excel file with all the accounts and with page breaks after every account. If there's a way on how to print accounts with page breaks directly on the browser, that would be great. Other insights are highly appreciated.

 

Thank you guys in advanced! :)

have you thought of looking into printing to a PDF format instead. The reason i bring this up is that you can set the 'real world size' of the document not the resolution. There are a few good php PDF classes out there on the internet. All of the pdf classes have a new page function. So when you re loop a new bill it would start on a new page.

 

Hope this helps

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.