Gracias por responder,
Yo recojo el codigo html en una variable.
Código:
ob_start();
include("/facturar.php?orderid=$orderid");
$html=ob_get_contents();
ob_end_clean();
echo $html;
Me gustaria saber si se puede pasar el contenido de $html a formato PDF directamente sin necesidad de distribuir las tablas y demás. Osea como apretar el botón crear PDF del Acrobat.