Updated: 8/3/07
This is a guide that should hopefully ease you through the stress of getting a Samsung printer working in Linux.
I made this guide with Ubuntu 6.10 and a Samsung SCX-4100 but most versions, distributions and models should be fairly similar.
I will also be updating the guide in the future hopefully if I manage to work out scanning as well.
Getting the driver:
To start off with you need to head to www.samsung.com and get the latest version of the driver. Look for the linux driver that ends in .tar.gz (at the time of writing 20070129124018750_UnifiedLinuxDriver.tar.gz was the file to look for). Save this file to your desktop and once it has finished extract it by right clicking on the file and selecting “extract here”.
Installing the driver via supplied instructions:
From here we install the drivers which should be as simple as moving to the correct directory and running the script:
cd Desktop/cdroot/Linux
sudo ./install.ch
If everything runs fine and dandy and the printer installs and you can use a test page, then wow your a lucky one. If your like the rest of us then it will not be so pain free. However with the release of the new unified Linux printer drivers for linux, it is only a quick task to get things going.
Editing the needed files:
The first thing we have to do it edit the install script, however it is currently read only file. This can be done by moving opening up the directory via the GUI: ‘Right click on install.sh > properties > permissions’ then change owner access to ‘read and write’.
Now we have the permissions to edit the file. Which we can do by opening the file with gedit:
sudo gedit install.sh
we then change the top line from
#! /bin/sh
to
#! /bin/bash
apparently this is just something that is different between some versions of Linux.
Installing drivers:
We now try to install the drivers again
cd Desktop/cdroot/Linux
sudo ./install.sh
It should now work and an installation screen should pop up. Move through the install and another window will pop up trying to get you to install the printer. Do this, but chances are there will be no driver for the printer. This just seems to be a minor problem, we will fix that up now. “Cancel” out of the add window and click “finish” on the original installation window.
Adding your printer:
Go into ’system > administration > printing’ and then click on “New printer”. It might show a few printers connected, select the one that is like ‘Samsung SCX-4100 series’. Click ‘Install Driver’ and get the right driver from ‘Desktop/cdroot/Linux/noarch/at_opt/share/ppd’. Now the printer will not show up properly yet. If you head to the desktop and open up the program the initial installer put there and click “Add a printer” and follow the prompts, the printer should appear in the linux printers box.
Confirming your printer is properly installed:
Right click on your printers new flashy icon and click “Properties”, choose “Print test page” and it should now reward you with a hot freshly printed test page.
November 11, 2006 at 2:34 pm
Wow! It worked. Thanks. I just migrated from fedora 5 and it worked on there with no changes. I’ve also heard it worked on the earlier ubuntu. I was about to get a new printer until I found your Samsung Printer blog. Thanks!
November 11, 2006 at 11:29 pm
Glad I could help, hopefully Ill work out the scanning side of things soon.
November 15, 2006 at 10:54 am
I just installed using
20061108083007875_UnifiedLinuxDriver.tar.gz
the shell installed
libstdc++ v3 (gcc 2.96)
and libtiff.so.3
Everything went smoothly including test page.
But then ubuntu’s cups install function hung the system until I rebooted. Now both cups and Samsung’s Unified Driver Configurator seem to co-exist.
A close look at the ubuntu test page confirms that black is assembled from color pixels in images. But fonts appear to be true black toner. Also the red, green, and blue bars have black pixels in to darken those colors.
November 16, 2006 at 2:07 pm
What printer are you using for this. The SCX4100 is a black and white only. Did you use my guide or are you saying that it installed straight from the installer?
November 18, 2006 at 8:04 pm
Thanks, if every issue could be as easyly resloved as this…
Using CLP-500N which didn’t show up during the installation process. Cancelled the printer installation and installed the printer via the SystemSettings->Printers instead (kubuntu). All printers that were installed via the Samsung script showed up here.
November 23, 2006 at 6:29 am
Thanks! This saved few hours of my time
November 24, 2006 at 12:21 am
Just thought I’d mention that the reason that this is happening is because /bin/sh on the latest ubuntu is a simlink to dash instead of bash. dash has less features than bash and this install script clearly relies on the full features of bash.
My (perhaps incomplete) understanding is that you should only start a sctipt with #!/bin/sh if your script will only use the minimum features of a posix compatible shell. While bash is a posix shell, it offers many more features and if you’re going to rely on them, you should really use #!/bin/bash
December 10, 2006 at 11:27 pm
thnks a lot!! Finaly it worked. I lost a few weeks to find how to install this MFP.
December 15, 2006 at 5:49 am
Thanks…………it worked!!
I have been driven nuts trying to get it to work.
Things are looking up.
Now all I have to do is to get the sound going!
January 2, 2007 at 8:02 am
Thanks Matt,
I’m migrating from suse 9.2 to Kubuntu/Ubuntu Edgy and have had trouble with this printer again.
A remark concerning the necessary editing of the install.sh :
In Ubuntu 6.10 /bin/sh is linked to /bin/dash instead of /bin/bash.
So all scripts beginning with #!/bin/sh are executed by Dash. Dash and Bash shell are both sh-compatible, but bash contains additional commands.
In theory sh-scripts beginning with #!/bin/sh shall only use sh-functions, but when the script programmer assumes #!/bin/sh is equal Bash-shell (this is correct for most Linux distributions) unpredictable, very interresting errors may occur.
No brilliant achievement by Samsung.
January 29, 2007 at 10:00 am
It didn’t work for me, as I never got a gui for the installation. The text install seemed to work, but no scx4100 showed up on the printer driver page, and when I tried the install button it to search for it manually there was no cdroot/Linux/noarch/share/ folder.
If its useful, here is the output of the text install
sudo ./install.sh
libtiff.so.3 not found, intstall … done
./i386/share/guiinstall.bin: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
**** It seems Qt library is not installed, or X display is not accessible.
**** Custom Qt library will be configured for use with this package.
guiinstall.bin: cannot connect to X server
GUI mode installer execution failed, proceeding in text mode
**** Running text mode install
**** Press any key to continue or q to quit: ^[[A
INFO: Installing common files ...
INFO: Installing MFP port and SANE backend libraries ...
INFO: Checking USB ... OK
cat: /etc/modprobe.conf: No such file or directory
INFO: Installing GUI lpr ...
INFO: Fixing file ownership and permissions ...
INFO: Registering SANE backend ...
INFO: Registering CUPS printer ...
* Restarting Common Unix Printing System: cupsd [ ok ]
INFO: CUPS restart OK
lpadmin: Unable to copy PPD file!
INFO: Finishing installation …
**** Text mode install finished
January 29, 2007 at 10:13 am
Bah, stupid me probably should have looked longer for the file before posting. Anyway, i found the driver, and got a test page to print out. Thanks matt.
February 8, 2007 at 2:01 pm
Thank you!!!!
February 26, 2007 at 8:09 am
This perfectly working
Thankyou so much
March 13, 2007 at 11:12 am
I LOVE YOU!
March 26, 2007 at 8:43 am
Great I can now print in linux Ubuntu for the first time ever.
Thanks,
March 26, 2007 at 9:38 am
Hi Matt – I tried the Scanning and it worked however after rebooting the system it shows an error.
ERROR while loading device settings:
/home/.sane/xsane/samsung:SCX-4100SeriesUSB:0.drc is not a device-rc-file!!!
Do you have any idea what that might mean
March 27, 2007 at 10:03 pm
not sure on that one, somethings go weird there however the ubuntu forums should be able to sort you out.
April 2, 2007 at 5:49 pm
I’ve installed Samsung’s drivers and I’m tryng to configure my SCX-4216 connected to a print server…but I cant’ t find the correct driver in the list! There’s no mention about any kind of SCX printer…and I’ve download the lastest drivers from Samsung web page.
How can i do? Where’s the mistake?
April 10, 2007 at 4:19 am
This driver work well with my Xerox WorkCentre PE114e too. (recomanded by http://www.openprinting.org)
Only cut the top and the bottom of the page.
Can someone help me?
April 25, 2007 at 1:50 am
Thank you very much. This document really helps me to get my Samsung CLP-300 working.
I really want to get rid off microsoft software and getting my printer working under ubuntu 7.04 is absolutely necessary as I am a teacher.
Did not work for me:
a) original linux-driver on CD
b) unified linux-driver (as above, with several trials from seveeral forums)
c) foo2qpdl – driver as explained at http://foo2qpdl.rkkda.com
Finally I got here and it works now fine !
You made a human happy today !
April 26, 2007 at 7:24 am
sudo ./install.sh
./install.sh: 1232: source: not found
ERROR: HARDWARE_PLATFORM undefined, execution aborted
but:
uname -a returns: “Linux 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux”, but uname -i returns: unknown
April 27, 2007 at 1:36 am
I used to get that when I didnt change the bash/dash thing over.
May 6, 2007 at 7:40 pm
It worked for me, thanks for the howto – it was really useful.
July 31, 2007 at 3:15 am
THANK YOU!!!!!
August 2, 2007 at 7:09 am
I did everything you said on this page.
It did not work for me.
I have the 4216 series, and I am a newbie to Fedora, and Linux system.
My scanner works, but the printer does not.
Help! What do I do?
August 9, 2007 at 9:20 am
It worked just as you said in Kubuntu Feisty but required downloading a different printer configuration tool as the one accessed through the K menu would not accept the ppd file. After downloading ’system-config-printer’, the Fedora printer configuration gui, it worked, and I then printed AND scanned a document using the Samsung software. I have a SCX-4100.
September 12, 2007 at 1:49 am
Speedygeo, thank you. I have Xerox WorkCentre PE114e too.
October 18, 2007 at 6:10 am
This driver works well on KUbuntu and MEPIS.
I have a big problem
Only kooka crash at the startup.
Can anyone help me?
November 2, 2007 at 4:41 pm
good
November 2, 2007 at 5:49 pm
Thank you !!
January 4, 2008 at 1:37 pm
thanks a lot, greetings from switzerland…
January 31, 2008 at 5:04 am
What do you mean ?
February 5, 2008 at 12:33 pm
My Samsung SCX-4100 located on another computer in the LAN works fine. Thanks to you Matt.
Bala
May 8, 2008 at 3:39 am
thank you mate. Worked well, thanks!
June 17, 2008 at 1:22 am
Good!
Thank you!
June 30, 2008 at 9:07 am
good! thanks
June 30, 2008 at 8:01 pm
Thank you!!!!
August 1, 2008 at 2:01 am
Thanks!!!!!!!!!!!!!
August 18, 2008 at 9:20 am
It works. I just did it with driver from samsung web site.
20070725084555687_UnifiedLinuxDriver.tar.gz
Life isn’t easier without your posting.
Thanks a lot.
January 20, 2009 at 7:39 am
Thanks a million! Your script works (with only minor differences) for the following setup:
Samsung CLX-3175FN multifunctional
Ubuntu Intrepid Ibex (8.10) with the Ubuntu Netbook Remix installed on an Acer Aspire One ZG5.
Earlier, I installed the same printer on a Toshiba laptop with Ubuntu 8.10 without issues (and without your script). For some reason, the Samsung software (installer, configurator) caused issues on the Acer. I suspect some file-level authorizations but could not pinpoint the problem.
February 26, 2009 at 4:22 am
thanks. just works
August 22, 2009 at 3:27 am
Thanks for the info. Was useful