I'm new to linux and I know nothing about coding and using the terminal. I searched google for a way to connect Samsung M2020 printer to my computer running ubuntu but i didn't find. What should I do now?


4 Answers 4


Open gnome-terminal via Ubuntu dash or via shortcut ctrl+alt+t and paste following commands:

  1. Download driver from Samsung site (link is dead, download the linux version from http://www.samsung.com/levant/support/model/SL-M2020/SAU)

    wget 'http://org.downloadcenter.samsung.com/downloadfile/ContentsFile.aspx?CDSite=UNI_LEVANT&CttFileID=5999976&CDCttType=DR&ModelType=N&ModelName=SL-M2020&VPath=DR/201503/20150311160833703/ULD_v1.00.35.tar.gz'
  2. Unpack it

    tar zxvf ULD_v1.00.35.tar.gz
  3. Install driver, with sudo command you need to enter your root password.

    sudo ./uld/install.sh
  4. Now, you should be able to to add your printer via Printers program. Add it as network printer or simply plug it in via USB and it should work.

  • Thank you very much it worked as said, but I can't print on both sides of the paper! the option is disabled how could i enable it? Jul 8, 2015 at 21:13
  • I don't have any printer installed for now, so i can't check it. Try to find some option in Printer preferences. You can also try execute lpoptions -l | grep -i duplex. It should print state of duplex mode in your system. link check this answer for mode details
    – Invidian
    Jul 8, 2015 at 22:46
  • 2
    New link for download after HP acquisition of Samsung Printers: support.hp.com/us-en/drivers/selfservice/…
    – jamadagni
    May 19, 2018 at 12:40
  • 1
    I'm grateful that the driver works, but I'd like to know what it has installed and where without having to inspect the installation scripts.
    – Alex
    Aug 29, 2019 at 11:29
  • 2
    This helped! One additional issue was - I added printer to Ubuntu before installing the driver. Then after driver installation I had to first remove the printer from Ubuntu and re-add it for it to work Apr 10, 2020 at 8:06

Download Linux driver: http://downloadcenter.samsung.com/content/DR/201510/20151028115008613/uld_v1.00.36_00.91.tar.gz

Go to http://localhost:631/admin to add the printer using cups web-based manager. Administration > add printer. Follow the steps until ending up with the question where to find the correct ppd file.

Now, extract the file downloaded in the first step and navigate using the cups admin panel's ppd browse button for the following file: ~/Downloads/samsungm2020_driver/noarch/share/ppd/Samsung_M2020_Series.ppd


Good Luck!

  • I'd like to add that the latest Samsung drivers (uld_V1.00.39_01.17) from the HP website did not work for me. So make sure you download the driver as mentioned in this answer (uld_v1.00.36_00.91). That one made it work instantly, even configured over a network. No need to enter the CUPS interface, just run sudo ./install.sh.
    – wout
    Nov 29, 2018 at 19:26

If you need a model which is slightly different from the M2020 (mine was M2026), the samsung printers support is now being done by hp.com: http://www8.hp.com/us/en/printers/samsung.html

for checking your model direct: https://support.hp.com/us-en/drivers/printers

  • I really appreciate this information. I also have the M2026 printer and this driver works the best.
    – rocksteady
    Jul 7, 2018 at 13:23

Download the driver from this link, https://support.hp.com/us-en/drivers/selfservice/samsung-xpress-sl-m2010-laser-printer-series/16462586

Extract it to the home folder.
In terminal run

sudo su
sudo ./uld/install.sh     

then when the printer is connected, Linux Mint will find drivers and install the printer, probably ubuntu is the same

Note: If the printer is already installed with wrong drivers you need to delete them first for this to work.
This just worked for me on 01/04/2024.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .