Wrote a page table, table pages long, fill in the content, in print, because in accordance with A4 printing, automatically cut the page, cause page can appear some line breaks (part of style) disorder, could you tell me how to solve, try to use js according to the height of the A4 cutting, let each A4 size table to form a separate form and then print, respectively (if there is down the row of consolidation, it has been up to find, find not merge down the line, for cutting) because of the content of the fill in uncertain, likely a line of td account for even more than the height of a piece of A4 paper, also can have merge down the line, after they finish fill in the content in the height of more than one piece of A4 paper, can also affect the print styles, there are requirements after the segmentation of ye 'mian attach page number, fixed position in the concrete at the bottom of A4 paper 50 px, requests each additional page, all in a unified location, please everybody to help, solve it, there will be a ChongXie, best case comes with source code
CodePudding user response:
Recently to solve this problem, the page is export PDF files, in PDF, and dealing with page Numbers and across the pageCodePudding user response:
In the same position can be insert page breakBut it is better to generate multiple tables, insert a page break after table