Samsung M2020 on Ubuntu
Open gnome-terminal via Ubuntu dash or via shortcut ctrl+alt+t and paste following commands:
-
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'
-
Unpack it
tar zxvf ULD_v1.00.35.tar.gz
-
Install driver, with sudo command you need to enter your root password.
sudo ./uld/install.sh
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.
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
Done.
Good Luck!
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