Hello,
We are trying to figure out how to keep content certain content "blocked" together so that it is all generated on the same PDF page and not get split onto two pages (ie a few lines at the bottom of one page and the remainer on the next page.
In short each block of content will consist of a postal mailing adress followed by instructions. The instructions is what can vary in size from 1 row to over 100 rows which is why we can not just use basic formatting to make it just fit X number of blocks per page.
There will be several addresses and instructions printed consecutively, one aftert the other. In most cases 4 or 5 "blocks" of address/instruction infromation will appear on each page (however usually 100+ blocks are printed at one time). We want to avoid having only part of the address/instructions appear at the bottom of the page and the rest on the next page. The goal is to have the code see when this happens and move the entire block to the next page. The ONLY exception is if the address/instructions is greater than 1 page
I kow this is a html/php question but is directly tied to the PDF generation. Currently the web programmer is not sure how to accomplish this "no page roller" printing.
Does anyone have a suggestion or has anyone done this before? I have seen this done one sites before, I just dont remember what they were or if they were using html2pdf.
Thank you