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?
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)
tar zxvf ULD_v1.00.35.tar.gz
Install driver, with sudo command you need to enter your root password.
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.
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