mPDF: HTML to PDF http://www.smaizys.com/php/mpdf-html-to-pdf-introduction/ ?php function to_pdf( ) { $filename = "Договор.pdf"; // ini mpdf include($_SERVER['DOCUMENT_ROOT']."/MPDF56/mpdf.php"); $mpdf = new mPDF('utf-8', 'A4', 0, 0, 0, 0, 0, 0, 0, 'L'); /*задаем формат, отступы и.т.д.*/ $html = file_get_contents($_SERVER['D...