#include <x/cups/destination.H> x::cups::destination info=available_printer->info();
Invoking an available destination's
info() method returns an
x::cups::destination
object that provides additional information about the printer:
The destination's supported() and
suppported_options() methods describe
the printer's options and capabilities.
option_values(),
default_option_values(), and
ready_option_values() methods provide the
possible values for the printer's options, their default values,
and their currently available values.
user_defaults() provide the default settings
for this printer, specified by the user using the printer administration
and configuration utility.