Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-release-src > by-pkgid > 2c101d732df8a963b38a7c700d61af5a > files > 16

hplip-3.11.3a-5.mga1.src.rpm

--- hplip-3.11.1/prnt/hpcups/HPCupsFilter.cpp~	2011-01-18 22:15:27.000000000 -0700
+++ hplip-3.11.1/prnt/hpcups/HPCupsFilter.cpp	2011-02-07 08:14:24.846779731 -0700
@@ -352,7 +352,7 @@
         (attr->value != NULL)) {
         strncpy(m_JA.printer_platform, attr->value, sizeof(m_JA.printer_platform)-1);
         if (m_iLogLevel & BASIC_LOG) {
-            dbglog("HPCUPS: found Printer Platform, it is - %s", attr->value);
+            dbglog("HPCUPS: found Printer Platform, it is - %s\n", attr->value);
         }
       if(strcmp(m_JA.printer_platform, "ljzjscolor") == 0)
       {
@@ -372,7 +372,7 @@
     }
     strncpy(m_JA.printer_language, attr->value, sizeof(m_JA.printer_language)-1);
     if (m_iLogLevel & BASIC_LOG) {
-        dbglog("HPCUPS: found Printer Language, it is - %s", attr->value);
+        dbglog("HPCUPS: found Printer Language, it is - %s\n", attr->value);
     }
 
 //  Fill in the other PCL header info
@@ -417,14 +417,14 @@
     {
         if (err == PLUGIN_LIBRARY_MISSING)
             fputs ("STATE: +hplip.plugin-error\n", stderr);
-        dbglog ("m_Job initialization failed with error = %d", err);
+        dbglog ("m_Job initialization failed with error = %d\n", err);
         ppdClose(m_ppd);
         m_ppd = NULL;
         return err;
     }
 
     if (m_iLogLevel & BASIC_LOG) {
-        dbglog("HPCUPS: returning NO_ERROR from startPage");
+        dbglog("HPCUPS: returning NO_ERROR from startPage\n");
     }
 
     m_pPrinterBuffer = new BYTE[cups_header->cupsWidth * 4 + 32];
@@ -522,7 +522,7 @@
             close(fd);
         }
         if (m_iLogLevel & BASIC_LOG)
-            dbglog("HPCUPS: processRasterData returned %d, calling closeFilter()", err);
+            dbglog("HPCUPS: processRasterData returned %d, calling closeFilter()\n", err);
         closeFilter();
         cupsRasterClose(cups_raster);
         return 1;
@@ -532,7 +532,7 @@
         close(fd);
     }
     if (m_iLogLevel & BASIC_LOG)
-        dbglog("HPCUPS: StartPrintJob end of job, calling closeFilter()");
+        dbglog("HPCUPS: StartPrintJob end of job, calling closeFilter()\n");
     closeFilter();
     cupsRasterClose(cups_raster);
     return 0;
--- hplip-3.11.1/prnt/hpcups/Lidil.cpp~	2011-01-18 22:15:27.000000000 -0700
+++ hplip-3.11.1/prnt/hpcups/Lidil.cpp	2011-02-07 13:35:47.101535732 -0700
@@ -103,7 +103,7 @@
     if (m_pPM->BaseResX != m_pQA->horizontal_resolution ||
         m_pPM->BaseResY != m_pQA->vertical_resolution)
     {
-        dbglog("Requested resolution not supported with requested printmode");
+        dbglog("Requested resolution not supported with requested printmode\n");
         return UNSUPPORTED_PRINTMODE;
     }
 
@@ -167,13 +167,13 @@
 
     if (!selectPrintMode())
     {
-        dbglog("selectPrintMode failed, PrintMode name = %s", m_pQA->print_mode_name);
+        dbglog("selectPrintMode failed, PrintMode name = %s\n", m_pQA->print_mode_name);
         return UNSUPPORTED_PRINTMODE;
     }
     if (m_pPM->BaseResX != m_pQA->horizontal_resolution ||
         m_pPM->BaseResY != m_pQA->vertical_resolution)
     {
-        dbglog("Requested resolution not supported with requested printmode");
+        dbglog("Requested resolution not supported with requested printmode\n");
         return UNSUPPORTED_PRINTMODE;
     }
 
@@ -188,7 +188,7 @@
     err = allocateSwathBuffers();
     if (err != NO_ERROR)
     {
-        dbglog("allocateSwathBuffers failed, err = %d", err);
+        dbglog("allocateSwathBuffers failed, err = %d\n", err);
         return err;
     }
 
