Welcome Guest, Not a member yet? Register   Sign In
Printer Friendly View and Creating .pdf

I've got my website generating several reports and tabulating data, some with a couple of rows of data, others with hundreds of rows of data.
I want to do 2 things, 1) add a link in the results view to allow the user to print a "printer friendly" version (from a new window) of the results and 2) add a link in the results view to allow the user to create a .pdf of the results.

Any suggestions for either?

Right now, the results view is loaded like this
$this->load->view('include/header', $data);

Simplest to me seems to be to just load the 'results' view in a new window, but then none of the header and stylesheets are included to format the tabulated results.
Perhaps there is a helper or plugin for CI for this already?
Any recommendations on printer stylesheets to use for good practice?

[eluser]Isern Palaus[/eluser]

You can google it 'css print friendly' and you will see a lot of articles. This seems a good ones: http://www.alistapart.com/articles/goingtoprint/.

Wish it helps.


Theme © iAndrew 2016 - Forum software by © MyBB