Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $pdf = new Pdf([
- 'mode' => Pdf::MODE_CORE,
- 'format' => Pdf::FORMAT_A4,
- 'destination' => Pdf::DEST_BROWSER,
- 'cssInline' => 'body {font-family: calibri;background-color:burlywood}',
- 'options' => [
- 'title' => 'Recibo de Pago',
- 'subject' => 'Recibo de Pago',
- 'shrink_tables_to_fit' => 1,
- ],
- ]);
- $pdf->Output($content, $path_temp_pdf, 'F'); //Crea un archivo fisicamente en el servidor
- $pdf->content = $content;
- $pdf->filename = $file_name;
Add Comment
Please, Sign In to add comment