Is it possible to create crystal report in php?
If yes than how?
Thanx in advance
Is it possible to create crystal report in php?
If yes than how?
Thanx in advance
We can make crystal report like this...refer it...!!
$crapp = new COM("CrystalRuntime.Application.9");
$creport = $crapp->OpenReport("C:\\Foxserv\\www\\Etat1.rpt", 1);
$creport->DiscardSavedData();
$creport->ReadRecords();
echo 'Driver Name : ' . $creport->DriverName.' **<br>';
echo 'Printer Name : ' . $creport->PrinterName.' **<br>';
echo 'Port Name : ' . $creport->PortName.' **<br>';
$creport->SelectPrinter("HP LaserJet 1100(MS)", "HPLocal", "LPT1:");
$creport->PaperOrientation = 0;
$creport->PrintOut(False);
echo 'creport->PrintingStatus->Progress : ' . $creport->PrintingStatus->Progress . '<br>';
Bookmarks