I developed a clinic management system for a client and i want to use POS Termal Printer to printer customer receipt. Is it possible to user below php sample code to printer on POS printer.
`<?php
$name = "Patient 0";
$phone = "0909909090";
$amount = "#2000";
$treat = "ULTRASOUND";
?>
<div">= = = = = = = = = = = = = = = = = = = = = =<br />
Laboratory Medical Center <br />
= = = = = = = = = = = = = = = = = = = = = = = = = =
</div>
<div>Patient Name</div>
<div><?php echo $name; ?></div>
<div>Phone No</div>
<div><?php echo $phone; ?></div>
<div>Treatment</div>
<div><?php echo $treat; ?></div>
<div>Amount</div>
<div><?php echo $amount; ?></div>`
If NO... How can I go through it or what can i use to print it.
Aucun commentaire:
Enregistrer un commentaire