986012
diff -up hplip-3.17.4/Makefile.am.no-ernie hplip-3.17.4/Makefile.am
986012
--- hplip-3.17.4/Makefile.am.no-ernie	2017-04-26 16:28:35.398099978 +0200
986012
+++ hplip-3.17.4/Makefile.am	2017-04-26 16:29:02.235879035 +0200
986012
@@ -519,7 +519,7 @@ hpcups_SOURCES = prnt/hpcups/HPCupsFilte
986012
 	prnt/hpcups/Mode2.cpp prnt/hpcups/Mode2.h prnt/hpcups/Mode3.cpp prnt/hpcups/Mode3.h \
986012
 	prnt/hpcups/Mode9.cpp prnt/hpcups/Mode9.h prnt/hpcups/Mode10.cpp prnt/hpcups/Mode10.h \
986012
 	prnt/hpcups/ModeDeltaPlus.cpp prnt/hpcups/ModeDeltaPlus.h prnt/hpcups/ModeJbig.cpp prnt/hpcups/ModeJbig.h \
986012
-	prnt/hpcups/ErnieFilter.cpp prnt/hpcups/ErnieFilter.h prnt/hpcups/EncapsulatorFactory.cpp prnt/hpcups/EncapsulatorFactory.h \
986012
+	prnt/hpcups/EncapsulatorFactory.cpp prnt/hpcups/EncapsulatorFactory.h \
986012
 	prnt/hpcups/Encapsulator.cpp prnt/hpcups/Encapsulator.h prnt/hpcups/Pcl3.cpp prnt/hpcups/Pcl3.h \
986012
 	prnt/hpcups/Pcl3Gui.cpp prnt/hpcups/Pcl3Gui.h prnt/hpcups/Pcl3Gui2.cpp prnt/hpcups/Pcl3Gui2.h \
986012
 	prnt/hpcups/LJMono.cpp prnt/hpcups/LJMono.h prnt/hpcups/LJColor.cpp prnt/hpcups/LJColor.h \
986012
diff -up hplip-3.17.4/prnt/hpcups/Pcl3Gui2.cpp.no-ernie hplip-3.17.4/prnt/hpcups/Pcl3Gui2.cpp
986012
--- hplip-3.17.4/prnt/hpcups/Pcl3Gui2.cpp.no-ernie	2017-04-26 16:28:39.525066003 +0200
986012
+++ hplip-3.17.4/prnt/hpcups/Pcl3Gui2.cpp	2017-04-26 16:29:46.987510614 +0200
986012
@@ -30,7 +30,6 @@
986012
 
986012
 #include "CommonDefinitions.h"
986012
 #include "Pcl3Gui2.h"
986012
-#include "ErnieFilter.h"
986012
 #include "Mode10.h"
986012
 #include "Mode9.h"
986012
 #include "PrinterCommands.h"
986012
@@ -38,7 +37,6 @@
986012
 Pcl3Gui2::Pcl3Gui2() : Encapsulator()
986012
 {
986012
     speed_mech_enabled = true;
986012
-    m_run_ernie_filter = true;
986012
     crd_type = eCrd_both;
986012
     strcpy(m_szLanguage, "PCL3GUI");
986012
 }
986012
@@ -59,21 +57,6 @@ DRIVER_ERROR Pcl3Gui2::Configure(Pipelin
986012
     }
986012
 
986012
     width = m_pMA->printable_width;;
986012
-    if (m_run_ernie_filter) {
986012
-	    ErnieFilter    *pErnie;
986012
-
986012
-       // Normal: threshold = (resolution) * (0.0876) - 2
986012
-       int threshold = ((m_pQA->horizontal_resolution * 876) / 10000) - 2;
986012
-
986012
-       pErnie = new ErnieFilter (width, eBGRPixelData, threshold);
986012
-       p = new Pipeline (pErnie);
986012
-       if (head) {
986012
-          head->AddPhase (p);
986012
-       }
986012
-       else {
986012
-           head = p;
986012
-       }
986012
-    }
986012
 
986012
     if (crd_type != eCrd_black_only) {
986012
         Mode10    *pMode10;
986012
diff -up hplip-3.17.4/prnt/hpcups/Pcl3Gui2.h.no-ernie hplip-3.17.4/prnt/hpcups/Pcl3Gui2.h
986012
--- hplip-3.17.4/prnt/hpcups/Pcl3Gui2.h.no-ernie	2017-04-26 16:28:43.277035115 +0200
986012
+++ hplip-3.17.4/prnt/hpcups/Pcl3Gui2.h	2017-04-26 16:30:05.826355522 +0200
986012
@@ -60,7 +60,6 @@ private:
986012
     DRIVER_ERROR encapsulateRaster(BYTE *input_raster, unsigned int num_bytes, COLORTYPE c_type);
986012
     bool    speed_mech_enabled;
986012
     int     page_number;
986012
-    bool    m_run_ernie_filter;
986012
     eCrdType    crd_type;
986012
 };
986012