suggestion: inside the pdf app, (in the code section, so you couldn't use the graphic layout) you can use: $pdf->output("file_name.pdf","F");...