[cups] Difficulties with Canon Printer

Alan McConnell alan at his.com
Fri Mar 27 06:42:45 PDT 2015


Hi, Helge,  Thanks for your reply.  I have carried out your
instructions; see remarks below.

On Thu, Mar 26, 2015 at 09:42:59PM +0100, Helge Blischke wrote:
> Alan, 
> the PDF is indeed a PDF-1.5 and crated by cairo. All the content
> is stored as a single image (an X-object) with /Interpolate set to true.
> Om my system (Mac OS X 10.10.2 and CUPS 2.0.0) it prints fine.
> 
> I suspect that your issue is due to some deficiency in one of the
> filters used on your system, probably pdftopdf or pdftops.
> To explore the issue further, please do the following:
> 
> ?	cupsctl ?debug-logging
> 	to turn on debug logging into the cups logging file
	   I did this.  Then I turned the Canon on, and plugged in
	   the USB cable.

> ?	print the test PDF (the first page should be enough)
  	   I printed first of all /usr/share/cups/data/default-testpage.pdf
	   It printed like a charm.
	   I then printed  /home/alan/beeth-1symph-p1.pdf.  This
	   game me, as before, the usual ugly mess.

> ?	grep 'Job xxxx? /var/log/cups/error_log > some_temp_file
> 	where xxxx is the job ID of the test print
	      Here is the complete /var/log/cups/error_log:
(start)--------------------------
D [27/Mar/2015:08:56:50 -0400] [Job 83] Unloading...
D [27/Mar/2015:08:57:13 -0400] Closing client 14 after 300 seconds of inactivity
...
D [27/Mar/2015:08:57:13 -0400] cupsdCloseClient: 14
D [27/Mar/2015:08:57:13 -0400] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files"
I [27/Mar/2015:08:57:19 -0400] Saving job.cache...
D [27/Mar/2015:08:57:19 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"

                                 ------------------------(finish)
		[  I like "dirty files"; very appropriate terminology ]


> ?	post (an URL to) the some_temp_file (or mail it directly to me
> 	if it is too long to be copied into the mail text).
	     I'm not sure what you want here.  You already have the
	     beeth-1symph-p1.pdf.


> That would give me the chance to dig more into the problem
> (as I have the sources of the cups-filter pacage at hand).
         I hope this information is helpful.

	 I forgot to mention earlier to you, what I had already said
	 in an earlier message:  I ran    pdftoppem on my 
	 beeth-1symph-p1.pdf(367850 bytes), getting a file
	 beeth.ppm of 6311267 bytes.  And that .ppm file prints
	 just fine.

	 I have also received thoughtful messages from Johannes.
	 I can't state that I fully understand what he wrote<g>, but
	 it may be helpful to summarize the instructions that I
	 downloaded from Canon, specific to this particular printer
	 MF3770n.  

(start)--------------------------
1. Start Linux, and log in as 'root'.

2. Install the common module for CUPS drivers.
   (this was "cndrvcups-common_x.xx-x_i386.deb" : common module for
 CUPS drivers, and I installed it with dpkg.  No problem.)

3. Install the UFR II printer driver module.
   ( This was "cndrvcups-ufr2-us_x.xx-x_i386.deb" : UFR II printer
 driver module.  Again, I installed this with dpkg.  No problem/)

4. Restart CUPS.

5. Register the printer (PPD) with the print spooler.
   This involved
# /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] 
  -v usb:[device file location] -E  .  It took me several tries to get
this right<g>.

                                 ------------------------(finish)

And then, Voila!  lp worked fine.  Except for the "dirty file" which
I discovered days later.

I think that Canon set me up pretty well.  Certainly the above menu
of instructions was easy to carry out.

I hope that this information will help the knowledgeable people here
to help me!

TIA

Alan

-- 
Alan McConnell :  http://globaltap.com/~alan/
      "It is a great advantage for a system of philosophy
      to be substantially true." (Sophia Loren)



More information about the cups mailing list