Java_获取打印机列表
// 获取打印机名称列表
List<String> collect = Arrays.stream(PrinterJob.lookupPrintServices()).map(PrintService::getName).collect(Collectors.toList());
// 获取打印机名称列表
List<String> collect = Arrays.stream(PrinterJob.lookupPrintServices()).map(PrintService::getName).collect(Collectors.toList());