Código PHP:
$html = file_get_contents("http://www.google.es");
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("descargar_mi_pdf.pdf", array("Attachment" => false));
exit(0);
exit();