<?php
require_once __DIR__."/../vendor/autoload.php";
use NoccyLabs\Lpr\PrinterList;
$printers = new PrinterList();
foreach ($printers as $printer=>$meta) {
printf("%s\n%s\n\n", $printer, json_encode($meta,JSON_PRETTY_PRINT));
}