August 4th, 2013, 11:18 AM
Php print data in printer
$printer = "\\\\Reception.SHEIMA.LOCAL\\EPSONTM";
$handle = printer_open($printer);
echo "not connected";
printer_set_option($handle, PRINTER_MODE, "raw");
printer_set_option($handle, PRINTER_PAPER_FORMAT, PRINTER_FORMAT_A5);
its connected but not taking print pls help
August 4th, 2013, 12:10 PM
Please enclose your code in [ PHP ] tags. See the sticky at the top of this forum that says READ THIS BEFORE POSTING.
What error are you getting?
There are 10 kinds of people in the world. Those that understand binary and those that don't.
August 5th, 2013, 12:25 AM
Your if/else statement is missing a few characters, so I'm assuming you are using a basic text editor like Notepad. Try something like PSPad or Notepad++. This will highlight and color text to help make sure you have what is needed character-wise.