Canon Documents printer Not working

Bug #1814513 reported by Dibyendu Jana

This bug report was converted into a question: question #678490: Canon Documents printer Not working.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Invalid
Undecided
Unassigned

Bug Description

Today create a customized Ubuntu 16.04LTS using cubic. I already add Canon and Kyocera printer driver on it. Then install it on a system. Try to take printout from Kyocera printer, its working fine. But Canon printer not working, only give a single beep code. Then reinstall canon printer driver on the system but Canon printer not working. Try it on another system, same issue. Model number- Canon ImageRunner 1435iF. & Canon IR2520.
Note: same driver working on other Ubuntu system (not customized OS).

cups error Log---

E [04/Feb/2019:17:19:25 +0530] [cups-deviced] PID 6014 (gutenprint52+usb) stopped with status 1!
E [04/Feb/2019:17:19:33 +0530] [cups-driverd] Skipping \"/usr/share/ppd/kyocera\": loop detected!
W [04/Feb/2019:17:19:37 +0530] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Canon-iR1435-Gray..\' already exists
E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to add document to print job.
E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to retry job using a supported raster format.
E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to convert file 0 to printable format.
E [04/Feb/2019:17:19:39 +0530] [Job 33] Aborting job because it cannot be printed.

description: updated
description: updated
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Dibyendu,

What is the kernel version of the host machine where you are running Cubic?

What is the kernel version inside the chroot environment in Cubic?

What is the kernel version on the system where you installed the customized Ubuntu (after install of course)?

What is the kernel version on the other system where your printer is working fine?

Revision history for this message
Dibyendu Jana (dj.dibyendu) wrote : Re: [Bug 1814513] Re: Canon Documents printer Not working

Kernel version 4.15.0-29 , then update kernel using dist update command,
now 4.15.0-43/45

Thanks for reply.

On Tue, Feb 5, 2019, 19:50 Cubic PPA <<email address hidden> wrote:

> Dibyendu,
>
> What is the kernel version of the host machine where you are running
> Cubic?
>
> What is the kernel version inside the chroot environment in Cubic?
>
> What is the kernel version on the system where you installed the
> customized Ubuntu (after install of course)?
>
> What is the kernel version on the other system where your printer is
> working fine?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1814513
>
> Title:
> Canon Documents printer Not working
>
> Status in Cubic:
> New
>
> Bug description:
> Today create a customized Ubuntu 16.04LTS using cubic. I already add
> Canon and Kyocera printer driver on it. Then install it on a system. Try to
> take printout from Kyocera printer, its working fine. But Canon printer not
> working, only give a single beep code. Then reinstall canon printer driver
> on the system but Canon printer not working. Try it on another system, same
> issue. Model number- Canon ImageRunner 1435iF. & Canon IR2520.
> Note: same driver working on other Ubuntu system (not customized OS).
>
> cups error Log---
>
> E [04/Feb/2019:17:19:25 +0530] [cups-deviced] PID 6014
> (gutenprint52+usb) stopped with status 1!
> E [04/Feb/2019:17:19:33 +0530] [cups-driverd] Skipping
> \"/usr/share/ppd/kyocera\": loop detected!
> W [04/Feb/2019:17:19:37 +0530] CreateProfile failed:
> org.freedesktop.ColorManager.AlreadyExists:profile id
> \'Canon-iR1435-Gray..\' already exists
> E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to add document to print
> job.
> E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to retry job using a
> supported raster format.
> E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to convert file 0 to
> printable format.
> E [04/Feb/2019:17:19:39 +0530] [Job 33] Aborting job because it cannot
> be printed.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cubic/+bug/1814513/+subscriptions
>

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Dibyendu,

I had asked four questions, but you gave only one answer, so I'm ot sure which question you were answering?

Anyway...

Kernel Modules
--------------

When you run a chroot (as in Cubic) the kernel used by the chroot is the same kernel as on your host machine.

When you install drivers/kernel modules, they are installed for the currently running kernel (in /lib/modules).

Even if you update your kernel using dist update, the currently running kernel will not change in the chroot environment. Therefore, any drivers you install will still install only for the currently running kernel, not the newly updated kernel. (Take a look at /lib/modules).

Eventually, when you install your customized OS onto a computer, it will use the ~new~ kernel (installed using dist update), but any drivers you had installed may not be available in that kernel (in /lib/modules).

CUPS
----

Cups is usually installed under /usr/share/cups.
There are also drivers under /usr/lib/cups.

