Hi All,
I have a problem in printing database. I have drawn some data from the MySQL and print to A4 paper. When the data are more than 1 page, it has to print on other A4 paper. The problem is, I need the program to print the same heading in every page. How can I do this?
Are you displaying the data in a web browser and then using the web browser's print function?
If so then this problem cannot be solved using PHP. You'd need to figure out how many lines you can print on a sheet of A4 and add a header after that many lines of data.
Unfortunately PHP has no way of knowing what font the browser is using to display the data, hence you cannot know how many lines you can print.
PHP cannot help you in this case. I might be wrong but I doubt it.
Jean-Christian Imbeault
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php