I need to generate a report PDF, with the following specifications:
$this->load->helper('mpdf');
$html = $this->load->view('relatorio/interessados_relatorio_impressao', $data=NULL, true);
pdf_create($html, 'interessados_relatorio_' . date('dmyhis'), true);
So far so good, it generates and downloads. However, it generates the PDF vertically ... And as it is report, I would like it to be horizontal.
Can anyone help me with this question?