Canon MP620 [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Re: Canon MP620

Postby ratcheer » Sat Apr 14, 2012 17:55

So, that ran for a good while, then this:

Code: Select all
Now type `make' to compile
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/net-print/cnijfilter-common-3.0.0/work/cnijfilter-common-3.00/backend'
Making all in src
make[2]: Entering directory `/var/tmp/portage/net-print/cnijfilter-common-3.0.0/work/cnijfilter-common-3.00/backend/src'
gcc -DHAVE_CONFIG_H -I. -I..     -O2 -Wall -MT cnij_backend_common.o -MD -MP -MF .deps/cnij_backend_common.Tpo -c -o cnij_backend_common.o cnij_backend_common.c
cnij_backend_common.c: In function ‘get_model_name’:
cnij_backend_common.c:192:2: error: unknown type name ‘ppd_file_t’
cnij_backend_common.c:196:2: warning: implicit declaration of function ‘ppdOpenFile’ [-Wimplicit-function-declaration]
cnij_backend_common.c:196:17: warning: assignment makes pointer from integer without a cast [enabled by default]
cnij_backend_common.c:198:23: error: request for member ‘product’ in something not a structure or union
cnij_backend_common.c:204:28: error: request for member ‘product’ in something not a structure or union
cnij_backend_common.c:218:3: warning: implicit declaration of function ‘ppdClose’ [-Wimplicit-function-declaration]
cnij_backend_common.c: In function ‘check_options’:
cnij_backend_common.c:435:10: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result [-Wunused-result]
make[2]: *** [cnij_backend_common.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-common-3.0.0/work/cnijfilter-common-3.00/backend/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-common-3.0.0/work/cnijfilter-common-3.00/backend'
make: *** [all] Error 2
 * ERROR: net-print/cnijfilter-common-3.0.0 failed (compile phase):
 *   Fail to compile
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 1848:  Called die
 * The specific snippet of code:
 *       make || die "Fail to compile"
 *
 * If you need support, post the output of 'emerge --info =net-print/cnijfilter-common-3.0.0',
 * the complete build log and the output of 'emerge -pqv =net-print/cnijfilter-common-3.0.0'.
 * This ebuild is from an overlay named 'papy-tools': '/var/lib/layman/papy-tools/'
 * The complete build log is located at '/var/tmp/portage/net-print/cnijfilter-common-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cnijfilter-common-3.0.0/temp/environment'.
 * S: '/var/tmp/portage/net-print/cnijfilter-common-3.0.0/work/cnijfilter-common-3.00'

>>> Failed to emerge net-print/cnijfilter-common-3.0.0, Log file:

>>>  '/var/tmp/portage/net-print/cnijfilter-common-3.0.0/temp/build.log'

 * Messages for package net-print/cnijfilter-common-3.0.0:

 * ERROR: net-print/cnijfilter-common-3.0.0 failed (compile phase):
 *   Fail to compile
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 1848:  Called die
 * The specific snippet of code:
 *       make || die "Fail to compile"
 *
 * If you need support, post the output of 'emerge --info =net-print/cnijfilter-common-3.0.0',
 * the complete build log and the output of 'emerge -pqv =net-print/cnijfilter-common-3.0.0'.
 * This ebuild is from an overlay named 'papy-tools': '/var/lib/layman/papy-tools/'
 * The complete build log is located at '/var/tmp/portage/net-print/cnijfilter-common-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cnijfilter-common-3.0.0/temp/environment'.
 * S: '/var/tmp/portage/net-print/cnijfilter-common-3.0.0/work/cnijfilter-common-3.00'


Possibly what it needs is a PPD file. Would the one I have on Ubuntu work if I copied it to the proper location?

Thank you,
Tim
ratcheer
Growing Hen
 
Posts: 103
Joined: Wed Mar 14, 2012 16:41

Re: Canon MP620

Postby Fitzcarraldo » Sat Apr 14, 2012 18:55

Darn it. No, it's more complicated than that, I'm afraid. The failure to compile looks to me to be due to the changes from CUPS 1.4.x to 1.5.x. Those papy-tools overlay ebuilds pre-date CUPS 1.5.x as far as I can tell.

If you're up for it, you could try downgrading CUPS to see if you can then get cnijfilter-common-3.0.0 to build. If you want to have a go, I'd suggest downgrading CUPS to the latest stable version, which is currently 1.4.8-r1 (see http://packages.gentoo.org/package/net-print/cups). To do that:

Code: Select all
emerge -1v =cups-1.4.8-r1

If it builds OK then have another go with the emerge command for the two packages in the papy-tools overlay.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP620

Postby ratcheer » Sat Apr 14, 2012 21:09

Ok, I got the entire installation procedure completed. But, while I have added and deleted the printer about 10 times, I still cannot get it configured so that it will print. I think the biggest problem is that in CUPS administration to add the printer, I cannot find the same driver that I just installed. It only offers the CUPS + Gutenprint driver we were trying to use last night. And yes, I have restarted CUPS since installing the new driver.

It also allows the alternate use of a PPD file. I found the one installed by the merge install we just did. It is in French, but I can live with that.

Here are the errors I get when I try to print to the printer installed with the PPD and a printer address of ipp://192.168.1.123/ipp/. It still will not accept bjnp, even though we installed cups-bjnp this morning.

D [14/Apr/2012:14:55:01 -0500] [Job 9] STATE: +connecting-to-device
D [14/Apr/2012:14:55:01 -0500] [Job 9] Looking up "192.168.1.123"...
D [14/Apr/2012:14:55:01 -0500] [Job 9] Copying print data...
D [14/Apr/2012:14:55:01 -0500] [Job 9] Set job-printer-state-message to "Copying print data...", current level=INFO
D [14/Apr/2012:14:55:01 -0500] [Job 9] backendRunLoop(print_fd=-1, device_fd=6, snmp_fd=5, addr=0x7fd7422f09d8, use_bc=0, side_cb=0x7fd740fedc60)
D [14/Apr/2012:14:55:01 -0500] [Job 9] Unable to auto-configure PostScript Printer - no bidirectional I/O available!
D [14/Apr/2012:14:55:01 -0500] [Job 9] Set job-printer-state-message to "Empty print file!", current level=ERROR
D [14/Apr/2012:14:55:01 -0500] [Job 9] Backend returned status 1 (failed)
D [14/Apr/2012:14:55:01 -0500] [Job 9] Printer stopped due to backend errors; please consult the error_log file for details.
D [14/Apr/2012:14:55:01 -0500] [Job 9] End of messages
D [14/Apr/2012:14:55:01 -0500] [Job 9] printer-state=5(stopped)
D [14/Apr/2012:14:55:01 -0500] [Job 9] printer-state-message="Empty print file!"
D [14/Apr/2012:14:55:01 -0500] [Job 9] printer-state-reasons=paused


Tim
ratcheer
Growing Hen
 
Posts: 103
Joined: Wed Mar 14, 2012 16:41

Re: Canon MP620

Postby Fitzcarraldo » Sat Apr 14, 2012 22:26

Well done for getting as far as you have.

Are you absolutely sure the MP620 driver installed from the papy-tools overlay is not in the Canon list in the CUPS Manager? The reason I ask is because I couldn't find the MP510 and MP560 drivers that I installed via a local overlay, but, after I went through the entire list slowly I found them in the wrong position in the list, nowhere near the Gutenprint drivers for those printer models.

Anyway, irrespective of the above, the error messages you posted obviously show there is a problem. If I understand you correctly, you have installed cups-bjnp-1.0 from the main Portage tree. Have you tried installing version 0.5.4 from the papy-tools overlay instead, though, as that presumably is of the same vintage as the cnijfilter-common and cnijfilter-mp620 ebuilds in the papy-tools overlay. If you haven't, downgrade to the papy-tools version by entering the command:

Code: Select all
emerge -1v =cups-bjnp-0.5.4
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP620

Postby Fitzcarraldo » Sat Apr 14, 2012 22:42

Aslo, try turning the firewall off on your machine running SL:

Code: Select all
ufw disable


Also, you can download from the papy-tools Web site the tarball of the English-language PPD for the MP620 driver, to try it instead of the Fench-language PPD file that the ebuild installs:

Code: Select all
wget https://www.papylhomme.org/gentoo/distfiles/ppdMP620-630en-1.4.tar.gz


Are you running x86 or amd64 version of SL?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP620

Postby ratcheer » Sat Apr 14, 2012 23:06

First, thank you very much for sticking with me on this.

I downgraded cups-bjnp to 0.5.4. I restarted CUPS. I tried to add the printer to use the bjnp protocol. It still will not accpt that.

I re-added the printer using the ipp protocol. I did find the driver. As you said, it was not with the other MP printers in the list.

Now, the error messages are somewhat different, but I still cannot print. Here is what I got on the latest attempt:

D [14/Apr/2012:16:53:45 -0500] [Job 11] Adding start banner page "none".
D [14/Apr/2012:16:53:45 -0500] [Job 11] Adding end banner page "none".
D [14/Apr/2012:16:53:45 -0500] [Job 11] File of type application/pdf queued by "tim".
D [14/Apr/2012:16:53:45 -0500] [Job 11] hold_until=0
D [14/Apr/2012:16:53:45 -0500] [Job 11] Queued on "CanonMP620" by "tim".
D [14/Apr/2012:16:53:45 -0500] [Job 11] job-sheets=none,none
D [14/Apr/2012:16:53:45 -0500] [Job 11] argv[0]="CanonMP620"
D [14/Apr/2012:16:53:45 -0500] [Job 11] argv[1]="11"
D [14/Apr/2012:16:53:45 -0500] [Job 11] argv[2]="tim"
D [14/Apr/2012:16:53:45 -0500] [Job 11] argv[3]="CanonMP620 - CUPS 1.4.8"
D [14/Apr/2012:16:53:45 -0500] [Job 11] argv[4]="1"
D [14/Apr/2012:16:53:45 -0500] [Job 11] argv[5]="CNGamma=1.8 CNBalanceC=0 CNBalanceM=0 number-up=1 CNContrast=0 Duplex=None CNBalanceY=0 Resolution=600 InputSlot=cassette PageSize=Letter noCNGrayscale CNHalftoning=ed CNQuality=3 MediaType=plain CNRenderIntent=photo CNDensity=0 job-uuid=urn:uuid:276f05bb-39e9-3b63-559e-62846ffd80d2 job-originating-host-name=localhost time-at-creation=1334440424 time-at-processing=1334440424"
D [14/Apr/2012:16:53:45 -0500] [Job 11] argv[6]="/var/spool/cups/d00011-001"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[8]="HOME=/var/spool/cups/tmp"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[10]="SERVER_ADMIN=root@sabayon"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[11]="SOFTWARE=CUPS/1.4.8"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[13]="USER=root"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[16]="IPP_PORT=631"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[17]="CHARSET=utf-8"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[18]="LANG=en_US.UTF-8"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[19]="PPD=/etc/cups/ppd/CanonMP620.ppd"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[20]="RIP_MAX_CACHE=8m"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[21]="CONTENT_TYPE=application/pdf"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[22]="DEVICE_URI=ipp://192.168.1.123/ipp/"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[23]="PRINTER_INFO=Canon Pixma MP620"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[24]="PRINTER_LOCATION=Tommys Room"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[25]="PRINTER=CanonMP620"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[26]="CUPS_FILETYPE=document"
D [14/Apr/2012:16:53:45 -0500] [Job 11] envp[27]="FINAL_CONTENT_TYPE=printer/CanonMP620"
D [14/Apr/2012:16:53:45 -0500] [Job 11] Started filter /usr/libexec/cups/filter/pdftops (PID 19647)
D [14/Apr/2012:16:53:45 -0500] [Job 11] Started filter /usr/libexec/cups/filter/pstocanonij (PID 19648)
D [14/Apr/2012:16:53:45 -0500] [Job 11] Started backend /usr/libexec/cups/backend/ipp (PID 19649)
D [14/Apr/2012:16:53:45 -0500] [Job 11] STATE: +connecting-to-device
D [14/Apr/2012:16:53:45 -0500] [Job 11] Looking up "192.168.1.123"...
D [14/Apr/2012:16:53:45 -0500] [Job 11] Copying print data...
D [14/Apr/2012:16:53:45 -0500] [Job 11] Set job-printer-state-message to "Copying print data...", current level=INFO
D [14/Apr/2012:16:53:45 -0500] [Job 11] backendRunLoop(print_fd=-1, device_fd=6, snmp_fd=5, addr=0x7f65faa069d8, use_bc=0, side_cb=0x7f65fa4bcc60)
D [14/Apr/2012:16:53:45 -0500] [Job 11] pstocanonij start.
D [14/Apr/2012:16:53:45 -0500] [Job 11] Started filter pdftops (PID 19650)
D [14/Apr/2012:16:53:45 -0500] [Job 11] Started filter pstops (PID 19651)
D [14/Apr/2012:16:53:45 -0500] [Job 11] Page = 612x792; 18,14 to 594,784
D [14/Apr/2012:16:53:45 -0500] [Job 11] slow_collate=0, slow_duplex=0, slow_order=0
D [14/Apr/2012:16:53:45 -0500] [Job 11] Before copy_comments - %!PS-Adobe-3.0
D [14/Apr/2012:16:53:45 -0500] [Job 11] %!PS-Adobe-3.0
D [14/Apr/2012:16:53:45 -0500] [Job 11] %Produced by poppler pdftops version: 0.18.3 (http://poppler.freedesktop.org)
D [14/Apr/2012:16:53:45 -0500] [Job 11] %%Creator: cairo 1.10.2 (http://cairographics.org)
D [14/Apr/2012:16:53:45 -0500] [Job 11] %%LanguageLevel: 3
D [14/Apr/2012:16:53:45 -0500] [Job 11] %%DocumentSuppliedResources: (atend)
D [14/Apr/2012:16:53:45 -0500] [Job 11] %%DocumentMedia: plain 612 792 0 () ()
D [14/Apr/2012:16:53:45 -0500] [Job 11] %%BoundingBox: 0 0 612 792
D [14/Apr/2012:16:53:45 -0500] [Job 11] %%Pages: 1
D [14/Apr/2012:16:53:45 -0500] [Job 11] %%EndComments
D [14/Apr/2012:16:53:45 -0500] [Job 11] Before copy_prolog - %%BeginDefaults
D [14/Apr/2012:16:53:45 -0500] [Job 11] Before copy_setup - %%BeginSetup
D [14/Apr/2012:16:53:45 -0500] [Job 11] Before page loop - %%Page: 1 1
D [14/Apr/2012:16:53:45 -0500] [Job 11] Copying page 1...
D [14/Apr/2012:16:53:45 -0500] [Job 11] pagew = 576.0, pagel = 769.3
D [14/Apr/2012:16:53:45 -0500] [Job 11] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [14/Apr/2012:16:53:45 -0500] [Job 11] PageLeft = 18.1, PageRight = 594.1
D [14/Apr/2012:16:53:45 -0500] [Job 11] PageTop = 783.5, PageBottom = 14.2
D [14/Apr/2012:16:53:45 -0500] [Job 11] PageWidth = 612.0, PageLength = 792.0
D [14/Apr/2012:16:53:45 -0500] [Job 11] # p_size->name=Letter , p_size_default->name = A4 #
D [14/Apr/2012:16:53:45 -0500] [Job 11] # media_exist=0 , pagesize_exist = 1 #
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### num_opt(lpr optins) = 20 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11]
D [14/Apr/2012:16:53:45 -0500] [Job 11] # ppdPageSize width=612.000000 height=792.000000 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11]
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:Lettre US 215.9x279.4mm 8.5"x11" / Letter)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=Letter(p_table->ppd_key=PageSize)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:Papier ordinaire / plain)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=plain(p_table->ppd_key=MediaType)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:Cassette / cassette)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=cassette(p_table->ppd_key=InputSlot)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : CNCartridge is not found in p_ppd
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:Normale / 3)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=3(p_table->ppd_key=CNQuality)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:Diffusion / ed)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=ed(p_table->ppd_key=CNHalftoning)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:Photo / photo)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=photo(p_table->ppd_key=CNRenderIntent)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:Normal / 1.8)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=1.8(p_table->ppd_key=CNGamma)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:-0- / 0)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=0(p_table->ppd_key=CNBalanceC)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:-0- / 0)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=0(p_table->ppd_key=CNBalanceM)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:-0- / 0)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=0(p_table->ppd_key=CNBalanceY)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:-0- / 0)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=0(p_table->ppd_key=CNDensity)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:No / False)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=False(p_table->ppd_key=CNGrayscale)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : CNLocation is not found in p_ppd
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : CNPercent is not found in p_ppd
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : CNCopies is not found in p_ppd
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:Non / None)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : CNStapleSide is not found in p_ppd
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : p_choice found in p_ppd (p_choice:-0- / 0)
D [14/Apr/2012:16:53:45 -0500] [Job 11] (3)Make cif options : choice=0(p_table->ppd_key=CNContrast)
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(19) : CNBalanceC=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(19)(opt_key != NULL) : --balance_c=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(18) : CNBalanceM=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(18)(opt_key != NULL) : --balance_m=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(17) : CNBalanceY=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(17)(opt_key != NULL) : --balance_y=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(16) : CNContrast=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(16)(opt_key != NULL) : --contrast=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(15) : CNDensity=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(15)(opt_key != NULL) : --density=0 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(14) : CNGamma=1.8 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(14)(opt_key != NULL) : --gamma=1.8 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(13) : CNGrayscale=false ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(13)(opt_key != NULL) : --grayscale=false ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(12) : CNHalftoning=ed ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(12)(opt_key != NULL) : --halftoning=ed ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(11) : CNQuality=3 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(11)(opt_key != NULL) : --quality=3 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(10) : CNRenderIntent=photo ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(10)(opt_key != NULL) : --renderintent=photo ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(9) : Duplex=None ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(9)(opt_key != NULL) : --duplex=none ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(8) : InputSlot=cassette ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(8)(opt_key != NULL) : --paperload=cassette ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(7) : job-originating-host-name=localhost ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(6) : job-uuid=urn:uuid:276f05bb-39e9-3b63-559e-62846ffd80d2 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(5) : MediaType=plain ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(5)(opt_key != NULL) : --media=plain ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(4) : number-up=1 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(3) : PageSize=Letter ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(3)(opt_key != NULL) : --papersize=letter ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(2) : Resolution=600 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(1) : time-at-creation=1334440424 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] ### lpr optins(0) : time-at-processing=1334440424 ###
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --fit
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --bbox
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --contrast
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --grayscale
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --density
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --balance_y
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --balance_m
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --balance_c
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --gamma
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --renderintent
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --halftoning
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --quality
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --paperload
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --media
D [14/Apr/2012:16:53:45 -0500] [Job 11] make_filter_param_list: --papersize
D [14/Apr/2012:16:53:45 -0500] [Job 11] pstocanonij: /usr/bin/gs -r600 -g5100x6600 -q -dNOPROMPT -dSAFER -sDEVICE=ppmraw -sOutputFile=- -| /usr/bin/cifmp610 --imageres 600 --papersize letter --media plain --paperload cassette --quality 3 --halftoning ed --renderintent photo --gamma 1.8 --balance_c 0 --balance_m 0 --balance_y 0 --density 0 --contrast 0 --bbox 18,14,595,784 --fit
D [14/Apr/2012:16:53:45 -0500] [Job 11] /usr/bin/cifmp610: error while loading shared libraries: libcnbpcmcm327.so: cannot open shared object file: No such file or directory
D [14/Apr/2012:16:53:45 -0500] [Job 11] Wrote 1 pages...
D [14/Apr/2012:16:53:45 -0500] [Job 11] PID 19651 (pstops) exited with no errors.
D [14/Apr/2012:16:53:45 -0500] [Job 11] PID 19650 (pdftops) exited with no errors.
D [14/Apr/2012:16:53:45 -0500] [Job 11] Set job-printer-state-message to "Empty print file!", current level=ERROR
D [14/Apr/2012:16:53:45 -0500] [Job 11] Backend returned status 1 (failed)
D [14/Apr/2012:16:53:45 -0500] [Job 11] Printer stopped due to backend errors; please consult the error_log file for details.
D [14/Apr/2012:16:53:45 -0500] [Job 11] End of messages
D [14/Apr/2012:16:53:45 -0500] [Job 11] printer-state=5(stopped)
D [14/Apr/2012:16:53:45 -0500] [Job 11] printer-state-message="Empty print file!"
D [14/Apr/2012:16:53:45 -0500] [Job 11] printer-state-reasons=paused


