{
    use esmith::DB::db;

    my $dbpath = "/home/e-smith/cups/db";
    my $db = esmith::DB::db->open_ro($dbpath) or
        die "Could not open database $dbpath";
    foreach ($db->get_all_by_prop(type => 'printer')) {
        my $printer = $_->key;
        $OUT .= "$printer:rm=$SystemName:rp=$printer:\n";
    }
}
