Getting a Samsung ML-2010 to work in Debian Linux amd64/x86_64

I recently bought a Samsung ML-2010, which is a nice laser printer for home use, and tried to set it up on Debian, only to discover that Samsung wasn’t hip to my architecture, namely amd64/x86_64. It’s no matter, their printer drivers still work, but you have to hack around a bunch of their checks. I’m documenting them here because I’d rather not forget when I reinstall, and it’s probably useful for others to know about it.

Step 1 - Install the necessary packages - In my case all I needed to install was ia32-libs, because I already had all of the other packages needed installed. The samsung tool uses cupsys, so you may need to install the cupsys package and it’s dependencies.

Step 2 - Unpack the driver - Get the driver from Samsung and untar it, producing a directory called “image”

Step 3 - Hack around the glibc detection - The setup program is “smart” and tries to detect if there is a GLIBC with a high enough version. The bad news is that it uses the wrong version, because it is not familiar with the ia32-libs positioning of it. Luckily, it uses a script to do it’s dirty work, so I just changed scripts/test-libc.sh to this:


#!/bin/sh
#
# Test the Libc version and make sure it is > 2.0
#
exit 0

Mostly because I know that we meet the requirement of glibc > 2.0.

Step 4 - Run the setup program directly - The setup script (script.sh) doesn’t like to run on x86_64 architectures, because of it’s architecture checking. This is annoying, so looking into script.sh, find the program that it runs and run it directly, that is, run ./setup.data/bin/Linux/x86/glibc-2.1/setup.gtk as root (it will be putting things in /usr/local).

Step 5 - Add your printer to the setup utility - run /usr/local/linuxprinter/bin/linux-config and add the printer. It’s pretty straightforward, and actually follows the docs which Samsung gives out from here on.

Comments 9

  1. Tom J wrote:

    If you have Fedora 5 64 Bit version and a Samsung ML-2010, use the ML-1710 Driver it works great. Hope this helps others.
    Linux Keep it free :)

    Posted 28 Apr 2006 at 8:57 pm
  2. Carlos D. wrote:

    Hey!! Thanx for this!
    I have ML-1510 running on Gentoo / amd64

    Posted 25 May 2006 at 2:52 pm
  3. George T. Diller wrote:

    After getting no help by telephone from Samsung, I found your message. Thank you. I called back Samsung tech support and told them to add ML-1710 = ML-2010 to their web site.

    The ML-2010 for its give-away price, is most impressive.

    Posted 11 Jun 2006 at 9:38 pm
  4. Base Zero wrote:

    I have the pleasure to have a laser printer at home, which works great and is wonderful for printing everything from research papers to read to envelopes for sending. ceilingsarecool uses it for taking things for proofing and research. While it was a sl

    Posted 21 Jun 2006 at 12:23 pm
  5. Obscura wrote:

    You sir are a genius.
    I’ve been struggling with my ML-2010 for days now and now it is working. (Debian Sid 2.6.16-2-em64t-p4-smp)

    There is no way I would have figured it out without your instructions.

    Thanks!

    Posted 22 Jun 2006 at 11:00 pm
  6. michuk wrote:

    I tried this with my Samsung ML1710 printer on Kubuntu Dapper for amd64, but I’m getting this error when trying to run the config script:

    # ./setup.data/bin/Linux/x86/glibc-2.1/setup.gtk
    ./setup.data/bin/Linux/x86/glibc-2.1/setup.gtk: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory

    I have the libgtk1.2 packeges installed:
    # dpkg -l | grep libgtk1.2
    ii libgtk1.2 1.2.10-18
    ii libgtk1.2-common 1.2.10-18

    but it seems to not notice that.

    Do you have any ideas what may be wrong?
    Tx in advance!

    Posted 24 Jun 2006 at 11:34 am
  7. Base Zero wrote:

    I upgraded my CUPS to 1.2 today, and had a bit of trouble with getting the ML-2010 to work with it. Given my other issues with this printer, I thought I would expound on how I fixed yet another problem with this semi-supported printer.
    The Samsung prin

    Posted 27 Jun 2006 at 11:25 am
  8. J向前冲~ wrote:

    thanks to Borys Musielak,这是Borys Musielak写的一篇文章,我把它尝试翻译成了中文

    Borys Musielak在文中详细说明了选择Kubuntu的原因,以及配置完整的Flash/Java/多媒体支持的过程

    原文链接:
    [URL=http://en.jakilinux.org/linux/ubuntu/kubuntu-606-on-athlon-6 ...

    Posted 06 Aug 2006 at 6:10 am
  9. jscastor wrote:

    THANK YOU!! I ‘ve FINALLY got my ML-1710P to work under Gentoo AMD64!! Woooooopie!!

    Posted 16 Aug 2006 at 10:30 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *