Just solved this using Brother drivers for DCP-9015 printer (wireless only!)
Step 1: Download linux (rpm) drivers from Brother website. I used this one:
https://support.brother.com/g/b/downloa ... 9015cdw_eu
Download the the cups wrapper only (scroll down a bit)
The file I got was called
dcp9015cdwcupswrapper-1.1.4-0a.i386.deb
Step 2:
Put the .deb file in a temporary folder to make it easier to clean up later!
Step 3 run this to extract the contents:
i.e, I did:
Code: Select all
ar x dcp9015cdwcupswrapper-1.1.4-0a.i386.deb
This gives you some more archives:
control.tar.gz
data.tar.gz
debian-binary
The one we're after is
data.tar.gz.
Step 4: Extract with tar:
This creates an 'opt/' folder, the -v option gives the files list:
./
./opt/
./opt/brother/
./opt/brother/Printers/
./opt/brother/Printers/dcp9015cdw/
./opt/brother/Printers/dcp9015cdw/cupswrapper/
./opt/brother/Printers/dcp9015cdw/cupswrapper/cupswrapperdcp9015cdw
./opt/brother/Printers/dcp9015cdw/cupswrapper/brother_dcp9015cdw_printer_en.ppd
./opt/brother/Printers/dcp9015cdw/cupswrapper/brcupsconfpt1
Step 5 Get a copy of the .ppd file:
Code: Select all
cp ./opt/brother/Printers/dcp9015cdw/cupswrapper/brother_dcp9015cdw_printer_en.ppd brother_dcp9015cdw_printer_en_pi.ppd
Step 6 Modify the PPD file:
Edit it using nano or whatever you prefer.
Code: Select all
nano brother_dcp9015cdw_printer_en_pi.ppd
There is one line to change:
*cupsFilter: "application/vnd.cups-postscript 0 brother_lpdwrapper_dcp9015cdw"
This line tells cups to use the Brother wrapper, which is compiled for i86, and hence useless.
Change this line to:
Code: Select all
*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip"
Save the file for later!
This works for my printer (it's postscript). The corrected line was lifted from a similar file in the CUPS setup that would print to my printer but badly. If you have a non postscript printer, you'll need to pinch this line from a 'similar' printer.
Now go to the CUPS setup webpage and add your printer. When you're on the driver selection stage, go to "Or Provide a PPD File:' and select the edited .PPD file from above, then continue to setup. You should get all the right default options for your printer in the next step.
Once its setup, you can delete the temporary folder and everything you extracted.
This worked for me. Hope its useful for others.