public function getpdf($html)
	{
		// test if dompdf config exists in symfony app folder
		$testFilePath = "/../../../../../../app/dompdf_config.inc.php";
		if (file_exists(dirname(__FILE__).$testFilePath)) {
			require_once(dirname(__FILE__).$testFilePath);
		}
		else {
			require_once dirname(__FILE__).'/../DomPDF/dompdf_config.inc.php';
		}

		$this->pdf = new \DOMPDF();

		$this->pdf->set_paper(DOMPDF_DEFAULT_PAPER_SIZE);
		$this->pdf->load_html($html);
		$this->pdf->render();
	}