Setting up a Canon printer on Linux Mint 20.1 [SOLVED]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

benji88i wrote: Wed Jun 23, 2021 6:46 am Yes thats what I though but how come the scanner works?
Pass. Please give

Code: Select all

avahi-browse -rt _ipp._tcp

Code: Select all

avahi-browse -rt _uscan._tcp
Does

Code: Select all

lsusb
show the Canon?
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

brian_p wrote: Wed Jun 23, 2021 7:50 am
benji88i wrote: Wed Jun 23, 2021 6:46 am Yes thats what I though but how come the scanner works?
Pass. Please give

Code: Select all

avahi-browse -rt _ipp._tcp

Code: Select all

avahi-browse -rt _uscan._tcp
Does

Code: Select all

lsusb
show the Canon?
Hi there Brian

Sorry for the delay.

Can you see the attachments.

I have just been told the scanner isn't actually working, so scanner and printer do not work
Attachments
cropped-20-17.jpg
Screenshot from 2021-06-24 22-20-58.png
Screenshot from 2021-06-24 22-28-54.png
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

Progress! The three attachments show a successful connection to USB. (BTW, information as text is better than as screenshots).

Now give

Code: Select all

dpkg -l ippusbxd

Code: Select all

dpkg -l ipp-usb
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

brian_p wrote: Fri Jun 25, 2021 5:37 am Progress! The three attachments show a successful connection to USB. (BTW, information as text is better than as screenshots).

Now give

Code: Select all

dpkg -l ippusbxd

Code: Select all

dpkg -l ipp-usb
Hi Brian,

Sorry for the delay as I need to wait quite a while to speak to them for time difference.

Please see the attached outputs in this post below

I am unsure if we installed the drivers correctly from Canon, perhaps we can check that?
Attachments
dpkg-l.png
dpkg-lusb.png
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

benji88i wrote: Sat Jun 26, 2021 12:28 am
I am unsure if we installed the drivers correctly from Canon, perhaps we can check that?
ipp-usb is installed. It should provide a better experience for your user with printing and scanning, so I would rather continue with it on the system. Let's try scanning first.
  • Disconnect the Canon from USB and power it off.
  • Install sane-airscan.
  • Power the Canon on and connect to USB.
  • The ipp-usb service needs to be active. Check with

    Code: Select all

    systemctl status ipp-usb.
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

Hi there Brian,

Just to check before I tell the user, to install the sane-airscan

It should be entered into the terminal as

sudo apt install sane-airscan


Is that correct?
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

benji88i wrote: Sat Jun 26, 2021 10:37 am Hi there Brian,

Just to check before I tell the user, to install the sane-airscan

It should be entered into the terminal as

sudo apt install sane-airscan


Is that correct?
Correct.
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

brian_p wrote: Sat Jun 26, 2021 10:50 am
benji88i wrote: Sat Jun 26, 2021 10:37 am Hi there Brian,

Just to check before I tell the user, to install the sane-airscan

It should be entered into the terminal as

sudo apt install sane-airscan


Is that correct?
Correct.
Hi Brian please see the output screenshots

Sorry I could get the out copy and pasted from the user.


Hope it helps
Attachments
Screenshot from 2021-06-27 18-49-23.png
Screenshot from 2021-06-27 18-51-01.png
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

benji88i wrote: Sun Jun 27, 2021 9:55 am
Hi Brian please see the output screenshots

Sorry I could get the out copy and pasted from the user.
Not to worry, benji88i; the screenshots are informative. Both show ipp-usb is active. That is very encouraging. Unforunately, there is nothing for

Code: Select all

scanimage -L
and

Code: Select all

airscan-discover
Any chance of having the outputs? Sorry to be so persistent, but I am not going to guess.
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

brian_p wrote: Sun Jun 27, 2021 2:39 pm
benji88i wrote: Sun Jun 27, 2021 9:55 am
Hi Brian please see the output screenshots

Sorry I could get the out copy and pasted from the user.
Not to worry, benji88i; the screenshots are informative. Both show ipp-usb is active. That is very encouraging. Unforunately, there is nothing for

Code: Select all

scanimage -L
and

Code: Select all

airscan-discover
Any chance of having the outputs? Sorry to be so persistent, but I am not going to guess.

Hi Brian,

Done as requested.

Please see the attachments.

Seems to be connected.
Attachments
Screenshot from 2021-06-28 14-39-38.png
Screenshot from 2021-06-28 14-40-37.png
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

We have lift-off, benji88i!

Does scanning take place with

Code: Select all

simple-scan "airscan:e0:Canon TR4500 series (USB)"
(Please check the second screenshot for any typos).
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

brian_p wrote: Mon Jun 28, 2021 5:47 am We have lift-off, benji88i!

Does scanning take place with

Code: Select all

simple-scan "airscan:e0:Canon TR4500 series (USB)"
(Please check the second screenshot for any typos).

Okay great news the scanner is working Yay!

Your the best Brian thanks a lot.

The user said the below comments in underline and bold:

Yay!. It did scan. Thanks for that.
I placed a document onto the glass part of printer and it scanned.
However it does not scan if i feed the document into the feeder. it makes the sound like it is scanning but it dosent physically feed the document through the feeder to scan it ,which i was able to do in the past.

