Samsung ML-2240
Installation of Samsung ML-2240 drivers on Gentoo Linux
- install cups on server with:
emerge cups
- Use version 1.3 and not 1.4 because the version 1.4 fails with the Samsung ML 2240 printer (prints one page and then will not print another one until you wait a long time (10-15 minutes) or switch the printer off/back on or disconnect/reconnect the USB cable.
- CUPS Version 1.3 requires the module usblp in the kernel or loaded as a module
- CUPS Version 1.4 requires the module usblp to NOT BE in the kernel and not loaded as a module
- get the ML-2240 drivers from the samsung website http://www.samsung.com/us/support/search/supportSearchModelResult.do?menu=SP00&searchWord=ml2240&searchInputBox=ml+2240&find_button=
- extract the Unified Drivers package into /tmp
- copy the filters from
(cdroot)/Linux/i386/at_root/usr/lib/cups/filter/
to
/usr/lib/cups/filter/
AND to
/usr/libexec/cups/filter/
copy the mfp from
(cdroot)/Linux/i386/at_root/usr/lib/cups/backend/
to
/usr/lib/cups/backend/
AND to
/usr/libexec/cups/backend/
copy the libmfp* from
(cdroot)/Linux/i386/at_root/usr/lib/
to
/usr/lib
and run ldconfig to reload the libraries
copy the PPD file from
(cdroot)/Linux/noarch/at_opt/share/ppd/ML-2240spl2.ppd
to
/usr/share/cups/model/
- Final configuration settings
- For CUPS 1.3 you probably also need to edit the /etc/cups/mime.types and /etc/cups/mime.convs to allow application/octet-stream data
- For CUPS 1.3 you probably also need to edit /etc/cups/cupsd.conf to add the following lines within each <Location> sections:
Allow localhost Allow @LOCAL
- Start (or restart) cupsd
/etc/init.d/cupsd start
- Set up the printer locally on the CUPS interface
http://server.frozenkiwi.net:631/
- set cups to autostart:
rc-update add cupsd default
- setup the mac : http://localhost:631/
- create the new printer as: ipp://server.frozenikiwi.net/printer/printername
- test & enjoy
NOTES
- you do not need to enable (and should even disable) cups-lpd in /etc/xinetd.d/