brother printer detection

git-svn-id: http://www.observium.org/svn/observer/trunk@1386 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-07-17 18:00:26 +00:00
parent 1dfc30ad27
commit 23a8826ff8
3 changed files with 15 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 740 B

@@ -0,0 +1,9 @@
<?php
if (!$os) {
if (preg_match("/Brother NC-.*h,/", $sysDescr)) { $os = "brother"; }
}
?>
+6
View File
@@ -224,6 +224,12 @@ $config['os']['ricoh']['overgraph'][] = "device_toner";
$config['os']['ricoh']['overtext'] = "Toner";
$config['os']['ricoh']['type'] = "printer";
$config['os']['brother']['group'] = "printer";
$config['os']['brother']['text'] = "Brother Printer";
$config['os']['brother']['overgraph'][] = "device_toner";
$config['os']['brother']['overtext'] = "Toner";
$config['os']['brother']['type'] = "printer";
$config['os']['konica']['group'] = "printer";
$config['os']['konica']['text'] = "Konica-Minolta Printer";
$config['os']['konica']['overgraph'][] = "device_toner";