[eluser]diasansley[/eluser]
i have tried the following to generate a pdf document the codes are
controller home.php
Code:
function hello_world()
{
$this->load->library('cezpdf');
$this->cezpdf->ezText('Hello World', 12, array('justification' => 'center'));
$this->cezpdf->ezSetDy(-10);
$content = 'The quick, brown fox jumps over a lazy dog. DJs flock by when MTV ax quiz prog.
Junk MTV quiz graced by fox whelps. Bawds jog, flick quartz, vex nymphs.';
$this->cezpdf->ezText($content, 10);
$this->cezpdf->ezStream();
}
view
Code:
<p><?=anchor('home/hello_world/', 'showpdf');?></p>
it says page not found.