PHP Classes
elePHPant
Icontem

I need a PHP class for printing a table with page breaks: Want to control page breaks when printing a large table

Recommend this page to a friend!
  All requests RSS feed  >  I need a PHP class for printing a tab...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

I need a PHP class for printing a table with page breaks

A request is featured when there is no good recommended package on the site when it is posted. Edit

by Kenneth Brown - 4 days ago (2020-02-24)

Want to control page breaks when printing a large table

This request is clear and relevant.
This request is not clear or is not relevant.

0

I have a table with a variable number of entries. I want to print the table using table headers and a controlled number of lines per page.

  • 1 Clarification request
  • 1. by adriano ghezzi - 1 hour ago (2020-02-29) Reply

    Please let me understand what do you mean for 'page' 1. html doesn't have "page breaks" but you can print paginated rows with a paginator 2. if you means printed page on paper it is possible print rows on a file and insert a page break after after the reqistd numbers of rows the page braks will be interpreted by the printer nextx rows on a new page even if there is more space on the current page.

    Ask clarification

    1 Recommendation

    FPDF: Free PDF generation class without PDFlib

    This recommendation solves the problem.
    This recommendation does not solve the problem.

    0

    by Stefan Kientzler Reputation 80 - Less than 1 hour ago (2020-02-29) Comment

    As adriano already wrote, there are no page breaks, headers and footers for printing in HTML. The easiest way to solve your problem could be to create a PDF file. This can be solved with the classic FPDF package, which does not require any further extensions. As far as I understand your concerns correctly, the package supports all the functions you expect. In the meantime, the project is being continued on a separate page and kept up to date. There you will also find extensive documentation, tutorials and a user forum.


    Recommend package
    : 
    :