Thanks, got the TCPDF library working, but i cant seem to send it as an email attachment, how do I save the file to a temporary directory and then delete it after sending it? (please forgive my sloppy code) 
controller example:
function email_pdf()
{
$this->load->library('pdf');
// set document information
$this->pdf->SetSubject('TCPDF Tutorial');
$this->pdf->SetKeywords('TCPDF, PDF, example, test, guide');
// set font
$this->pdf->SetFont('times', 'BI', 16);
// add a page
$this->pdf->AddPage();
// print a line using Cell()
$this->pdf->Cell(0, 12, 'Example 001 - €à èéìòù', 1, 1, 'C');
//$this->pdf->AddPage();
// PRINT VARIOUS 1D BARCODES
$testbarcode = '127236487236487';
// CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
$this->pdf->Cell(0, 0, 'CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9', 0, 1);
$this->pdf->write1DBarcode($testbarcode, 'C39', '', '', 80, 30, 0.4);
//$this->$pdf->Ln();
//Close and output PDF document
$filename = "pdt_example_001.pdf";
$this->pdf->Output($filename, 'I');
$this->load->library('email', $config);
$this->email->set_newline("\r\n");
$this->email->from('email@email.com', 'your name');
$this->email->to('email@email.com');
$this->email->subject('subject');
$this->email->message('It is working. Great! Wooohooo!');
//Close and output PDF document
$this->email->attach($filename);
if($this->email->send()) {
echo 'your email has been sent, fooool!';
}
else {
show_error($this->email->print_debugger());
}
echo $this->email->print_debugger();
}
}
this results in a pdf displaying in the window, and an empty email being sent. please help!