public function showOutput($fileName) { // if(ob_get_clean()){ //ob_end_clean(); //} $output = $this->stringCommands; Response::getInstance()->disable(); PMA_downloadHeader($fileName, 'image/x-eps', strlen($output)); print $output; }