ruby-foomatic
Ruby interface to the Foomatic printer database.
Installation
$ apt-get install foomatic-db$ gem install ruby-foomaticUsage
require "foomatic"
foomatic = Foomatic::DB.open("/usr/share/foomatic/db")
foomatic.printers.each do |printer|
puts printer.inspect
endContributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request