|
@@ 187-189 (lines=3) @@
|
| 184 |
|
$this->_result[$printer][$data[1]]['prtMarkerSuppliesMaxCapacity']=$data[2]; |
| 185 |
|
} elseif (preg_match('/^\.1\.3\.6\.1\.2\.1\.43\.11\.1\.1\.9\.1\.(.*) = INTEGER:\s(.*)/', $line, $data)) { |
| 186 |
|
$this->_result[$printer][$data[1]]['prtMarkerSuppliesLevel']=$data[2]; |
| 187 |
|
} elseif (preg_match('/^\.1\.3\.6\.1\.2\.1\.1\.5\.0 = STRING:\s(.*)/', $line, $data)) { |
| 188 |
|
$this->_result[$printer][0]['prtMarkerSuppliesDescription']=trim($data[1], "\"");; |
| 189 |
|
} elseif (preg_match('/^\.1\.3\.6\.1\.2\.1\.43\.18\.1\.1\.8\.1\.(.*) = STRING:\s(.*)/', $line, $data)) { |
| 190 |
|
$this->_result[$printer][99][$data[1]]["message"]=trim($data[2], "\""); |
| 191 |
|
} elseif (preg_match('/^\.1\.3\.6\.1\.2\.1\.43\.18\.1\.1\.2\.1\.(.*) = INTEGER:\s(.*)/', $line, $data)) { |
| 192 |
|
$this->_result[$printer][99][$data[1]]["severity"]=$data[2]; |
|
@@ 191-193 (lines=3) @@
|
| 188 |
|
$this->_result[$printer][0]['prtMarkerSuppliesDescription']=trim($data[1], "\"");; |
| 189 |
|
} elseif (preg_match('/^\.1\.3\.6\.1\.2\.1\.43\.18\.1\.1\.8\.1\.(.*) = STRING:\s(.*)/', $line, $data)) { |
| 190 |
|
$this->_result[$printer][99][$data[1]]["message"]=trim($data[2], "\""); |
| 191 |
|
} elseif (preg_match('/^\.1\.3\.6\.1\.2\.1\.43\.18\.1\.1\.2\.1\.(.*) = INTEGER:\s(.*)/', $line, $data)) { |
| 192 |
|
$this->_result[$printer][99][$data[1]]["severity"]=$data[2]; |
| 193 |
|
} |
| 194 |
|
} |
| 195 |
|
} |
| 196 |
|
} |