This is a short guide to keep track on how to setup this damn printer π
The driver can be downloaded here: https://ftp.hp.com/pub/softlib/software13/printers/SS/SL-M4580FX/uld_V1.00.39_01.17.tar.gz
Uncompress the file and run the install script:
tar xvzf uld_V1.00.39_01.17.tar.gz
cd uld
sudo ./install.sh
You might already get your printer detected in the printer section of your system settings but you MUST define a PPD
file otherwise you will only get weird characters to be printed and some blank pages...
Using your default printer setting interface, go into your printer properties or parameters and search for an option to select a PPD
file or a driver list. Once done, you might see a constructor list and printer models:
- Select
SAMSUNG
- Select your printer model
- Apply / Load file
Search for printing a test page, if you don't have weird characters printed then you should be able to print without any issues.
If your printer is not already detected because you're using it over network, comment then I'll try to help you, there is many different way to get it connected and it change from your ubuntu version.
With the Samsung driver, there is binary file named smfpnetdiscovery
. This could help to see if your printer is deteced over the network:
cd /opt/smfp-common/printer/bin
./smfpnetdiscovery
network socket://x.x.x.x "Samsung C48x Series" "Samsung C48x Series on x.x.x.x" "MFG:Samsung;CMD:SPLC,PCL6,PS3,URF,FWV,PIC,EXT,SPDS;MDL:C48x Series;CLS:PRINTER;CID:SA_SPLV5_COLOR;MODE:SCN,SPL5,R000102,SCP;"
network ipp://x.x.x.x "Samsung C48x Series" "Samsung C48x Series on x.x.x.x" "MFG:Samsung;CMD:SPLC,PCL6,PS3,URF,FWV,PIC,EXT,SPDS;MDL:C48x Series;CLS:PRINTER;CID:SA_SPLV5_COLOR;MODE:SCN,SPL5,R000102,SCP;"
This is the most difficult part but after some Googlefu
I've found a solution that worked right away!
You will need to recreate symlinks of SANE
drivers that way:
sudo ln -sfvn /opt/smfp-common/scanner/lib/libsane-smfp.so.1.0.1 /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1.0.1
sudo ln -sfvn /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1.0.1 /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
sudo ln -sfvn /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1 /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so
Install the missing package:
sudo apt install libusb-0.1-4
Now test if your scanner is detected:
scanimage -Lv
device `smfp:net;x.x.x.x' is a Samsung C48x Series on x.x.x.x Scanner
If you have the same result then it should work on applications like Simple Scan
or Xsane
.
If the previous method does not work for you, you might want to try this one:
- Edit the file named
/etc/sane.d/xerox_mfp.conf
- Search the Samsung section (search for your model or create a new one)
- Add this line:
tcp IP [port]
sudo nano /etc/sane.d/xerox_mfp.conf
tcp x.x.x.x [port]
Save the file and retry the detection, this should display on success:
scanimage -Lv
device `xerox_mfp:tcp x.x.x.x' is a Samsung C48x Series multi-function peripheral
I don't use this USB
mode but I've found that you may have some trouble and the best workaround would be this one:
echo "SANE_USB_WORKAROUND=1" | sudo tee -a /etc/environment
You can test it before applying system-wide that way:
export "SANE_USB_WORKAROUND=1" scanimage -Lv
If your scanner is detected then you can modify /etc/environment
as explained above.
- https://help.ubuntu.com/community/ScanningHowTo
- https://askubuntu.com/questions/969238/samsung-m2070w-scanner-no-longer-working-in-17-10/1049992#1049992
- https://askubuntu.com/questions/969238/samsung-m2070w-scanner-no-longer-working-in-17-10/975485#975485
- https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1741977
- https://support.hp.com/ca-en/drivers/selfservice/samsung-xpress-sl-c480-color-laser-multifunction-printer-series/16462546/model/16462554
The tests was done on POP!_OS which is an Ubuntu 18.04 based distrib.
Feel free to comments in case of issues or to improve this gist.