PHP Printing Text Problem
<p>i want to print directly to a printer using PHP, but i have a problem..</p>

<p>It showed up in the printer's queue, but it didn't print at all..
the status change from print to delete in a split second</p>

<p>Here's the code i'm using :</p>

<pre><code>if($ph = printer_open('EPSON TM-U210B Partial cut')){
     printer_set_option($ph, PRINTER_MODE, "raw");
     printer_write($ph, 'testing');
     printer_close($ph);
}
</code></pre>

<p>thanks</p>