Tim
ratcheer
Growing Hen
 
Posts: 103
Joined: Wed Mar 14, 2012 16:41

Re: Canon MP620

Postby Fitzcarraldo » Sat Apr 14, 2012 23:06

A different approach if you need to get it working asap:

The commercial TurboPrint Linux package has a driver for the MP620 (see TurboPrint - printer drivers for Linux - supported printers: Canon. They offer a free 30-day trial. You could download the TurboPrint for Linux driver and try it. If it works, you can purchase it for EUR 29.95.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP620

Postby Fitzcarraldo » Sat Apr 14, 2012 23:27

Not far from the end of the messages you posted is the apparent cause of the problem:

Code: Select all
D [14/Apr/2012:16:53:45 -0500] [Job 11] /usr/bin/cifmp610: error while loading shared libraries: libcnbpcmcm327.so: cannot open shared object file: No such file or directory

So there is some problem related to the cnijfilter-common package. Can you find any library libcnbpcmcm*.so on your machine? The easiest way to search is to use the 'locate' command, for which you first need to install the mlocate package and update its database of file names:

Code: Select all
equo install mlocate
updatedb
locate libcnbpcmcm | grep so
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP620

Postby Fitzcarraldo » Sun Apr 15, 2012 0:31

Hmm... apparently the driver for the MP610 works for the MP620: openSUSE Forums - Canon Pixma MP620.

There is a newer ebuild in the Gentoo Bugzilla that supports the MP610 and caters for CUPS 1.5.x and libpng 1.5.x. You could install that in a local overlay (as I did for my MP510 and MP560).

My list of Canon ebuilds in the Gentoo Bugzilla is not up to date, but you can see it here:

http://forum.sabayon.org/viewtopic.php? ... 81#p129281

It looks like cnijfilter-2.80-r1.ebuild in Gentoo Bugzilla Bug Report No. 205536 would do (N.B. the latest version of cnijfilter-2.80-r1.ebuild as given in Comment #24 in the bug report).

So, if you're still up for it:

1. Uninstall the packages istalled from the papy-tools overlay and reinstall cups-bjnp-1.0 from the main Portage tree:

Code: Select all
# emerge --unmerge cnijfilter-mp620 cnijfilter-common cups-bjnp
# emerge -1v cups-bjnp


2. Reinstall the latest version of CUPS:

Code: Select all
# equo rescue spmsync # Tell Entropy what you did via Portage.
# equo update # Update Entropy database.
# equo install cups # Install latest CUPS in Entropy.
# equo conf update # Update any configuration files.
# equo deptest # Check that dependencies are correct and fix if needed.
# equo libtest # Check if libraries are correct and fix if needed.


3. Follow the procedure in NOTE 1 in the post Re: Can I install .rpm or .deb drivers on Sabayon? in order to prepare SL to use a local overlay.

4. Create the required directories in your local overlay, download the ebuild and patch file from the Gentoo Bugzilla and install the package:

Code: Select all
# mkdir -p /usr/local/portage/net-print/cnijfilter/files
# cd /usr/local/portage/net-print/cnijfilter
# wget --output-document=cnijfilter-2.80-r1.ebuild https://bugs.gentoo.org/attachment.cgi?id=296005
# cd /usr/local/portage/net-print/cnijfilter/files
# wget --output-document=cnijfilter-2.80-fix-jmpbuf.patch https://205536.bugs.gentoo.org/attachment.cgi?id=296003
# cd ..
# ebuild cnijfilter-2.80-r1.ebuild manifest
# USE="mp610" emerge -1v cnijfilter # IF YOU ARE USING 32-BIT SL.
# USE="mp610 amd64" emerge -1v cnijfilter # IF YOU ARE USING 64-BIT SL.
# etc-update # Just in case there are some config files to update. Enter -3 then answer yes to all.
# equo rescue spmsync # Tell Entropy what you did via Portage.


N.B. If you are using 64-bit SL then you'll have to install another package before installing cnijfilter:

Code: Select all
# layman -a zugaina # Add the zugaina overlay.
# emerge -1v emul-linux-x86-bjdeps
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP620

Postby ratcheer » Sun Apr 15, 2012 0:58

Ok, I will be trying your suggestions in the previous post.

To answer some of your previous questions, I have a 64-bit installation. And the only file on my system that looks anything like that is /usr/lib64/libcnbpcmcm327.so.6.61.1

On Ubuntu 11.10, I am successfully using a driver that is mainly for the MP630. However, I cannot get it to print with Ubuntu 12.04 beta.

Tim
ratcheer
Growing Hen
 
Posts: 103
Joined: Wed Mar 14, 2012 16:41

PreviousNext

Return to Hardware

Who is online

Users browsing this forum: No registered users and 0 guests

cron