string Output([string dest [, string name [, boolean isUTF8]]])
dest
I
: send the file inline to the browser. The PDF viewer is used if available.D
: send to the browser and force a file download with the name given by name
.F
: save to a local file with the name given by name
(may include a path).S
: return the document as a string.I
.
name
S
.doc.pdf
.
isUTF8
name
is encoded in ISO-8859-1 (false
) or UTF-8 (true
).
Only used for destinations I
and D
.false
.
$pdf->Output('F', 'reports/report.pdf');
$pdf->Output('D', 'report.pdf');