Skip to content

Instantly share code, notes, and snippets.

@mhorst00
Last active September 9, 2025 17:30
Show Gist options
  • Select an option

  • Save mhorst00/b855169ee30b570bf8fe6e6e638e2b24 to your computer and use it in GitHub Desktop.

Select an option

Save mhorst00/b855169ee30b570bf8fe6e6e638e2b24 to your computer and use it in GitHub Desktop.
Configure Samsung SCX-4x24 AIO on Linux

To configure printing on Linux with a supported driver, go to https://www.openprinting.org/printer/Samsung/Samsung-SCX-4x24 and download the .ppd file for the printer. Install it in Settings -> Printers -> <your printer>.

Getting network-based scanning to work is more difficult. We can use Xerox drivers with this model to enable network scanning. This guide will explain how to configure the Gnome Simple Scan application (https://gitlab.gnome.org/GNOME/simple-scan) for this scanner while using the Flathub version (https://flathub.org/apps/org.gnome.SimpleScan).

  1. Install the flatpak from https://flathub.org/apps/org.gnome.SimpleScan
  2. Install Flatseal to modify flatpak variables in an easy way (https://flathub.org/apps/com.github.tchx84.Flatseal)
  3. Open Flatseal and modify the following settings for org.gnome.SimpleScan:
    • Allow system configurations
    • Environment: SANE_CONFIG_DIR=/run/host/etc/sane.d
  4. Edit /etc/sane.d/xerox_mfp.conf on your host with root rights:
    • Modify SCX-4x24 settings to look like this:
      #Samsung SCX-4x24 Series, Samsung SCX-4824
      usb 0x04e8 0x342c
      tcp <IP address or hostname of your scanner> 9400
      
  5. Ensure the xerox_mfp module is activated in /etc/sane.d/dll.conf. You can also create a drop-in config file in /etc/sane.d/dll.d/<filename> with xerox_mfp as content.
  6. Run scanimage -L to let SANE scan for all available scanners. Your's should now be visible.
  7. Open Document Scanner and test your scanner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment