Lexmark x1240 meet Ubuntu – play nice

I have an old Lexmark 3-in-one scanner/copier/printer and it’s been sitting on my desk collecting dust. I finally had a use for it today as I needed to scan something. I know that Lexmark printers are notorious for being unfriendly to Linux, so I did some searching before plugging the printer in.

Everywhere I looked showed that there is no scanning support for the Lexmark as they refuse to release any source code for their print drivers, and the only binaries they offer are for print functionality only.

Well I remembered that I had previously installed XSane (though for some reason I cannot remember why), so I figured I’d just mess around and see what happens.

I plugged in the Lexmark X1240 to my USB port and right away XSane kicked into gear! It gave me two options: eithe I just plugged in a camera or a scanner. Obviously it was the latter. I clicked scanner and bingo! I was in business! I hit scan and like magic it was done in no time!

The default file format is pnm so I just converted to png and I was done!

I’ll try to put pics up later.


Alex is a professional web and mobile developer. He loves spending time with his wife and kids, and is still very much a kid at heart. He enjoys reading comic books, watching TV/Movies, playing video games, playing with action figures and Legos.

More Posts - Website - Twitter - LinkedIn - Google Plus

Related posts:

7 thoughts on “Lexmark x1240 meet Ubuntu – play nice”

  1. Hey, I think your blog might be having browser compatibility issues. When I look at your website in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, awesome blog!

    1. Hey Rusty, thanks for the comment. I did just make a slight change to my template and had not yet tested in IE7 or IE9 (I ignore anything older than IE7 as it’s just too much for me to bother with). Which version of Internet Explorer are you using? I just checked in IE8 and everything works/looks fine. However, if I switch to IE7 or IE8 Compatibility Modes it is a bit off. I will try to account for this.

      Thanks again.

  2. I do love the manner in which you have presented this specific issue plus it does offer me a lot of fodder for consideration. However, because of what precisely I have witnessed, I just simply trust as the responses stack on that individuals remain on issue and don’t embark on a soap box of some other news du jour. Anyway, thank you for this outstanding piece and although I can not concur with this in totality, I value your viewpoint.

  3. Alex – Awesome stuff here. I was also gifted a Lexmark x1240 that has been collecting dust. How did you get it to print? I am currently running Ubuntu 12.04. Thanks!

    1. Hey Craig,

      Thanks for the comment. I wrote that post a long time ago and have since moved on to a different printer. I believe I used XSane to get it to work. If I still had the printer I’d try to hook it up and see what is needed to get it going, but unfortunately I do not have it anymore. Best of luck!


Leave a Reply

Your email address will not be published. Required fields are marked *