Regarding the printing , i tried to print, and an automatic prompt appears which says 'printing cancelled'.

We are getting there of which i am grateful.



Okay regarding the feeder issue I told her to change the option to "all documents in feeder" and it should work now. I'll let you know.


So with the printing is it the driver now installed correctly? I'm quite sure you said it is installed correctly a while back.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

benji88i wrote: Mon Jun 28, 2021 9:15 am
Okay great news the scanner is working Yay!
Splendid. Note that imple-scan has a drop-down menu at the centre of the page. The scanner can be accessed with the same URI from there.

Okay regarding the feeder issue I told her to change the option to "all documents in feeder" and it should work now. I'll let you know.
I do not have an adf to test with. If I did, I would try

Code: Select all

sudo scanimage -d "airscan:e0:Canon TR4500 series (USB)" -batch --format=jpeg
So with the printing is it the driver now installed correctly? I'm quite sure you said it is installed correctly a while back.
I don't think I said that. For printing with the ipp-usb setup the user first needs to execute

Code: Select all

driverless
It gives a URI that has to be substituted for URI in

Code: Select all

lpadmin -p tr4500 - v "URI" -E -m everywhere
Test with

Code: Select all

lp -d tr4500 /etc/nsswitch.conf
Last edited by brian_p on Tue Jun 29, 2021 9:00 am, edited 1 time in total.
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

brian_p wrote: Mon Jun 28, 2021 1:00 pm
benji88i wrote: Mon Jun 28, 2021 9:15 am
Okay great news the scanner is working Yay!
Splendid. Note that imple-scan has a drop-down menu at the centre of the page. The scanner can be accessed with the same URI from there.

Okay regarding the feeder issue I told her to change the option to "all documents in feeder" and it should work now. I'll let you know.
I do not have an adf to test with. If I did, I would try

Code: Select all

sudo scanimage -d "airscan:e0:Canon TR4500 series (USB)" -batch --format=jpeg
So with the printing is it the driver now installed correctly? I'm quite sure you said it is installed correctly a while back.
I don't think I said that. For printing with the ipp-usb setup the user first needs to execute

Code: Select all

driverless
It gives a URI that has to be substituted for URI in

Code: Select all

lpadmin -p tr4500 - v URI -E -m everywhere
Test with

Code: Select all

lp -d tr4500 /etc/nsswitch.conf

Hi Brian,

Please see the attached screenshots from the user. I hope it helps.

Sorry I'm so inexperienced with Linux command line. I really want to do a course on the learning the bash script
Attachments
IMG_20210629_223534.jpg
IMG_20210629_223609.jpg
IMG_20210629_223441.jpg
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

lp: No such file or directory
means that the print queue doesn't exist. The lpadmin command hasn't worked. This is my fault :( . I remembered to do it for the scanner URI but not for the printer one.

The URI from the driverless command is fine but, because of the ( and the ) it has to be put in double quotes when the substitution is made. I have edited my previous post to show that.
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

HI Brian,

Thanks for checking,

Actually I tried to see the change in your previous post but it looks the same.

What command(s) should we enter.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

benji88i wrote: Tue Jun 29, 2021 9:59 am HI Brian,

Thanks for checking,

Actually I tried to see the change in your previous post but it looks the same.

What command(s) should we enter.

Code: Select all

lpadmin -p tr4500 - v "URI" -E -m everywhere
Not the double quotes. URI is what is obtained from the driverless command.
--
Brian.
benji88i
Level 2
Level 2
Posts: 55
Joined: Sat Jan 16, 2021 11:07 am

Re: Setting up a Canon printer on Linux Mint 20.1

Post by benji88i »

brian_p wrote: Tue Jun 29, 2021 11:35 am
benji88i wrote: Tue Jun 29, 2021 9:59 am HI Brian,

Thanks for checking,

Actually I tried to see the change in your previous post but it looks the same.

What command(s) should we enter.

Code: Select all

lpadmin -p tr4500 - v "URI" -E -m everywhere
Not the double quotes. URI is what is obtained from the driverless command.
Right, thanks for confiming so we should type:

lpadmin -p tr4500 - v ipp://Canon%20TR4500%20series%20(USB)._ipp._tcp.local/ -E -m everywhere


Do I include the ipp:// part as above or simply write


Canon%20TR4500%20series%20(USB)._ipp._tcp.local/


for the "URI" part
nielo
Level 3
Level 3
Posts: 167
Joined: Tue Mar 22, 2011 7:44 pm

Re: Setting up a Canon printer on Linux Mint 20.1

Post by nielo »

I think brian_p meant to say "note" the double quotes, not "not" the double quotes... in which case I believe you should enter

lpadmin -p tr4500 - v "ipp://Canon%20TR4500%20series%20(USB)._ipp._tcp.local/" -E -m everywhere
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Setting up a Canon printer on Linux Mint 20.1

Post by brian_p »

nielo wrote: Wed Jun 30, 2021 4:16 am I think brian_p meant to say "note" the double quotes, not "not" the double quotes... in which case I believe you should enter
Thanks, nielo. "not" was indeed a typo.
lpadmin -p tr4500 - v "ipp://Canon%20TR4500%20series%20(USB)._ipp._tcp.local/" -E -m everywhere
Correct.
--
Brian.
Locked

Return to “Printers & Scanners”