I recommend using CUPS to install the printer:
Visit http://localhost:631/admin/ in Firefox (it will NOT work in Chrome -> see cannot configure CUPS on elementary OS juno
Click on Add Printer
Login with your elementary OS user and password
Choose your printer's connection protocol
Type your printer's path in the Connection filed
Click on ...