Example #1
0
 public function send($data)
 {
     $file = new File('', $this->printerName);
     $temporario = $file->send($data);
     $comando = "lpr -P {$this->printerName} {$temporario}";
     system($comando, $retorno);
     unlink($temporario);
 }