LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2018, 07:36 AM   #1
slockna
LQ Newbie
 
Registered: Jul 2015
Location: Sweden
Distribution: Slackware, zenwalk, debian
Posts: 28

Rep: Reputation: Disabled
CUps and canon MG3550 on wifi, printer not found


i am trying to install canon MG3550 printer using CUPS web interface, but i am stuck. when i try "find new printer" in CUPS it does not show up.

i can ping the printer, and it has the hostname canon.local
Code:
bash-4.4# ping -c4 canon.local
PING canon.local (192.168.35.7) 56(84) bytes of data.
64 bytes from canon.local (192.168.35.7): icmp_seq=1 ttl=64 time=93.6 ms
64 bytes from canon.local (192.168.35.7): icmp_seq=2 ttl=64 time=91.3 ms
64 bytes from canon.local (192.168.35.7): icmp_seq=3 ttl=64 time=11.5 ms
64 bytes from canon.local (192.168.35.7): icmp_seq=4 ttl=64 time=33.7 ms

--- canon.local ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 11.522/57.557/93.624/35.795 ms
bash-4.4# 
bash-4.4# nmap canon.local
Starting Nmap 7.70 ( https://nmap.org ) at 2018-07-17 14:35 CEST
Nmap scan report for canon.local (192.168.35.7)
Host is up (0.040s latency).
Not shown: 997 closed ports
PORT    STATE SERVICE
80/tcp  open  http
515/tcp open  printer
631/tcp open  ipp
MAC Address: 18:0C:AC:48:48:34 (Canon)

Nmap done: 1 IP address (1 host up) scanned in 4.28 seconds
any hints ?

i am trying to use the gutenprint driver first hand...
 
Old 07-17-2018, 04:18 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Maybe this post can help.
 
Old 07-17-2018, 07:45 PM   #3
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
CUps and canon MG3550 on wifi, printer not found

Try adding the printer by IP address using the ipp protocol manually in the cups interface. If cups has the driver and there are no firewalls blocking you it should work.
 
Old 07-18-2018, 02:56 PM   #4
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I have a Canon MG-3650 printer. In order to print via wireless I had to install the proprietary Canon IJ printer driver from the deb package at https://www.canon.co.uk/support/cons...ma_mg3650.aspx. You could try the equivalent for your MG-3550. I used the supplied deb package to make a slackware package and it found the printer automatically without difficulty when adding the printer.

Note that if you are using 64-bit slackware, the precompiled deb package assumes that the two shared library files libcnbpcnclapicom2 and libcnnet2 go in /usr/lib, whereas with slackware64 they need to go in /usr/lib64 (and you need to make symlinks to libcnbpcnclapicom2.so and libcnnet2.so). Also the /usr/lib/cups directory needs to be moved to /usr/lib64/cups. However, /usr/lib/bjlib2 should stay where it is so that it can be found.

The slackware gutenprint driver for the Canon MG-3650 works fine with a USB connector, but I have not managed to get it to work with wireless. I am not sure that the Canon printers use IPP for printing over wireless anyway, but if they do I have not found the key to unlocking them for gutenprint.

Interestingly, xsane finds the printer for scanning documents via wireless without problem, which both surprised and pleased me. (xsane also finds it via the USB connector as well if that is plugged in.)

I am using slackware64-current.

Before trying this in linux you need to have set up the printer on the local network using windows or your mobile phone, but it looks as if you have already done that.
 
1 members found this post helpful.
Old 07-18-2018, 04:41 PM   #5
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisVV View Post
The slackware gutenprint driver for the Canon MG-3650 works fine with a USB connector, but I have not managed to get it to work with wireless. I am not sure that the Canon printers use IPP for printing over wireless anyway, but if they do I have not found the key to unlocking them for gutenprint.
I have accomplished this with Gutenprint and CUPS only. It works with ipp + http.
 
Old 07-18-2018, 06:16 PM   #6
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by PROBLEMCHYLD View Post
I have accomplished this with Gutenprint and CUPS only. It works with ipp + http.
That's good to know, but sparing with its information. What is the ipp/http address/port?
 
Old 07-18-2018, 06:59 PM   #7
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisVV View Post
That's good to know, but sparing with its information. What is the ipp/http address/port?
1. Setup your Wireless Printer and get the IP Address.

2. Connect Printer using USB connection.

3. Install the Gutenprint driver(s).

4. Configure Printer and print test page through USB connection to make sure everything is working.

5. Modify printer settings using the same Gutenprint driver and add hxxp://192.168.0.xx:631/ or ipp://192.168.0.xx:631/ with your ip address.

6. Unplug USB cable.

7. Enjoy your wireless printer with gutenprint and cups.

Last edited by PROBLEMCHYLD; 11-30-2018 at 12:48 PM.
 
2 members found this post helpful.
Old 07-18-2018, 07:08 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,806

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
i am trying to install canon MG3550 printer using CUPS web interface, but i am stuck. when i try "find new printer" in CUPS it does not show up.
That is often the case when a firewall is active and preventing discovery. As the others have ssaid already, that should not stop you from a manual configuration via CUPS web page > 'Administration' > 'Add Printer'
 
Old 07-18-2018, 10:42 PM   #9
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
These instructions should work with all printers as long as you're using the latest Gutenprint and CUPS + CUPS Filter and your printer is included in Gutenprint. Enjoy....

Last edited by PROBLEMCHYLD; 07-18-2018 at 11:18 PM.
 
Old 07-19-2018, 07:41 AM   #10
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by PROBLEMCHYLD View Post
These instructions should work with all printers as long as you're using the latest Gutenprint and CUPS + CUPS Filter and your printer is included in Gutenprint. Enjoy....
Yes it does work. My printer has address 192.168.2.104, and it looks as if my mistake when trying to get it to work before was omitting the trailing '/' from ipp://192.168.2.104:631/, although it is difficult to be certain as it was some time ago.
 
Old 07-19-2018, 07:49 AM   #11
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisVV View Post
Yes it does work. My printer has address 192.168.2.104, and it looks as if my mistake when trying to get it to work before was omitting the trailing '/' from ipp://192.168.2.104:631/, although it is difficult to be certain as it was some time ago.
Discovered this a while ago, seemed no one cared. Glad we can all enjoy wireless printing.
 
Old 07-19-2018, 08:52 AM   #12
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by PROBLEMCHYLD View Post
Discovered this a while ago, seemed no one cared. Glad we can all enjoy wireless printing.
One other thing I have noticed is that you must specify a numeric address (192.168.2.104) and not a name (such as 'canon') given to that address in /etc/hosts. Cups seems to refuse to resolve non-numeric ipp hostnames. There's probably some default "security" setting in cupsd.conf which needs to be changed to get it to look up addresses, but I can't be bothered to find out which it is. Possibly that is also what tripped me up before.
 
Old 07-19-2018, 09:14 AM   #13
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisVV View Post
One other thing I have noticed is that you must specify a numeric address (192.168.2.104) and not a name (such as 'canon') given to that address in /etc/hosts. Cups seems to refuse to resolve non-numeric ipp hostnames. There's probably some default "security" setting in cupsd.conf which needs to be changed to get it to look up addresses, but I can't be bothered to find out which it is. Possibly that is also what tripped me up before.
This is what made me investigate the issue further. Once I got it working didn't matter the name or ip address, I was just happy to have my wireless printer working in Slackware without the headaches. Once I realized the name wasn't accepted, the only other alternative was the ip address and it worked.
 
Old 07-19-2018, 11:15 AM   #14
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
My wireless printer is an old HP Officejet G510 n-z. I have a DHCP reservation on my router that points to the DNS address of hp-printer.local.lan. You want a DHCP reservation otherwise your printer will come up at a different IP address after the DHCP lease expires. Then you will have to add the printer to cups all over again. My router is a raspberry pi running Slackware ARM 14.2. I can refer to my printer by IP address or by hp-printer.local.lan when adding it and everything works as expected.

Maybe it is a lack of features or configuration setting on your router?
 
Old 07-20-2018, 10:14 PM   #15
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by mralk3 View Post
My wireless printer is an old HP Officejet G510 n-z. I have a DHCP reservation on my router that points to the DNS address of hp-printer.local.lan. You want a DHCP reservation otherwise your printer will come up at a different IP address after the DHCP lease expires. Then you will have to add the printer to cups all over again. My router is a raspberry pi running Slackware ARM 14.2. I can refer to my printer by IP address or by hp-printer.local.lan when adding it and everything works as expected.

Maybe it is a lack of features or configuration setting on your router?
Can you post the instructions or file. I do get tired of changing the ip address for the printer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Getting my Canon Pixma MG3550 to work Ramurd Slackware 30 10-28-2023 12:05 AM
printer canon mg3550 pixma no drivers for ubuntu 16.04 ? rapit Ubuntu 1 06-02-2017 03:49 PM
CUPS and Canon printer driving? Novatian Linux - Hardware 1 01-23-2017 10:08 AM
[CUPS][CANON] Configuring printer not working... spiri13 Linux - Newbie 10 10-02-2016 03:07 PM
CUPS and Canon MP190 printer. Print quality and printer sharing... SFGAirborne Linux - Hardware 1 12-14-2010 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration