IMPORTANT: If you are connected with WIFI, you need to first install and connect to York VPN (http://vpn.yorku.ca)!
sudo apt-get install smbclient sudo apt-get update sudo apt-get install python3-smbc
Type in print server name (list of printers can be found Herehttps://wiki.eecs.yorku.ca/dept/tdb/services:printers:printers :
smb://pcserver1.eecs.yorku.ca/prt2 (eg. second floor b&w printer - Ricoh 8400)
Authentication:
Select:
'Set authentication details now'
Password: (EECS password)
Username: eecsyorkuca\username
-> Click Forward
/etc/cups/printers.conf and change the line AuthInfoRequired none to AuthInfoRequired username,password then systemctl stop cups systemctl restart cups