0

Did anyone make Samsung M2070FW All-in-one's scanner work over the network? I'm in my local network in my house. I use Kubuntu 18.04. The printer is connected directly to the router via RJ45 cable, it has static IP. I installed the official drivers from the HP website - I could add a printer over the network but I can't seem to figure out the way I could make scanning work as well. I know that there are solutions involving sane but I believe there are much simpler methods out there.

  • Please edit your question to clarify if the printer/scanner is being used wirelessly or attached to your router by USB cable or similar. – chili555 Feb 6 at 22:50
  • @chili555 please find my edited question – Colonder Feb 6 at 22:52
  • I know precisely nothing about scanners. I suspect, based on my zero experience, that sane is required, however. – chili555 Feb 6 at 23:24
  • Scanning typically does NOT work over the network. Some semi-pro or pro MFPs can save the scanned image to a previously configured network share. This is not the same as using a local app to scan from a network connected device. – GabrielaGarcia Feb 7 at 2:24
  • 1
    My printer/scanner Samsung M2070 is connected through Wi-Fi, and my Ubuntu is 18.04 (Bionic) I have found a tutorial in french: doc.ubuntu-fr.org//tutoriel/installer_imprimante_samsung The main point is to edit 2 files, so as to add the following: /etc/sane.d/xerox-mfp.conf #Samsung M2070 Series usb 0x04e8 0x3469 tcp 192.168.1.35 (the ip address of the printer/scanner) /lib/udev/rules.d/60-libsane1.rules # Samsung M2070 ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3469", ENV{libsane_matched}="yes" – Dominik Cornice Feb 7 at 15:22
4

I installed the scanner for Samsung-M2070FW on several devices with Ubuntu 18.04. Of course both devices (printer/scanner and Ubuntu client) had to be in the same network. Here is how I did it:

  1. Download UnifiedLinuxDriver-1.00.37 from https://www.bchemnet.com/suldr/suld.html

  2. Extract archive and go to script folder: cd UnifiedLinuxDriver-1.00.37/uld/

  3. Call install script with sudo ./install Answer questions with "Yes"

  4. Install Libusb: sudo apt install libusb-0.1-4

  5. Link Libsane-Library from the installed archive to the right place: sudo ln -s /opt/smfp-common/scanner/lib/libsane-smfp.so.1.0.1 /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1

  6. Change Firewall rules and restart services:

    sudo ufw allow 22161
    sudo service ufw stop
    sudo service saned stop
    sudo service ufw start
    sudo service saned start```
    
  7. Start scan program with simple-scan

If it doesn't work for some reasons, there are debugging options. For Simple Scan, you can call it with debugging on: simple-scan -d. To see the error messages from Sane, you start it with: sudo export SANE_DEBUG_DLL=255 && scanimage -L > debug.txt That will dump the debug information in a file called debug.txt.

  • What does sudo ufw allow 22161 do? It opens some port in the firewall but what does this port do? – Colonder Feb 20 at 17:18
  • I'm not sure :) I analyzed the traffic from the printer. But I googled now and found this: "Scanner can not be found via network: For some Linux distributions, strong firewall is enabled and it may block our installer from opening necessary port for searching network devices. In such case, open snmp port - 22161 manually or disable the firewall temporarily while using the device." source – lifeonmars Feb 22 at 9:27
3

My printer/scanner Samsung M2070 is connected through Wi-Fi, and my Ubuntu is 18.04 (Bionic). I have found a tutorial in french:

http://doc.ubuntu-fr.org//tutoriel/installer_imprimante_samsung

The main point is to edit 2 files, so as to add the following:

  1. /etc/sane.d/xerox-mfp.conf

    # Samsung M2070 Series

    usb 0x04e8 0x3469

    tcp 192.168.1.35 (the ip address of the printer/scanner)

  2. /lib/udev/rules.d/60-libsane1.rules

    # Samsung M2070 ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3469", ENV{libsane_matched}="yes"

  • I have another computer running 14.04 on the same LAN. I had absolutely nothing to do to have it scan with the same printer/scanner. – Dominik Cornice Feb 9 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.