My website is an intranet for an enterprise, The site contains data about clients, pricing etc stored in a MySQL database but this is not the point.
The site needs to be able to generate bills using the different data like the clients name, address etc ...
The question is simple, which way should I use to generate these pages? I tried to generate a html page but the printing is too much related to the browser, some keep things some don't and I don't like this.
should I generate pdf pages instead and how? thanks you for your answers
EDIT: the site is build using PhP and Javascript
The page need to contain a huge amont of data and therefore can't be handled with html printing