We have a PHP web application that needs to print a receipt directly to a dot matrix printer with 3 ply papers. We would prefer it prints in ASCII/text mode, so a PDF or Word or Excel document would not do.
You should be able to get it to open directly in the browser and then print using the browser print button (provided the browser is appropriately configured)