Hello,
I am trying to have an invoice print out on the printer attached to the server. I have looked at php's printer() functions with no luck.. I can get php to print to the printer, however the format is not nice looking. If I could use HTML to create tables to store the information than the invoice format would be nice, however if I include HTML... then the printer prints out the HTML....
$handle = printer_open("Ivoice");
printer_set_option($handle, PRINTER_MODE, Raw);
printer_write($handle, "<b>test of html</b>");
printer_close($handle);
the above code prints out on a piece of paper:
<b>test of html</b>
Many thanks
Chris