Comment 158 for bug 25966

Revision history for this message
Sebastian Keller (skeller) wrote :

Another problem:
/usr/Brother/Printer/dcp130c/lpd/psconvertij2 is different from the one shipped in the according package from Brother, which results in the following problem:

Brother:
PAPER_TYPE=`sed -n '/PaperType/p' $RC_FILE`
PAPER_TYPE=`echo $PAPER_TYPE | sed -e 's/ //g' -e 's/PaperType=//'`

brother-lpr-drivers-bh7_1.0.0-10-0ubuntu1:
PAPER_TYPE=`sed -n '/^Paper/p' $RC_FILE`
PAPER_TYPE=`echo $PAPER_TYPE | sed -e 's/ //g' -e 's/Paper=//'`

While the entry in $RC_FILE (/usr/./././Brother/Printer/dcp130c/inf/brdcp130crc in this case) has the following format:
PaperType=A4
PaperThick=Regular
PaperSource=AUTO

This results in PAPER_TYPE being:
A4PaperThick=RegularPaperSource=AUTO
while it simply should be A4.

However there are more differences in those files, so that even after changing this line it still does not work.

I also saw, that brdcp130crc differed from the Brother one, Brother uses "PaperType=letter".

And another file with differences: /usr/Brother/Printer/dcp130c/inf/paperinfij2
Several values are different, just as an example:
Ubuntu Package: BrA4_B: 4956 6988
Brother Package: BrA4_B: 4930 6988