Creating your first file
The following PHP will produce the most basic example with mPDF.
**Note:** _MPDF_PATH was required to be defined explicitly prior to mPDF 4.0 e.g. `define('_MPDF_PATH','../')`. From mPDF 4.0 the value should be automatically defined by the script itself when including the mpdf.php file.
For details and options for the Output command, see Output()