Sha256: 2e808ffe4b5f4d17de1f415bddb1fcfcb08907697e419f4a70c1c4b80412f251

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

# ruby-foomatic

Ruby interface to the [Foomatic printer database](http://www.linuxfoundation.org/collaborate/workgroups/openprinting/databasefoomatic).

## Installation

```bash
$ apt-get install foomatic-db
```

```bash
$ gem install ruby-foomatic
```

## Usage

```ruby
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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-foomatic-0.0.1 README.md