Make sure you have the driver for your printer included on the customized version of Ubuntu. Compare the contents of /usr/lib/cups of your customized system with the contents of /usr/lib/cups on your system where your printer works. You may need to compare file contents as well. (I don't know where -or- how the drivers for various printers are listed). However you should look for differences between the directory that works, and the directory that doesn't work. The driver for your printer may have been accidentally or intentionally excluded from the package in the repositories, so you might have to file a bug with cups or your printer vendor, if they produce a cups file for their product.

Revision history for this message
Dibyendu Jana (dj.dibyendu) wrote :
Download full text (3.8 KiB)

Hi,
Today i test it again. But same issue.

1.What is the kernel version of the host machine where you are running
Cubic?
Ans-- 4.15.0-29-generic

2.What is the kernel version inside the chroot environment in Cubic?
Ans-- 4.15.0-29-generic

3.What is the kernel version on the system where you installed the
Ans-- 4.15.0-29-generic

4.What is the kernel version on the other system where your printer is
working fine?
 Ans-- 4.15.0-43-generic

On Wed, Feb 6, 2019, 06:40 Cubic PPA <<email address hidden> wrote:

> Dibyendu,
>
>
> I had asked four questions, but you gave only one answer, so I'm ot sure
> which question you were answering?
>
> Anyway...
>
> Kernel Modules
> --------------
>
> When you run a chroot (as in Cubic) the kernel used by the chroot is the
> same kernel as on your host machine.
>
> When you install drivers/kernel modules, they are installed for the
> currently running kernel (in /lib/modules).
>
> Even if you update your kernel using dist update, the currently running
> kernel will not change in the chroot environment. Therefore, any drivers
> you install will still install only for the currently running kernel,
> not the newly updated kernel. (Take a look at /lib/modules).
>
> Eventually, when you install your customized OS onto a computer, it will
> use the ~new~ kernel (installed using dist update), but any drivers you
> had installed may not be available in that kernel (in /lib/modules).
>
> CUPS
> ----
>
> Cups is usually installed under /usr/share/cups.
> There are also drivers under /usr/lib/cups.
>
> Make sure you have the driver for your printer included on the
> customized version of Ubuntu. Compare the contents of /usr/lib/cups of
> your customized system with the contents of /usr/lib/cups on your system
> where your printer works. You may need to compare file contents as well.
> (I don't know where -or- how the drivers for various printers are
> listed). However you should look for differences between the directory
> that works, and the directory that doesn't work. The driver for your
> printer may have been accidentally or intentionally excluded from the
> package in the repositories, so you might have to file a bug with cups
> or your printer vendor, if they produce a cups file for their product.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1814513
>
> Title:
> Canon Documents printer Not working
>
> Status in Cubic:
> New
>
> Bug description:
> Today create a customized Ubuntu 16.04LTS using cubic. I already add
> Canon and Kyocera printer driver on it. Then install it on a system. Try to
> take printout from Kyocera printer, its working fine. But Canon printer not
> working, only give a single beep code. Then reinstall canon printer driver
> on the system but Canon printer not working. Try it on another system, same
> issue. Model number- Canon ImageRunner 1435iF. & Canon IR2520.
> Note: same driver working on other Ubuntu system (not customized OS).
>
> cups error Log---
>
> E [04/Feb/2019:17:19:25 +0530] [cups-deviced] PID 6014
> (gutenprint52+usb) stopped with status 1!
> E [04/Feb/2019:17:19:33 +0530] [c...

Read more...

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Thanks. (You are using the same kernel throughout the process, so this should not be a kernel related issue).

How are the drivers for Canon ImageRunner 1435iF & Canon IR2520 installed?

Is there a specific "apt" package that needs to be install, or is the driver downloaded and installed via "dpkg -i" ?

After installing the drivers, do you need to run a tool to setup the printer on the machine. (I have experience with hp printers, where you need to run "sudo hp-setup" to install a new printer, even though the drivers are present on the machine).

Revision history for this message
Dibyendu Jana (dj.dibyendu) wrote :
Download full text (3.2 KiB)

I downloaded this driver from Canon official website and then install it
using "dpkg -i" command on chroot.
this is the link--
https://www.canon.co.uk/support/products/imagerunner/imagerunner-1435if.aspx?type=drivers&language=&os=Linux%20(64-bit)

And its not require any setup like hp, just install driver packge(deb) and
add printer under settings option.

please see this error information-- /var/log/cups/error_log

E [07/Feb/2019:10:29:14 +0530] [cups-deviced] PID 5659 (gutenprint52+usb)
stopped with status 1!
E [07/Feb/2019:10:29:21 +0530] [cups-driverd] Skipping
\"/usr/share/ppd/kyocera\": loop detected!
E [07/Feb/2019:10:29:46 +0530] [Job 5] Unable to add document to print job.
E [07/Feb/2019:10:29:46 +0530] [Job 5] Unable to retry job using a
supported raster format.
E [07/Feb/2019:10:29:46 +0530] [Job 5] Unable to convert file 0 to
printable format.
E [07/Feb/2019:10:29:46 +0530] [Job 5] Aborting job because it cannot be
printed.

Thank You.

On Thu, Feb 7, 2019 at 4:05 AM Cubic PPA <email address hidden> wrote:

> Thanks. (You are using the same kernel throughout the process, so this
> should not be a kernel related issue).
>
> How are the drivers for Canon ImageRunner 1435iF & Canon IR2520
> installed?
>
> Is there a specific "apt" package that needs to be install, or is the
> driver downloaded and installed via "dpkg -i" ?
>
> After installing the drivers, do you need to run a tool to setup the
> printer on the machine. (I have experience with hp printers, where you
> need to run "sudo hp-setup" to install a new printer, even though the
> drivers are present on the machine).
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1814513
>
> Title:
> Canon Documents printer Not working
>
> Status in Cubic:
> New
>
> Bug description:
> Today create a customized Ubuntu 16.04LTS using cubic. I already add
> Canon and Kyocera printer driver on it. Then install it on a system. Try to
> take printout from Kyocera printer, its working fine. But Canon printer not
> working, only give a single beep code. Then reinstall canon printer driver
> on the system but Canon printer not working. Try it on another system, same
> issue. Model number- Canon ImageRunner 1435iF. & Canon IR2520.
> Note: same driver working on other Ubuntu system (not customized OS).
>
> cups error Log---
>
> E [04/Feb/2019:17:19:25 +0530] [cups-deviced] PID 6014
> (gutenprint52+usb) stopped with status 1!
> E [04/Feb/2019:17:19:33 +0530] [cups-driverd] Skipping
> \"/usr/share/ppd/kyocera\": loop detected!
> W [04/Feb/2019:17:19:37 +0530] CreateProfile failed:
> org.freedesktop.ColorManager.AlreadyExists:profile id
> \'Canon-iR1435-Gray..\' already exists
> E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to add document to print
> job.
> E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to retry job using a
> supported raster format.
> E [04/Feb/2019:17:19:39 +0530] [Job 33] Unable to convert file 0 to
> printable format.
> E [04/Feb/2019:17:19:39 +0530] [Job 33] Aborting job because it cannot
> be printed.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad...

Read more...

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

OK.

I'll try to download this driver and test installing it in a Cubic chroot environment.
Perhaps there is an error that I can spot. (Since I do not have your printer, I wont be able to test it beyond that). I will also be looking to see if see if the driver installation needs to start a service inside chroot, since you can not start services inside a chroot.

In the mean time, did you try posting your issue on a Cannon forum or help site? You don't need to mention the part about using a chroot environment to create a customized ISO. You can just mention the errors you see while trying to print. Someone else may have run into a similar issue on their Linux environment, and may have a suggestion. Perhaps some other packages are required but the *.deb file from Cannon does not explicitly list those packages as required? (I ask this because the message "Unable to retry job using a supported raster format" implies that some other libraries for supported raster formats may be needed?).

Also, take a look at this:
https://github.com/apple/cups/issues/4253

They suggest using "cupsctl --debug-logging" to get error information.

Th GitHub post above also says, "this is a misconfiguration on your server. You cannot require encryption for Send-Document but not for Create-Job. Whoever maintains your server needs to fix the policy definition to require authentication for Create-Job as well."

If this refers to the cups "server" on your local machine, perhaps it needs to be configured in a different way?

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Dibyendu,

One more question:

Regarding the following warning message...

W [04/Feb/2019:17:19:37 +0530] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Canon-iR1435-Gray..\' already exists

...What is the name and location of the profile file. (Based on the warning message, it seems that the name is "Canon-iR1435-Gray"?)

Would you please cd to the directory where this file exists.
Then execute ls -l | grep <profile name> and paste the output as a comment on this bug report.
(Again, I presume <profile name> should be "Canon-iR1435-Gray", but you may know better).

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Converting this bug report to a question because it is really about support for installing Cannon printer drivers in a chroot environment.

Changed in cubic:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.