We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
A few singleton methods:
require "cups" Cups.default_printer Cups.show_destinations Cups.jobs_on(printer) Cups.options_for(printer)
To actually print things, we have a PrintJob class:
require "cups" pj = Cups::PrintJob.new("/path/to/file") pj.print
The PrintJob object will choose the default printer if you don’t supply a second argument on creation.