print.php 206 B

12345678
  1. <?php
  2. $ptr = printer_open("POS-58");
  3. printer_set_option($ptr, PRINTER_MODE, "raw");
  4. printer_write($ptr, implode("", file("header.txt")));
  5. printer_write($ptr, "\r\n\r\n\r\n\r\n");
  6. printer_close($ptr);
  7. ?>