LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   I cannot find any working drivers for the printer - Brother HL-2242D (https://www.linuxquestions.org/questions/linux-hardware-18/i-cannot-find-any-working-drivers-for-the-printer-brother-hl-2242d-4175413971/)

vonqon 06-29-2012 03:12 AM

I cannot find any working drivers for the printer - Brother HL-2242D
 
Hello, I am running Slackware 13.37 64.
All I can find for my printer, the HL-2242D, is .rpm and .deb binaries from the Brother webpage. After several Google searches I cannot find any ppd drivers propriety or open source. I am using CUPS. Is there a way to get these binaries to work in Slackware ( I have tried rpm2tgz, with no success)? Or am I stuck with a fancy paperweight?

sag47 06-29-2012 08:24 AM

1 Attachment(s)
Quote:

Originally Posted by vonqon (Post 4714800)
Hello, I am running Slackware 13.37 64.
All I can find for my printer, the HL-2242D, is .rpm and .deb binaries from the Brother webpage. After several Google searches I cannot find any ppd drivers propriety or open source. I am using CUPS. Is there a way to get these binaries to work in Slackware ( I have tried rpm2tgz, with no success)? Or am I stuck with a fancy paperweight?

I downloaded the current cupswrapperHL2242D-2.0.4-2.i386.deb from the brother website and extracted the package. Searched for ppd in the scripts. And then I found the PPD file within the script cupswrapperHL2242D-2.0.4.
Code:

dpkg-deb --extract cupswrapperHL2242D-2.0.4-2.i386.deb brother-printer
cd brother-printer
grep -ri 'ppd' *
#found instances of ppd in ./usr/local/Brother/Printer/HL2242D/cupswrapper/cupswrapperHL2242D-2.0.4
vim ./usr/local/Brother/Printer/HL2242D/cupswrapper/cupswrapperHL2242D-2.0.4

I then pulled out the PPD code and it is attached to this post as HL2242D.txt. Simply rename HL2242D.txt to HL2242D.ppd and you'll have your PPD file.

SAM

vonqon 06-29-2012 10:30 AM

Thank you.

Much appreciated.


All times are GMT -5. The time now is 11:58 AM.