@@ -577,7 +577,7 @@
 {
     if (m_pJA->printer_platform[0] == 0)
     {
-        dbglog("printer_platform is undefined");
+        dbglog("printer_platform is undefined\n");
         return false;
     }
     for (unsigned int i = 0; i < sizeof(lidil_print_modes_table) / sizeof(lidil_print_modes_table[0]); i++)
@@ -587,7 +587,7 @@
             return selectPrintMode(i);
         }
     }
-    dbglog("Unsupported printer_platform: %s", m_pJA->printer_platform);
+    dbglog("Unsupported printer_platform: %s\n", m_pJA->printer_platform);
     return false;
 }
 
--- hplip-3.11.1/prnt/hpcups/Pcl3.cpp~	2011-01-18 22:15:27.000000000 -0700
+++ hplip-3.11.1/prnt/hpcups/Pcl3.cpp	2011-02-07 08:19:34.890530162 -0700
@@ -66,13 +66,13 @@
 
     if (!selectPrintMode())
     {
-        dbglog("selectPrintMode failed, PrintMode name = %s", m_pQA->print_mode_name);
+        dbglog("selectPrintMode failed, PrintMode name = %s\n", m_pQA->print_mode_name);
         return UNSUPPORTED_PRINTMODE;
     }
     if (m_pPM->BaseResX != m_pQA->horizontal_resolution ||
         m_pPM->BaseResY != m_pQA->vertical_resolution)
     {
-        dbglog("Requested resolution not supported with requested printmode");
+        dbglog("Requested resolution not supported with requested printmode\n");
 	return UNSUPPORTED_PRINTMODE;
     }
 
@@ -220,7 +220,7 @@
 {
     if (m_pPM == NULL)
     {
-        dbglog("configureRasterData: m_pPM is NULL");
+        dbglog("configureRasterData: m_pPM is NULL\n");
         return;
     }
     BYTE    *p = cur_pcl_buffer_ptr;
@@ -255,7 +255,7 @@
 {
     if (m_pJA->printer_platform[0] == 0)
     {
-        dbglog("printer_platform is undefined");
+        dbglog("printer_platform is undefined\n");
         return false;
     }
     for (unsigned int i = 0; i < sizeof(pcl3_print_modes_table) / sizeof(pcl3_print_modes_table[0]); i++)
@@ -265,7 +265,7 @@
 	    return selectPrintMode(i);
 	}
     }
-    dbglog("Unsupported printer_platform: %s", m_pJA->printer_platform);
+    dbglog("Unsupported printer_platform: %s\n", m_pJA->printer_platform);
     return false;
 }
 
--- hplip-3.11.1/prnt/hpcups/Pcl3Gui.cpp~	2011-01-18 22:15:27.000000000 -0700
+++ hplip-3.11.1/prnt/hpcups/Pcl3Gui.cpp	2011-02-07 08:23:44.087529459 -0700
@@ -66,13 +66,13 @@
 
     if (!selectPrintMode())
     {
-        dbglog("selectPrintMode failed, PrintMode name = %s", m_pQA->print_mode_name);
+        dbglog("selectPrintMode failed, PrintMode name = %s\n", m_pQA->print_mode_name);
         return UNSUPPORTED_PRINTMODE;
     }
     if (m_pPM->BaseResX != m_pQA->horizontal_resolution ||
         m_pPM->BaseResY != m_pQA->vertical_resolution)
     {
-        dbglog("Requested resolution not supported with requested printmode");
+        dbglog("Requested resolution not supported with requested printmode\n");
     return UNSUPPORTED_PRINTMODE;
     }
 
@@ -224,7 +224,7 @@
 {
     if (m_pPM == NULL)
     {
-        dbglog("configureRasterData: m_pPM is NULL");
+        dbglog("configureRasterData: m_pPM is NULL\n");
         return;
     }
     BYTE    *p = cur_pcl_buffer_ptr;
@@ -259,7 +259,7 @@
 {
     if (m_pJA->printer_platform[0] == 0)
     {
-        dbglog("printer_platform is undefined");
+        dbglog("printer_platform is undefined\n");
         return false;
     }
     for (unsigned int i = 0; i < sizeof(pcl3_gui_print_modes_table) / sizeof(pcl3_gui_print_modes_table[0]); i++)
@@ -269,7 +269,7 @@
             return selectPrintMode(i);
         }
     }
-    dbglog("Unsupported printer_platform: %s", m_pJA->printer_platform);
+    dbglog("Unsupported printer_platform: %s\n", m_pJA->printer_platform);
     return false;
 }