File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const Constants = require('../../../../constants');
44
55class Printer {
66 static detectPrinter ( ua ) {
7- if ( ! / ( T A S K a l f a | C a n o n I J C L | P r i n t S m a r t ) / iu. test ( ua ) ) {
7+ if ( ! / ( T A S K a l f a | C a n o n I J C L | I R - S | P r i n t S m a r t | E p s o n H e l l o ) / iu. test ( ua ) ) {
88 return ;
99 }
1010 let match ;
@@ -24,6 +24,14 @@ class Printer {
2424 type : Constants . deviceType . PRINTER ,
2525 } ) ;
2626 }
27+ /* Canon iR S */
28+ if ( / I R - S / iu. test ( ua ) ) {
29+ this . data . device . setIdentification ( {
30+ manufacturer : 'Canon' ,
31+ model : 'imageRUNNER' ,
32+ type : Constants . deviceType . PRINTER ,
33+ } ) ;
34+ }
2735 /* HP Web PrintSmart */
2836 if ( / H P W e b P r i n t S m a r t / iu. test ( ua ) ) {
2937 this . data . device . setIdentification ( {
@@ -32,6 +40,14 @@ class Printer {
3240 type : Constants . deviceType . PRINTER ,
3341 } ) ;
3442 }
43+ /* Epson Hello */
44+ if ( / E p s o n H e l l o \/ / iu. test ( ua ) ) {
45+ this . data . device . setIdentification ( {
46+ manufacturer : 'Epson' ,
47+ model : 'Hello' ,
48+ type : Constants . deviceType . PRINTER ,
49+ } ) ;
50+ }
3551 }
3652}
3753
You can’t perform that action at this time.
0 commit comments