Unable to set up a Canon Maxify MB5020 printer

Asked by ealthuis

On a fresh install of Ubuntu 19.04 Cannot install the printer:

The trouble shooting in printer help shows this:

Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7f7644043438>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7f7644050a58>):
{'cups_dest': <cups.Dest Canon_MB5000_series>,
 'cups_instance': None,
 'cups_queue': 'Canon_MB5000_series',
 'cups_queue_listed': True}
Page 3 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7f7644050a20>):
{'is_cups_class': True}
Page 4 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7f7644043c50>):
{'printer_is_remote': False}
Page 5 (<troubleshoot.Locale.Locale object at 0x7f7635a50898>):
{'printer_page_size': None,
 'system_locale_lang': None,
 'user_locale_ctype': 'en_CA',
 'user_locale_messages': 'en_CA'}

When using the printer install GUI, it asks for user name and password, no matter what I enter, it is refused.
name and password of the router, name and password of the printer and finally my user name and password.

All to no avail. would like some help with CUPS where the problem seems to start.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu lubuntu-meta Edit question
Assignee:
No assignee Edit question
Solved by:
ealthuis
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How are you attempting to install the driver? What steps do you take, please?

Revision history for this message
ealthuis (ealthuis) said :
#2

In the 19.04 (cinnamon) menu I open Printers, there I click on add, in select device I click on Network Printer, my printer shows as Canon MB5000(192.168.0.1), I click on that and get "IPP network printer via DNS-SD" I the click on forward, next screen has "New Printer" and wants to know where it is "Human-readable location such as 'Lab 1'" Enter "office", then click on apply and get this answer:

  " CUPS server error
There was ah error during the CUPS operation: 'server-error-internal error'.

                                OK"

Then back to the New Printer screen. I changed the name of the printer and the same error came back.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Did you install a Driver for that printer?
I assume you need cnijfilter2-source-5.00-1.tar.gz

Revision history for this message
ealthuis (ealthuis) said :
#4

Yes I did, and in fact on another laptop (System76Darter Pro) that worked just fine. So I tried that on the desktop and it could not find the printer. I am wondering if I am being stymied by the firewall?? I am using WiFi on the laptops, but wired on the desk tops.

Revision history for this message
ealthuis (ealthuis) said :
#5

After installing (again) the Canon driver, I got this CUPS error:

There was an error during the CUPS operation:'Success'.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

What has this to do with lubuntu-meta, that you have selected that as the affected package?

Revision history for this message
ealthuis (ealthuis) said :
#7

Because I am at an absolute loss:

On the old laptop I get as far as the username and password and no matter what I use if fails. It obviously connected to the Printer want the user (ME) password and fails. On desktop 10.04 it does not even find a driver.

I have a problem, I cannot find an answer and I do not know what package to blamebut I would appreciate some suggestions, the info I provided is all I can do.

Revision history for this message
ealthuis (ealthuis) said :
#8

That was 19.04, not 10.04

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

Basic diagnostic commands - what is the output of the commands:

uname -a
lsb_release -crid
groups

What kind of prompt is that where you should enter username and password? (Details, please!)

Revision history for this message
ealthuis (ealthuis) said :
#10

ea@vostro:~$ uname -a
Linux vostro 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
ea@vostro:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Pop!_OS 18.04 LTS
Release: 18.04
Codename: bionic
ea@vostro:~$ groups
ea adm sudo
ea@vostro:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

Run:

sudo usermod -a -G lp $USER

Log off and log on again. This should help

Revision history for this message
ealthuis (ealthuis) said :
#12

did as suggested , same error:

Not authorized, The password may be incorrect.

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

If you want to __use__ a printer, you need to be member of the "lp" group.
If you want to __administer__ printers, you need to be member of the "lpadmin" group

sudo usermod -a -G lpadmin $USER

Log off and log on again, and then try once more.

Revision history for this message
ealthuis (ealthuis) said :
#14

From all of the above questions and answer it appears, that the problems lie with one of these three:

CUPS

Groups

Firewall

Let's tackle CUPS first
I will open a new question

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

Why do you want to create an additional question?
Just re-assign this one to cups in Ubuntu.

Revision history for this message
ealthuis (ealthuis) said :
#16

I was hoping to make a shorter file and maybe finding a bug in CUPS.

Now I after "usermod lpadmin", on both computers with the CUPS problem, get the CUPS error "server-error-internal-error" on both computers.

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

Please explain the setup of your systems.
How is the printer connected?
What do you get when you open http://localhost:631 with a web browser (on all involved systems)?

Revision history for this message
ealthuis (ealthuis) said :
#18

I have 2 laptops (WiFi), 4 desktops (wired to router), Printer is WiFI connected to the router also. One desktop is USB connected to the printer, the others go through the router. I also use NFS to access files on one of the computers acting as a NAS. The Firewall has to be set to allow access.

http://localhost:631:

CUPS 2.2.7

CUPS is the standards-based, open source printing system developed by Apple Inc. for macOS® and other UNIX®-like operating systems.
CUPS for Users

Overview of CUPS

Command-Line Printing and Options

User Forum

The other laptop same response same as above, 2 of the desktops show CUPS 2.2.10.
the final two desktops are not in daly use.

Revision history for this message
ealthuis (ealthuis) said :
#19

It gives me great pleasure, to report that I found and fixed the problem of matching computer to printer.

I still had one laptop with the printer working, so I looked at the properties of the printer and found the URL. I copy and pasted it to set up on another laptop as well as a desktop. within 15 minutes I printed a test page from both computers.

Again Thank you for your attention to this problem, it is now solved.