added support for canon MF-series printers

This commit is contained in:
Tobias Herrmann
2016-01-02 17:42:29 +01:00
parent 8aecf71910
commit b9ced6561f
2 changed files with 15 additions and 1 deletions
+8 -1
View File
@@ -1157,7 +1157,14 @@ $config['os'][$os]['text'] = 'Samsung Printer';
$config['os'][$os]['type'] = 'printer';
$config['os'][$os]['over'][0]['graph'] = 'device_toner';
$config['os'][$os]['over'][0]['text'] = 'Toner';
$os ='canonprinter';
$config['os'][$os]['group'] = 'printer';
$config['os'][$os]['text'] = 'Canon Printer';
$config['os'][$os]['type'] = 'printer';
$config['os'][$os]['over'][0]['graph'] = 'device_toner';
$config['os'][$os]['over'][0]['text'] = 'Toner';
$os = '3com';
$config['os'][$os]['text'] = '3Com';
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
@@ -0,0 +1,7 @@
<?php
if (!$os) {
// Canon Multifunction Printer/Scanner
if (strstr($sysDescr, 'Canon MF')) {
$os = 'canonprinter';
}
}