Samsung ML-2240

De FrozenWiki
Révision datée du 29 avril 2010 à 21:28 par Shelob (discussion | contributions) (Page créée avec « = 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 th… »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

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
  • 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/