![]() Scanner was still not visible.Įventually, I tried to configure the tcp setting in /etc/sane.d/xerox_mfp.conf with printer's IP address and port 9400. SANE (Simple Scan) would not find any scanners.Īfter reading through numerous links and trying various settings (including installing the official Unified Linux driver from the HP/Samsung site, 'uld_V1.00.39_01.17.tar.gz'). Initially, I only set up the network printing (added a printer by its IP using the default Ubuntu's 'Samsung SCX-472x Series PXL' driver). In case anyone tries to setup network (ScanToPC) scanning with a Samsung SCX-4729FW MFP (set up on the network via Wi-Fi) under Ubuntu 18.04. ![]() When running simple-scan -d again now it should say:ĭEBUG: scanner.vala:867: sane_open ("smfp:net 192.168.47.30") -> You might need to reboot or uninstall and install the printer driver again. ![]() Then make sure you edit /etc/sane.d/xerox_mfp.conf and comment out the line mentioning your printer to prevent sane from loading the xerox_mfp driver for it: #Samsung M2070FW You can see this by running simple-scan -d from the command line. If you can now scan with scanimage, but not the GUI version simple-scan, make sure sane is not loading the xerox_mfp driver. load: dlopen() failed (libusb-0.1.so.4: cannot open shared object file: No such file or directory) load: trying to load '/usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1' load: searching backend 'smfp' in '/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane' You see this (only) when running export SANE_DEBUG_DLL=255 & scanimage -L: This is because the Samsung / HP smfp driver needs libsub-0.1-4 to load (while only libusb-1.0-0 is installed). I tried a lot of different things, but the solution in the end was to install libusb-0.1-4. The scanner was detected, and scanimage -L detected the scanner, but when scanning with scanimage -format jpg > test.jpg I got the error message "Not a JPEG file: starts with 0x00 0x00". I had a similar problem with the M2070FW on Ubuntu 19.10. 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. For Simple Scan, you can call it with debugging on: simple-scan -d. If it doesn't work for some reasons, there are debugging options. 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Ĭhange Firewall rules and restart services: sudo ufw allow 22161 Install Libusb: sudo apt install libusb-0.1-4 Here is how I did it:ĭownload UnifiedLinuxDriver-1.00.37 from Įxtract archive and go to script folder: cd UnifiedLinuxDriver-1.00.37/uld/Ĭall install script with sudo. Of course both devices (printer/scanner and Ubuntu client) had to be in the same network. I installed the scanner for Samsung-M2070FW on several devices with Ubuntu 18.04.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |