add printer brand and api and type

This commit is contained in:
Yan
2018-03-15 18:56:29 +06:30
parent fc3e1b2d60
commit c982da4264
12 changed files with 70 additions and 22 deletions

View File

@@ -24,6 +24,11 @@ class Printer::PrinterWorker
end
end
# Options from printer name
def self.printer_options(printer_name)
Cups.options_for(printer_name)
end
def self.printers()
Cups.show_destinations
end