device: Added feature to support Sharp printers

This commit is contained in:
Morgan Henreaux
2016-09-15 14:05:30 +02:00
parent 4159e1e0da
commit 7ac293f59b
3 changed files with 15 additions and 0 deletions

BIN
html/images/os/sharp.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

View File

@@ -1538,6 +1538,14 @@ $config['os'][$os]['icon'] = 'ricoh';
$config['os'][$os]['over'][0]['graph'] = 'device_toner'; $config['os'][$os]['over'][0]['graph'] = 'device_toner';
$config['os'][$os]['over'][0]['text'] = 'Toner'; $config['os'][$os]['over'][0]['text'] = 'Toner';
$os = 'sharpprinter';
$config['os'][$os]['group'] = 'printer';
$config['os'][$os]['text'] = 'Sharp Printer';
$config['os'][$os]['type'] = 'printer';
$config['os'][$os]['icon'] = 'sharp';
$config['os'][$os]['over'][0]['graph'] = 'device_toner';
$config['os'][$os]['over'][0]['text'] = 'Toner';
// lanier is a rebadged ricoh // lanier is a rebadged ricoh
$os = 'lanier'; $os = 'lanier';
$config['os'][$os]['group'] = 'printer'; $config['os'][$os]['group'] = 'printer';

View File

@@ -0,0 +1,7 @@
<?php
if (!$os) {
// Sharp Multifunction Printer/Scanner
if (strstr($sysDescr, 'SHARP MX-')) {
$os = 'sharpprinter';
}
}