Trouble adding Canon printer to HP laptop

joe52's picture

Forums: 

In the latest Jessie, I need to add my Canon MG2100-series printer to my HP 6530b laptop.

I went to 'system settings,' 'print configuration,' 'add printer,' and a window says this:
There was an error during the CUPS operation: 'cups-authentication-canceled'

Then a new window shows, a column and a row, the left column says 'other' highlighted, and the right row says 'URI.'

Do I input a URI of /dev/usb/lp0 or something like that? That input and the 'forward' button doesn't highlight.

That's in KDE. In Gnome, the window reads a printer as a MG2100-series, but an installation window appears and disappears very quickly.

In KDE it says the user needs to be in the lp or lpadmin group. In Wheezey, I thought the user group could add groups to a user, but in my Jessie, I can only change my password in the user window.

What can I do to add the printer?

Printer authentication problems

IntnsRed's picture

Printers are way more complicated than they should be. Much of this is due to the "root - normal user" dynamic -- a truly double-edged sword, meaning that if you make it "easy" security goes into the toilet, and if you make it secure then you get headaches like you're running into.

It sounds as if you're getting authentication problems. I'll describe the way I set up printers on my KDE-based desktop, and I'm guessing that'll work for you.

The key is SSH and the program "system-config-printer" (you may have to install that).

First, logged in as your regular/normal user, open a command line prompt and run "ssh -X root@localhost". Then give your root password. This will redirect all GUI programs to your X desktop and will solve the authentication issues. From that terminal/shell, you can run any GUI program as the root user and have it appear sanely on your desktop.

The various desktops try to do this with various authentication schemes, but IMO they suck. Sometimes they work, sometimes they don't; sometimes they remember the password, sometimes they don't, etc. With this SSH terminal trick, everything works.

Then just run "system-config-printer". You'll get a little GUI widget to configure your printer and since it is being run as the root user there will be no authentication problems.

> Do I input a URI of /dev/usb/lp0 or something like that?

That depends on how the printer is connected to the computer. Is it connected via an ethernet cable and using an IP address (my favorite)? Or is it connected via USB (which it sounds like from your description)?