Trying to generate wkhtmltopdf through html with this code.But gives me this error.
require_once("wkhtmltopdf.php")
$html=file_get_contents("http://www.facebook.com");
$pdf = new WKPDF();
$pdf->set_url($html);
$pdf->render();
$pdf->output(WKPDF::$PDF_EMBEDDED,‘sample.pdf’);
WKPDF program error. RESULT: 1 STDERR: 'wkhtmltopdf.exe' is not recognized as an internal or external command, operable program or batch file. STDOUT