in PrinterConfiguration.parseURI(), the line:
ends up leaving the starting "/" which is not really a part of the printer's name. When the PrinterProducer later searches for the matching PrintService, it attempts to recreate the printer path from the host name and the printer name with the following:
setPrinter("\\\\" + config.getHostname() + "
" + config.getPrintername());
which ends up with a string like: \\<HostName>\/<printer> because the leading "/" was not removed from the printer name, and which leads to the printer never being found.