Canon ip7250 can't print from wifi
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Canon ip7250 can't print from wifi
Hi everyone. I'm new on Linux Mint and i'm trying to solve a problem with my printer in over a week. I have successfully installed my printer which is a canon ip7250 through USB cable and i can print fine. The problem is when i try to print wireless. I have followed the instructions to add a network printer but i always receive an error from cups after the naming of the printer option which says "server error or internal error". Can anyone help?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Canon ip7250 can't print from wifi
Are you trying to install the printer to your local/home network or are you trying to do Wifi-Direct?
Re: Canon ip7250 can't print from wifi
Hi. Let me explain.
I start the application "printers" from the menu. When the window appears i see my printer which was configured through usb but it's not connected now . I press add button to add new printer. A new window appears called "new printer" and from the "select device" panel i choose "network printer". When the option expands it reveals the name and the ip of my printer. i choose it and i t gives me two more options. "IPP network printer via DNS-SD" and "Driverless IPP(ipp/print)". If i choose the first option (IPP network) it searches for drivers and opens a new window for naming the printer but when i press the apply button i receive a "CUPS Server Error". If i choose the second option (Driverless) it goes to the naming window and when i press the apply button i receive the same CUPS server error.
I start the application "printers" from the menu. When the window appears i see my printer which was configured through usb but it's not connected now . I press add button to add new printer. A new window appears called "new printer" and from the "select device" panel i choose "network printer". When the option expands it reveals the name and the ip of my printer. i choose it and i t gives me two more options. "IPP network printer via DNS-SD" and "Driverless IPP(ipp/print)". If i choose the first option (IPP network) it searches for drivers and opens a new window for naming the printer but when i press the apply button i receive a "CUPS Server Error". If i choose the second option (Driverless) it goes to the naming window and when i press the apply button i receive the same CUPS server error.
Re: Canon ip7250 can't print from wifi
i leave the default name that is suggested by the app.
Re: Canon ip7250 can't print from wifi
Even though i am pretty sure that the naming of the printer isn't the problem here, i gave it a go. The same error message appeared.
Re: Canon ip7250 can't print from wifi
You were the one who said
Would you care to indicate where the issue resides?....but i always receive an error from cups after the naming of the printer option...
--
Brian.
Brian.
Re: Canon ip7250 can't print from wifi
Additionally:Would you care to indicate where the issue resides?
The iP7250 has an AirPrint service. It should be shown in the Printers app and by
Code: Select all
avahi-browse -art
--
Brian.
Brian.
Re: Canon ip7250 can't print from wifi
I have the same problem:
avahi-browse -art
output is:
There's a CUPS driver here: https://www.canon-europe.com/support/co ... N&os=LINUX
But when running install.sh I get:
There are no available packages by these names.. I'm going to try the source option.
Edit: the source version gives me trouble:
Installed prerequisits:
Then
failed with
But
worked - now
failed with
avahi-browse -art
output is:
Code: Select all
$ avahi-browse -art
+ wlp5s0 IPv6 Canon iP7200 series Web Site local
+ wlp5s0 IPv4 Canon iP7200 series Web Site local
+ wlp5s0 IPv6 Canon iP7200 series Internet Printer local
+ wlp5s0 IPv4 Canon iP7200 series Internet Printer local
+ wlp5s0 IPv6 Canon iP7200 series _canon-bjnp1._tcp local
+ wlp5s0 IPv4 Canon iP7200 series _canon-bjnp1._tcp local
+ wlp5s0 IPv6 Canon iP7200 series UNIX Printer local
+ wlp5s0 IPv4 Canon iP7200 series UNIX Printer local
= wlp5s0 IPv6 Canon iP7200 series Internet Printer local
hostname = [411824000000.local]
address = [fe80::9e32:ceff:fe41:1824]
port = [631]
txt = ["mac=9C:32:CE:41:18:24" "kind=document,envelope,photo" "PaperMax=legal-A4" "Fax=F" "Scan=F" "Duplex=T" "Color=T" "URF=V1.4,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS20-21" "UUID=00000000-0000-1000-8000-9C32CE411824" "usb_CMD=URF" "usb_MDL=iP7200 series" "usb_MFG=Canon" "adminurl=http://411824000000.local./mainmenu.html" "pdl=application/octet-stream,image/urf,image/jpeg" "product=(Canon iP7200 series)" "ty=Canon iP7200 series" "priority=15" "qtotal=1" "note=" "rp=ipp/print" "txtvers=1"]
= wlp5s0 IPv4 Canon iP7200 series Internet Printer local
hostname = [411824000000.local]
address = [192.168.2.221]
port = [631]
txt = ["mac=9C:32:CE:41:18:24" "kind=document,envelope,photo" "PaperMax=legal-A4" "Fax=F" "Scan=F" "Duplex=T" "Color=T" "URF=V1.4,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS20-21" "UUID=00000000-0000-1000-8000-9C32CE411824" "usb_CMD=URF" "usb_MDL=iP7200 series" "usb_MFG=Canon" "adminurl=http://411824000000.local./mainmenu.html" "pdl=application/octet-stream,image/urf,image/jpeg" "product=(Canon iP7200 series)" "ty=Canon iP7200 series" "priority=15" "qtotal=1" "note=" "rp=ipp/print" "txtvers=1"]
= wlp5s0 IPv6 Canon iP7200 series _canon-bjnp1._tcp local
hostname = [411824000000.local]
address = [fe80::9e32:ceff:fe41:1824]
port = [8611]
txt = ["mac=9C:32:CE:41:18:24" "Fax=F" "Scan=F" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-9C32CE411824" "usb_CMD=" "usb_MDL=iP7200 series" "usb_MFG=Canon" "adminurl=http://411824000000.local." "pdl=application/octet-stream" "product=(Canon iP7200 series)" "ty=Canon iP7200 series" "priority=20" "qtotal=1" "note=" "rp=auto" "txtvers=1"]
= wlp5s0 IPv4 Canon iP7200 series _canon-bjnp1._tcp local
hostname = [411824000000.local]
address = [192.168.2.221]
port = [8611]
txt = ["mac=9C:32:CE:41:18:24" "Fax=F" "Scan=F" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-9C32CE411824" "usb_CMD=" "usb_MDL=iP7200 series" "usb_MFG=Canon" "adminurl=http://411824000000.local." "pdl=application/octet-stream" "product=(Canon iP7200 series)" "ty=Canon iP7200 series" "priority=20" "qtotal=1" "note=" "rp=auto" "txtvers=1"]
= wlp5s0 IPv4 Canon iP7200 series UNIX Printer local
hostname = [411824000000.local]
address = [192.168.2.221]
port = [515]
txt = ["mac=9C:32:CE:41:18:24" "Fax=F" "Scan=F" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-9C32CE411824" "usb_CMD=" "usb_MDL=iP7200 series" "usb_MFG=Canon" "adminurl=http://411824000000.local." "pdl=application/octet-stream" "product=(Canon iP7200 series)" "ty=Canon iP7200 series" "priority=60" "qtotal=1" "note=" "rp=auto" "txtvers=1"]
= wlp5s0 IPv6 Canon iP7200 series UNIX Printer local
hostname = [411824000000.local]
address = [192.168.2.221]
port = [515]
txt = ["mac=9C:32:CE:41:18:24" "Fax=F" "Scan=F" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-9C32CE411824" "usb_CMD=" "usb_MDL=iP7200 series" "usb_MFG=Canon" "adminurl=http://411824000000.local." "pdl=application/octet-stream" "product=(Canon iP7200 series)" "ty=Canon iP7200 series" "priority=60" "qtotal=1" "note=" "rp=auto" "txtvers=1"]
= wlp5s0 IPv6 Canon iP7200 series Web Site local
hostname = [411824000000.local]
address = [192.168.2.221]
port = [80]
txt = ["mac=9C:32:CE:41:18:24" "txtvers=1"]
= wlp5s0 IPv4 Canon iP7200 series Web Site local
hostname = [411824000000.local]
address = [192.168.2.221]
port = [80]
txt = ["mac=9C:32:CE:41:18:24" "txtvers=1"]
+ wlp5s0 IPv4 RT-AC68U-A910 [b0:6e:bf:3e:a9:10] Workstation local
= wlp5s0 IPv4 RT-AC68U-A910 [b0:6e:bf:3e:a9:10] Workstation local
hostname = [RT-AC68U-A910.local]
address = [192.168.2.1]
port = [9]
txt = []
But when running install.sh I get:
Code: Select all
==================================================
Canon Inkjet Printer Driver
Version 3.80
Copyright CANON INC. 2001-2012
All Rights Reserved.
==================================================
Command executed = sudo dpkg -iG ./packages/cnijfilter-common_3.80-1_amd64.deb
Selecting previously unselected package cnijfilter-common.
(Reading database ... 500041 files and directories currently installed.)
Preparing to unpack .../cnijfilter-common_3.80-1_amd64.deb ...
Unpacking cnijfilter-common (3.80-1) ...
Setting up cnijfilter-common (3.80-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Command executed = sudo dpkg -iG ./packages/cnijfilter-ip7200series_3.80-1_amd64.deb
Selecting previously unselected package cnijfilter-ip7200series.
(Reading database ... 500059 files and directories currently installed.)
Preparing to unpack .../cnijfilter-ip7200series_3.80-1_amd64.deb ...
Unpacking cnijfilter-ip7200series (3.80-1) ...
dpkg: dependency problems prevent configuration of cnijfilter-ip7200series:
cnijfilter-ip7200series depends on libpango1.0-0 (>= 1.12.3); however:
Package libpango1.0-0 is not installed.
cnijfilter-ip7200series depends on libpng12-0 (>= 1.2.8rel); however:
Package libpng12-0 is not installed.
cnijfilter-ip7200series depends on libtiff4; however:
Package libtiff4 is not installed.
dpkg: error processing package cnijfilter-ip7200series (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cnijfilter-ip7200series
Command executed = sudo dpkg -P cnijfilter-ip7200series
(Reading database ... 500249 files and directories currently installed.)
Removing cnijfilter-ip7200series (3.80-1) ...
Purging configuration files for cnijfilter-ip7200series (3.80-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Command executed = sudo dpkg -P cnijfilter-common
(Reading database ... 500058 files and directories currently installed.)
Removing cnijfilter-common (3.80-1) ...
Purging configuration files for cnijfilter-common (3.80-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Edit: the source version gives me trouble:
Installed prerequisits:
Code: Select all
sudo apt install autoconf automake libopt-dev libtiff-dev libpng-dev
Code: Select all
cd cnijfilter
./INSTALL
Code: Select all
./INSTALL: line 1: To: command not found
./INSTALL: line 3: syntax error near unexpected token `newline'
./INSTALL: line 3: ` ./autogen.sh --program-suffix=<Printer Model Name>'
Code: Select all
$ ./autogen.sh --program-suffix=IP7250
Code: Select all
make
Code: Select all
In file included from /usr/include/pngconf.h:50:0,
from /usr/include/png.h:366,
from bjfimage.c:42:
bjfimage.c:1577:19: error: dereferencing pointer to incomplete type ‘png_struct {aka struct png_struct_def}’
if (setjmp (png_p->jmpbuf))
Last edited by cantfind on Fri Feb 08, 2019 8:32 am, edited 1 time in total.
Re: Canon ip7250 can't print from wifi
The "URF=" in the TXT record indicates an AirPrint device and makes the device a good fit for a driverless printing system on Mint 19.1. You should not require the Canon drivers in order to print.
= wlp5s0 IPv6 Canon iP7200 series Internet Printer local
hostname = [411824000000.local]
address = [fe80::9e32:ceff:fe41:1824]
port = [631]
txt = ["mac=9C:32:CE:41:18:24" "kind=document,envelope,photo" "PaperMax=legal-A4" "Fax=F" "Scan=F" "Duplex=T" "Color=T" "URF=V1.4,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS20-21" "UUID=00000000-0000-1000-8000-9C32CE411824" "usb_CMD=URF" "usb_MDL=iP7200 series" "usb_MFG=Canon" "adminurl=http://411824000000.local./mainmenu.html" "pdl=application/octet-stream,image/urf,image/jpeg" "product=(Canon iP7200 series)" "ty=Canon iP7200 series" "priority=15" "qtotal=1" "note=" "rp=ipp/print" "txtvers=1"]
What does
Code: Select all
lpstat -l -e
--
Brian.
Brian.
Re: Canon ip7250 can't print from wifi
Code: Select all
$ lpstat -l -e
Canon_iP7200_series network none ipp://Canon%20iP7200%20series._ipp._tcp.local/
Re: Canon ip7250 can't print from wifi
That's your printer, isn't it? It is being seen by CUPS. Let's see if we can print to it:cantfind wrote: ⤴Fri Feb 08, 2019 8:18 amCode: Select all
$ lpstat -l -e Canon_iP7200_series network none ipp://Canon%20iP7200%20series._ipp._tcp.local/
Code: Select all
lp -d Canon_iP7200_series /etc/nsswitch.conf
--
Brian.
Brian.
Re: Canon ip7250 can't print from wifi
Great! it prints now, and I can see it the printers panel (where it wasn't previously) - I wonder what's changed?
By the way, if I enable the firewall, I can no longer see the printer - what exceptions to I need to add?
By the way, if I enable the firewall, I can no longer see the printer - what exceptions to I need to add?
Re: Canon ip7250 can't print from wifi
Which printer dialog do you see it in? That of Firefox? What name does it have?Great! it prints now, and I can see it the printers panel (where it wasn't previously) - I wonder what's changed?
Please, give the output of
Code: Select all
lpstat -a
I do not use a firewall, so am not certain. Port 5353 is for mDNS, used by the printer to advertise itself.By the way, if I enable the firewall, I can no longer see the printer - what exceptions to I need to add?
--
Brian.
Brian.
Re: Canon ip7250 can't print from wifi
Code: Select all
$ lpstat -a
lpstat: No destinations added.
the
Code: Select all
lp -d Canon_iP7200_series /etc/nsswitch.conf
But once it's done printing the printer is gone from these panels, and I can't add it back..
I've added some images to better show the situation: https://imgur.com/a/KdaruZP
While it prints I get
Code: Select all
lpstat -a
Canon_iP7200_series accepting requests since Sat 09 Feb 2019 00:21:14 IST
Edit: I can print from Chromium right after the command line print, and I can see it in the queue, but after a minute or two, I can no longer print from Chromium (or from anywhere except for the CLI), even though it shows the printer in the application's dialog, since I assigned it as default from the Mint Printers panel - and that queue history is gone until I print using the CLI, and then the print job appears with all the previous jobs.
I was able to add the printer on my Mint 17.3 system and it works properly there, so it seems to be a regression in the more recent system.
Re: Canon ip7250 can't print from wifi
Of course there is a way to add it back!cantfind wrote: ⤴Fri Feb 08, 2019 6:11 pmI was too quick to conclude that it's workingCode: Select all
$ lpstat -a lpstat: No destinations added.
thecommand works, and while it prints, I can see the printer in the "Printers" control panel, and in firefox, etc.Code: Select all
lp -d Canon_iP7200_series /etc/nsswitch.conf
But once it's done printing the printer is gone from these panels, and I can't add it back..
Do
Code: Select all
lp -d Canon_iP7200_series /etc/nsswitch.conf
Code: Select all
lpstat -e
Do
Code: Select all
lpadmin -p ip7200 -v ipp://Canon%20iP7200%20series._ipp._tcp.local/ -E -m everywhere
--
Brian.
Brian.
Re: Canon ip7250 can't print from wifi
Code: Select all
$ lpadmin -p ip7200 -v ipp://Canon%20iP7200%20series._ipp._tcp.local/ -E -m everywhere
lpadmin: Unable to create PPD file: No such file or directory
But then I tried this:
In the Printers panel, choose ipp printer (instead of clicking iP2700 detected printer, which is what I've done previously), then use ipp://Canon%20iP7200%20series._ipp._tcp.local as device URI, and choose the printer manually: Canon->iP2700 Series - there are two optional drivers: "driverless, cups-filters (recommended)" and "CUPS+Gutenprint" - the recommended option ends up with the CUPS internal error which I was used to seeing - but the "CUPS+Gutenberg" (which is what I chose for the Mint 17.3 installation) worked! Now I can print, and it's not disappearing!
So I guess what was wrong with the GUI process of adding the printer is that it had two optional drivers, and it chose the bad one, which was flagged "recommended".
Although it's still not ideal - I see that my resolution is limited to 600dpi, but the printer is supposed to be able to print with a higher resolution...
Re: Canon ip7250 can't print from wifi
It does work as intended but you have been led off the straight and narrow by the print dialog in Firefox (see below).cantfind wrote: ⤴Fri Feb 08, 2019 6:11 pmI was too quick to conclude that it's workingCode: Select all
$ lpstat -a lpstat: No destinations added.
A new feature of CUPS. But the printer can be added back to the dialog by printing to it again.thecommand works, and while it prints, I can see the printer in the "Printers" control panel, and in firefox, etc.Code: Select all
lp -d Canon_iP7200_series /etc/nsswitch.conf
But once it's done printing the printer is gone from these panels, and I can't add it back..
Code: Select all
lpstat -e
Code: Select all
lpstat -a
There you are. This is the temporary queue.I've added some images to better show the situation: https://imgur.com/a/KdaruZP
While it prints I get
Code: Select all
lpstat -a Canon_iP7200_series accepting requests since Sat 09 Feb 2019 00:21:14 IST
The temporary queue exists for a minute and then disappears. The 'lpstat -a' output is now empty. The printer will still be enumerated by 'lpstat -e', waiting to be printed to.Sometimes it doesn't disappear right away - for now I can still see it in the Printers panel, a minute or two after that print command, but firefox is still stuck on getting information. Chrome sees it fine, though - but once I try to print to it - it doesn't do anything, the printer queue is shown as empty from the Mint Printer panel, and trying to open the printer properties from the Mint Printer panel get me an error message: "There was an error during CUPS operation: client-error-not-found"
Firefox enumerates the printer too (independently of CUPS) and lists it as "print". The naming is a bug in the GTK dialog which has been there for years. "print" doesn't work; that is also a bug in the GTK dialog which has been there for years. Chrome, which I do not use, appears to be subject to a similar bug.
The behaviour of Firefox is not a bug in CUPS. In fact, its print dialog doesn't even use CUPS to enumerate the printer. You can verify this with
Code: Select all
systemctl stop cups
To continue the fun, look at the print dialog of LibreOffice. Unlike the GTK dialog, the LibreOffice one consults CUPS. What is seen there is what CUPS sees, so it will enumerate your printer correctly and a temporary queue will be formed (as it was with the CLI command) when the entry is printed to.
Not a regression but simply changes to the printing system accomodating modern printer technology. Some users have difficulties adjusting to them.I was able to add the printer on my Mint 17.3 system and it works properly there, so it seems to be a regression in the more recent system.
--
Brian.
Brian.
Re: Canon ip7250 can't print from wifi
Unsubstantiated and not backed up by your avahi-browse output. Additionally, you printed from the CLI withcantfind wrote: ⤴Fri Feb 08, 2019 8:18 amSeems that Canon does require a driver even for airprint: viewtopic.php?t=275030Code: Select all
$ lpstat -l -e Canon_iP7200_series network none ipp://Canon%20iP7200%20series._ipp._tcp.local/
Code: Select all
lp -d ......
And not a Canon friver in sight!Great! it prints now, and I can see it the printers panel (where it wasn't previously) - I wonder what's changed?
--
Brian.
Brian.