* @param port
*/
private void connect(String host, int port) {
if (host != null && StringUtils.isNotBlank(host) && port > 0) {
try {
client = new CupsClient(host,port);
logger.debug("Connection to CupsServer {} established",host);
} catch (Exception e) {
logger.error("Couldn't connect to CupsServer [Host '" + host + "' Port '" + port + "']: ", e.getLocalizedMessage());
}
} else {