This topic is locked

Column headers in every page printed from a printer-friendly page

6/18/2010 1:18:04 PM
PHPRunner General questions
D
drgregory author

Dear sirs at this forumn,
Is there a way to configure the PHPRunner's printer-friendly interface so as when a table or view data is sent to a printer, the column headings not only appear in the first page, but also in the remaining printed pages?
Thank you in advance,
DrGregory

Buenos Aires

Sergey Kornilov admin 6/18/2010

Proceed to 'Choose pages' screen in PHPRunner and click '...' button next to Printer-friendly page. Set number of records per page to display on printer-friendly page.
Now when you click 'Print all' button field names will be displayed in the beginning of each page.

D
drgregory author 6/18/2010

OK, that is the solution I needed, but I have to be careful with the number of lines per page selected, because the appearance of the printer-friendly resulting page on screen is not the same as the preview page ahown by the browser (I use Firefox but in IE is the same). That is because the printer driver fixes the column widths to the page layout, fitting the whole 100% width, so that long text fields use more than one line on paper instead of the only one used on screen.
So, is the above correct? I've configured 15 lines per printed page so as to be sure that the first 15 records fit in only one sheet of paper and the next 15 records fit in another sheet with properly printed column headings, and so on. What do you think?
Oh, by the way, can you take a glance at my another post, "PHP error when using PostgreSQL's date fields in quick search pane"?
Thank you again,
DrGregory

Buenos Aires

A
ann 6/22/2010

Hi,
yes you can set up number of lines (not real lines with text, but rows in the table) on the page for the printer-friendly page. Unfortunately it's the only way to display headings on each page.