Page 1 of 1

unable to add printer

Posted: Wed Jul 01, 2020 12:40 am
by Gladeous
Had added it a day before. Today in advance marked don't save any jobs. Later noticed printer not listed. Now no option to add printer. I try to add a printer and get message printing service not available. Start the service on this computer or another server. Try to connect and get failed to connect to server

In terminal pasted sudo apt-get install cups
cups is already the newest version (2.2.7-1ubuntu2.8).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

In terminal pasted sudo apt-get update && sudo apt-get upgrade
Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

sudo apt-get install --reinstall cups
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

sudo /etc/init.d/cups restart
[ ok ] Restarting cups (via systemctl): cups.service.

sudo service smbd start
Failed to start smbd.service: Unit smbd.service not found.

sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
cp: cannot stat '/etc/cups/cupsd.conf.default': No such file or directory

Re: unable to add printer

Posted: Wed Jul 01, 2020 1:08 am
by silvatech
Try setting it up directly through cups in the browser. I alot of times find that works best. http://127.0.0.1:631/