My old Kodak printer had a broken/jammed printing head and went through ink cartridges faster than I liked because I wasn’t used that often and the Linux support for it was lacking (read: non-existent).
So I decided to get myself a new printer. I bought Samsung ML-2545 because there are Linux drivers for it and because the replacement toner isn’t too expensive.
Getting the printer to work with my RaspberryPi running ArchLinuxARM was easy after I got the installation script provided by Samsung to work.
The CUPS version I am currently running is 1.6.3
Here is what I did:
Download the latest “Unified Linux Drivers” from the Samsung website. The trick is that Samsung doesn’t offer the Linux drivers for every printer but most are actually supported by it. The latest version at the time of writing this is 1.00.06 which I downloaded from here.
Unpack the driver
- Modify the file
noarch/packet.shto fix some derps:
Comment out lines 492 to 494 which checks the hardware platform which I
think they forgot to add the checks for ARM to which was added to the
driver in a recent version I believe.
For reference in my version of the file those lines:
1 2 3
install.shscript provided by Samsung, it installs all the Samsung files into
/opt/smfp-commonand installs them into the correct location for CUPS and Sane to find via symlinks.
Install the printer via CUPS as normal. I could explain it here but there are many good tutorials out there that probably explain it better than me.
I also want to try to install the driver manually without the script just by unpacking the archive and copying the binarys/ppds to the correct location but as I have it running now I think it won’t happen soon.