Location: PHPKode > scripts > html2pcl > html2pc/example.php
<?php
/* 
 * Usage of html2pcl class
 */
require_once('class.html2pcl.php');
$obj = new Html2pcl;
//please don't use $htmlFileName without "http://www." rather use like this "http://www.google.com"
//please use $pclFileName without the extension like "google"
$obj->makePCL("http://www.google.com", "google");

?>
Return current item: html2pcl