Ruby interface to the Foomatic printer database
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
LICENSE
README.md
Rakefile
ruby-foomatic.gemspec

README.md

ruby-foomatic

Continuous Integration status

Ruby interface to the Foomatic printer database.

Installation

$ apt-get install foomatic-db
$ gem install ruby-foomatic

Usage

require "foomatic"
foomatic = Foomatic::DB.open("/usr/share/foomatic/db")
foomatic.printers.each do |printer|
  puts printer.inspect
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request