<?php $ptr = printer_open("POS-58"); printer_set_option($ptr, PRINTER_MODE, "raw"); printer_write($ptr, implode("", file("header.txt"))); printer_write($ptr, "\r\n\r\n\r\n\r\n"); printer_close($ptr); ?>