protected function getLocalPrinters() { $outpStr = $this->getCmdOutput("lpstat -a"); $outpLines = explode("\n", trim($outpStr)); foreach ($outpLines as $line) { $ret[] = $this->chopLpstatLine($line); } return $ret; }