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

[eluser]Fielder[/eluser]
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
Code:
$this->load->view('include/header', $data);
$this->load->view('results');
$this->load->view('include/footer');

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?


Messages In This Thread
Printer Friendly View and Creating .pdf - by El Forum - 11-09-2009, 11:06 PM
Printer Friendly View and Creating .pdf - by El Forum - 11-10-2009, 03:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB