OneGhost
Posts: 7
Joined: Tue Mar 07, 2017 4:13 pm

Using Samsung Printer Driver

Sat Aug 31, 2019 5:29 pm

Hi. I would like to use my Samsung M2020 printer on the Raspberry Pi 2. Unfortunately Samsung only released drivers for armel (Soft float) architecture (as far as I know). I have tried various things, like using generic drivers, forcing this driver to install, etc, but nothing worked for me. Is there anything I could do to make this printer work? Maybe somehow emulate armel on Raspbian (armhf)? I would really prefer to stick with newer architecture, as armel is quite old, and not really supported anymore.

fruitoftheloom
Posts: 23548
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Using Samsung Printer Driver

Sat Aug 31, 2019 6:00 pm

OneGhost wrote:
Sat Aug 31, 2019 5:29 pm
Hi. I would like to use my Samsung M2020 printer on the Raspberry Pi 2. Unfortunately Samsung only released drivers for armel (Soft float) architecture (as far as I know). I have tried various things, like using generic drivers, forcing this driver to install, etc, but nothing worked for me. Is there anything I could do to make this printer work? Maybe somehow emulate armel on Raspbian (armhf)? I would really prefer to stick with newer architecture, as armel is quite old, and not really supported anymore.

https://www.samsung.com/us/computer/pri ... /XAA-specs

Maybe the Splix Package will support ?

http://splix.ap2c.org/

Code: Select all

sudo apt update
sudo apt install splix cups system-config-printer

The system-config-printer is a GUI for CUPS, it makes it easier to configure printers under Raspbian Buster...IMO
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

OneGhost
Posts: 7
Joined: Tue Mar 07, 2017 4:13 pm

Re: Using Samsung Printer Driver

Sat Aug 31, 2019 6:26 pm

Thanks for the replay. I have already tried splix, but it didn't worked. My printer is not listed under it's supported list.
Last edited by OneGhost on Sat Aug 31, 2019 7:04 pm, edited 1 time in total.

fruitoftheloom
Posts: 23548
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Using Samsung Printer Driver

Sat Aug 31, 2019 6:36 pm

OneGhost wrote:
Sat Aug 31, 2019 6:26 pm
Thanks for the replay. I have already tried split, but it didn't worked. My printer is not listed under it's supported list.

Did you use system-config-printer GUI to configure the Printer ?

Does it even recognise your printer model ""Samsung Xpress SL-M2020W Laser Printer"" correctly ?

The driver package is SPLIX !
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

OneGhost
Posts: 7
Joined: Tue Mar 07, 2017 4:13 pm

Re: Using Samsung Printer Driver

Sat Aug 31, 2019 7:06 pm

Sory, I have noticed now that autocorrection changes splix to split on my Mac, I have installed splix, but it didn't work. I have only tested this without gui on rpi, I will install version with gui and try again using system-config-printer. Printer itself is recognized correctly as a correct model.

OneGhost
Posts: 7
Joined: Tue Mar 07, 2017 4:13 pm

Re: Using Samsung Printer Driver

Sat Aug 31, 2019 9:02 pm

It worked! Using splix worked, but I had to install it manually from "patches" repository and not with apt-get. This version contains drivers for my printer. Configured it from cups gui later, no need for system-config-printer. Thank you for you help.

domukin
Posts: 1
Joined: Fri Mar 06, 2020 4:46 am

Re: Using Samsung Printer Driver

Fri Mar 06, 2020 4:49 am

I'm running into the same issuer. I cannot find the right driver for the ML-2020w on raspberry pi CUPS.

Could you explain step by step how you installed the splix driver manually from the "patches" repository? (and not with apt-get.)

alio74
Posts: 1
Joined: Tue Apr 07, 2020 3:59 pm

Re: Using Samsung Printer Driver

Tue Apr 07, 2020 4:19 pm

Hello,

Here is the several steps applied on my raspberry pi2 to be able to print on my Samsung 2020 printer.

1- sudo apt-get install build-essential lib2cups-dev
2- git clone https://gitlab.com/ScumCoder/splix/tree/patches/splix
3- cd splix/splix then make ; then sudo make install
3- if you have error in ld not finding libjpig85 you should compile it (Go to step 5)
5- git clone https://github.com/nu774/jbigkit.git
6- cd jbigkit then make then sudo make install
7- Go to cups add add the printer and choose ppd file from splix/splix/ppd/m2020.ppd

That's all hope this will fix your issues.

Good Luck

rimrunner
Posts: 11
Joined: Sat Aug 24, 2019 11:44 am

Re: Using Samsung Printer Driver

Wed Jul 22, 2020 12:58 pm

alio74 wrote:
Tue Apr 07, 2020 4:19 pm
3- if you have error in ld not finding libjpig85 you should compile it (Go to step 5)
5- git clone https://github.com/nu774/jbigkit.git
6- cd jbigkit then make then sudo make install

jbigkit does not have "make install" option and therefore those instructions don't work.

I could not figure out where to put those jbigkit files to satisfy the requirements of splix compiling but I found out that ppd files from splix source package could be used in Raspbian's printer configuration menu without actually compiling splix (Samsung offers driver files for Linux themselves but at least for M2020 it requires a program of theirs which is not available for ARM and seems to be distributed only as binary).

However, my printer is M2026 for which there is only a generic M2020 driver available and maybe because of that it couldn't usually print PDFs. It seemed to work with odt files though.

Addition: I can print pdf -files this way with M2026 printer:
1. open a pdf file in GIMP
2. export it as a png file
3. open LibreOffice Writer and insert that png file to an empty text document
4. print
NOTE: it does not work from LibreOffice Draw. You have to insert png in the Writer, not open a png. And it can print only one page at time (there are few minutes lag between each page if many pages are printed at once).

HWCHN
Posts: 1
Joined: Fri Aug 07, 2020 12:57 am

Re: Using Samsung Printer Driver

Fri Aug 07, 2020 1:11 am

alio74 wrote:
Tue Apr 07, 2020 4:19 pm
Hello,

Here is the several steps applied on my raspberry pi2 to be able to print on my Samsung 2020 printer.

1- sudo apt-get install build-essential lib2cups-dev
2- git clone https://gitlab.com/ScumCoder/splix/tree/patches/splix
3- cd splix/splix then make ; then sudo make install
3- if you have error in ld not finding libjpig85 you should compile it (Go to step 5)
5- git clone https://github.com/nu774/jbigkit.git
6- cd jbigkit then make then sudo make install
7- Go to cups add add the printer and choose ppd file from splix/splix/ppd/m2020.ppd

That's all hope this will fix your issues.

Good Luck
Hello, I have try to fix samsung m2020 for severous days, finally I saw your reply, but there are also some questions:
1- the lib2cups-dev package couldn't find and I install libcups2-dev, I don't know if there is any diffences.
2- the step 3, the error : can not find -1 jbig85, so I do the step 5, but I don't know where to place jbigkit, so I git clone to splix/splix, and then cd jbigkit, and make, the information : mkae:*** no targets specified and no makefile found. stop.
So I failed again. Who can help me.

Return to “Troubleshooting”