public static SortedSet<PrintService> getAvailablePrinterServices() {
PrintService[] printServices = PrintServiceLookup.lookupPrintServices(null, null);
printServices[0].getName();
SortedSet<PrintService> printServicesList = new TreeSet<PrintService>(new PrintServiceComparator());
printServicesList.addAll(Arrays.asList(printServices));
return printServicesList;
}