Linux tip, Fedora tip / howto: Setting up a Samsung ML-2240 laser printer

 
back to notes and tips index

Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.

Setting up a Samsung ML-2240 laser printer

This printer works fine under Linux (using Fedora 8 here) with Cups. This page attempts to be more detailed and to the point than the relevant openprinting database page.

Note that the printer doesn't come with a USB cable, which is strange, since they are relatively cheap. You need a cable like this one ("USB 2.0 Device Cable - USB cable - 4 PIN USB Type A (M) - 4 PIN USB Type B (M)").

You need only two files to get this printer to work, together only 61K in size. You can get them from the CD that came with the printer or from the Samsung website: go to their main site, select Service, Download Centre, type in the model number, select Drivers, and download the Unified Linux Driver (29 MB download!). Alternatively, you can just download them from here:
rastertosamsungspl, and
ML-2240spl2.ppd
(you may have to right-click and select "Save As")

If you're running a 64-bit kernel (type uname -m, it'll say x86_64), then get the 64 bit version of rastertosamsungspl.

As root, copy the first file to /usr/lib/cups/filter, and the second to /usr/share/cups/model
After this, you may also have to do:
chmod 755 /usr/lib/cups/filter/rastertosamsungspl

Make sure cups is running (if not, /etc/init.d/cups start), and point your browser to the CUPS management page at http://localhost:631. On the Home page, select Add Printer. Fill out a name ("ml2240"), location, and description.

On the next page, in the Device drop-down, select "Samsung ML-2240 Series USB #1 (Samsung ML-2240 Series)".

On the next page, even though the ML-2240 is in the list, I still provided the path to the ML-2240spl2.ppd file (not sure if this was really required, but it worked).

Finally, click Add Printer. On the printer info page, you could click "Print Test Page" to see if everything works. The printer itself can also print a test page: hold the Online button for about 5 seconds.

Let me know this worked out for you (see the form below).


← back to notes and tips index
Please do not copy the text of this tip (© Patrick Min) to your web site.