Using Java, I need to print on network printer, which is not installed locally. I only know the printer name. All tutorials I've seen started with something like:
PrintService []services = PrinterJob.lookupPrintServices();
The problem is there can be no printers installed, so the services will be empty in that case. I need to set the printer name directly, not just enumerate through visible printers.