I know its very frustrating when you follow docs and it doesn't work, however you might not like them but the Print Service User Guide docs are about as simple as an explanation of this API can be. What have you tried and where do you get stuck?

String DESINATED_PRINTER = "\\\\GPNT43\\INET_1"; // Find all services that support a set of print job capabilities; // in this case, color aset = new HashAttributeSet(); aset.add(ColorSupported.SUPPORTED);