ลองศึกษาดูน่ะครับ
http://php.net/manual/en/function.printer-start-doc.php
$handle = printer_open($printer);
printer_start_doc($handle, "Test");
printer_start_page($handle);
printer_set_option($handle, PRINTER_MODE, "RAW");
printer_set_option($handle, PRINTER_SCALE, 50);
printer_set_option($handle, PRINTER_COPIES, 3);
printer_write($handle, "Testprint Testprint");
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);