diff --git a/bundles/org.openhab.binding.ipp/pom.xml b/bundles/org.openhab.binding.ipp/pom.xml index 79b78cb08..d1f7c7ddf 100644 --- a/bundles/org.openhab.binding.ipp/pom.xml +++ b/bundles/org.openhab.binding.ipp/pom.xml @@ -22,7 +22,7 @@ org.cups4j cups4j - 0.7.6 + 0.7.8 compile @@ -36,22 +36,28 @@ xmlpull 1.1.3.1 + + commons-lang + commons-lang + 2.6 + compile + commons-io commons-io - 1.4 + 2.7 compile org.apache.httpcomponents httpcore-osgi - 4.4.4 + 4.4.15 compile org.apache.httpcomponents httpclient-osgi - 4.5.3 + 4.5.13 compile diff --git a/bundles/org.openhab.binding.ipp/src/main/java/org/openhab/binding/ipp/internal/handler/IppPrinterHandler.java b/bundles/org.openhab.binding.ipp/src/main/java/org/openhab/binding/ipp/internal/handler/IppPrinterHandler.java index 86e9c1e65..6e6c9b756 100644 --- a/bundles/org.openhab.binding.ipp/src/main/java/org/openhab/binding/ipp/internal/handler/IppPrinterHandler.java +++ b/bundles/org.openhab.binding.ipp/src/main/java/org/openhab/binding/ipp/internal/handler/IppPrinterHandler.java @@ -82,7 +82,7 @@ public class IppPrinterHandler extends BaseThingHandler implements DiscoveryList } else if (obj instanceof String) { url = new URL((String) obj); } - printer = new CupsPrinter(url, name, false); + printer = new CupsPrinter(null, url, name); } catch (MalformedURLException e) { logger.error("malformed url {}, printer thing creation failed", config.get(PRINTER_PARAMETER_URL)); }