Dear Mantainer:

I'm submitting a patch for this bug [file Samsung_ML-2010-bug.dpatch)
(taken from upstream subversion with

svn diff -r69:70

Changelog entry:

r70 | ap2c | 2007-02-10 11:17:26 -0300 (sáb 10 de feb de 2007) | 2 lines
changed paths:
   M /splix/src/spl2.cpp

Correct a bug for the ML-2010 printer

Also I'm submitting the .dsc and .diff.gz files for rebuilding the
Debian packages. (So probably you only need to modify the
ChangeLog (replacing my name with yours, etc.)

I've tested this with my printer. Please fix this issue for Lenny..

I've applied my patch using dpatch since your rules files includes
rules for this. Lintian complains since you have applied
patches directly, and the rules file uses a patch system (but this is
clearly only a cosmetic issue)

best regards
Pablo
--- a/src/spl2.cpp	
+++ b/src/spl2.cpp	
@@ -168,7 +168,8 @@
     header[0xd] = _printer->docHeaderValues(1);     // ??? XXX
     header[0xe] = _printer->qpdlVersion();          // QPDL Version
     header[0xf] = _printer->docHeaderValues(2);     // ??? XXX
-    if (_printer->resolutionY() != _printer->resolutionX())
+    if (_printer->resolutionY() != _printer->resolutionX() || 
+        _printer->docHeaderValues(2) == 1)
         header[0x10] = _printer->resolutionX() / 100; // X Resolution
     else
         header[0x10] = 0;                           // X Resolution = Y Res.

Attachment: splix_1.0.1-1.2.diff.gz
Description: GNU Zip compressed data

Attachment: splix_1.0.1-1.2.dsc
Description: Binary data

Reply via email to