Page 3 of 6

Posted: Fri 22 Jun 2012, 13:57
by rcrsn51
Deleted.

Posted: Sat 23 Jun 2012, 04:28
by bones01
Thanks for that. I'll give it a crack on Monday and let you know how it goes.
I am having some truoble with the laptop separate to this, so it may take a while to get it back.

Bones

Canon MX-340

Posted: Tue 26 Jun 2012, 18:07
by KJ
I have a Canon Pixma MX340 and now need to use the scanner .. your printer .pet works great. If you have the time, could you put a .pet together please? Thanks ... KJ

Posted: Tue 26 Jun 2012, 18:54
by rcrsn51
What Puppy version are you running?

According to SANE, your MX340 should be auto-detected. So it should work OOTB in the Xsane scanner program.

If not, try the pixma_backend_lupu-1.0.22.pet I have posted just above.

MX340 scanner

Posted: Wed 27 Jun 2012, 13:39
by KJ
Thanks for your quick response. Sorry .... I should have given more background. I'm running Fluppy 12 as my main OS ... so I loaded the pixma-backend-431-1.0.21.pet for Puppy 4.3.1 and then tried xsane .... no joy ... 'scanner no detected'. Tried the 'sane-find-scanner and 'scanimage -L ' CLI commands 'scanner not detected'.

Your MX-340 printer .pet works on this OS but I found that manually copying the driver over when installing the printer in CUPS works best.

I have Saluki 22 and a couple other newer 5xx pups on a 'testing' USB flashdrive ... I will check them out later as we have relatives staying with us few days. Thanks for your help .... KJ

Re: MX340 scanner

Posted: Wed 27 Jun 2012, 13:50
by rcrsn51
KJ wrote:I'm running Fluppy 12 as my main OS ... so I loaded the pixma-backend-431-1.0.21.pet for Puppy 4.3.1
I can't figure out from the SANE site when a particular model starts receiving support. But it sounds like your MX340 is newer than Fluppy's version of SANE.

As a test, you can try the above PET in Lupu. Or your unit may work OOTB in Slacko. But we need to know that first, below dealing with Fluppy.

MX340 scan

Posted: Fri 29 Jun 2012, 22:25
by KJ
Tried my canon MX340 on Saluki 22 no joy ... then tried Lupu-528, looked like it was detected as Xsane came up but got an "Error during read: Error during device I/O" message. Printer shows that there is a "save to usb pc" connection.

Loaded pixma_backend_lupu-1.0.22.pet ..... Got the same message

Loaded Slacko533F ... Xsane reports "no device found" OOTB. Thanks .. KJ

Posted: Sat 30 Jun 2012, 01:42
by rcrsn51
Hmm.. Slacko has SANE 1.0.21. So if your MX340 is not being detected, it must have first received support in 1.0.22.

I have packaged a version for Slacko below.

[deleted]

MX340 scan

Posted: Sat 30 Jun 2012, 03:16
by KJ
rcrsn51: Thank you very much for all your help with My MX-340 printer-scanner set up. I was about to edit my last post and saw that you had already responded. Turns out that both pixma_backend_lupu-1.0.22.pet and pixma_backend_slacko-1.0.22.pet work with Slacko533F. Did a test file scan and save to file and both .pets work on my older Acer Aspire 5570Z laptop. Great to have the scanner up and running... I really like Fluppy12 but will need to move on before long .... Thanks again KJ

Posted: Sat 30 Jun 2012, 03:44
by rcrsn51
Glad to help. As a test, could you please try the pixma_backend_slacko-1.0.22.pet in Lupu? It should be backwards compatible.

Posted: Sat 30 Jun 2012, 17:26
by KJ
rcrsn51: Tried the pixma_backend_slacko-1.0.22.pet in Lupu-lucid528. Sorry .... no joy. Xsane did not work. Ran sane-find-scanner ..... detected MX340 .... Ran scanimage -L and got this error message

Code: Select all

scanimage: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
What shall I try next? KJ

Posted: Sat 30 Jun 2012, 18:23
by rcrsn51
My mistake - I uploaded the wrong file. The new PET above fixes the missing lib in Lupu.

MX340 scan

Posted: Sun 01 Jul 2012, 13:33
by KJ
Sorry .... I need to retest my setup before I comment. I downloaded the Updated 2012-06-30" pixma_backend_slacko-1.0.22.pet but now I can not find the pixma_backend_lupu-1.0.22.pet for download on page 3 (?) anymore so I guess you would like the "new Slacko .pet tested? KJ

Re: MX340 scan

Posted: Sun 01 Jul 2012, 13:55
by rcrsn51
KJ wrote: so I guess you would like the "new Slacko .pet tested? KJ
Yes. This one works for me in Lupu with my MP490. But it sounds like your MX340 is a bit different.

MX340 scan

Posted: Sun 01 Jul 2012, 20:30
by KJ
rcrsn51: Updated 2012-06-30" pixma_backend_slacko-1.0.22.pet works fine on Slacko533F but still not working on Lupu528. Xsane comes up on screen but "preview" or "scan" still gives an immediate "scan-I/O error" KJ

Posted: Sun 01 Jul 2012, 20:45
by rcrsn51
Here is one more thing to try in Lupu:

Open a terminal and type

Code: Select all

export SANE_DEBUG_DLL=255
export SANE_DEBUG_PIXMA=255
xsane
Do a scan. Hopefully, the last message that shows in the terminal will be useful.

Posted: Mon 02 Jul 2012, 13:25
by KJ
rcrsn51 This is the response section.

Code: Select all

[pixma] XML message sent to scanner:
<?xml version="1.0" encoding="utf-8" ?><cmd xmlns:ivec="http://www.canon.com/ns/cmd/2008/07/common/"><ivec:contents><ivec:operation>EndJob</ivec:operation><ivec:param_set servicetype="scan"><ivec:jobID>00000001</ivec:jobID></ivec:param_set></ivec:contents></cmd>
[pixma] XML response back from scanner:
<?xml version="1.0" encoding="utf-8" ?>
<cmd xmlns:ivec="http://www.canon.com/ns/cmd/2008/07/common/">
	<ivec:contents>
		<ivec:operation>EndJobResponse</ivec:operation>
		<ivec:param_set servicetype="scan">
			<ivec:response>OK</ivec:response>
			<ivec:response_detail/>
			<ivec:jobID>00000001</ivec:jobID>
		</ivec:param_set>
	</ivec:contents>
</cmd>
[pixma] pixma_read_image() failed EEOF
[pixma] Reader task terminated: EEOF
[pixma] BUG: unmapped error -14
[pixma] read_image():reader task closed the pipe:0 bytes received, 1678578 bytes expected

I will redo and send more data if that will help. Thanks KJ

Posted: Mon 02 Jul 2012, 13:48
by rcrsn51
KJ wrote:[pixma] pixma_read_image() failed EEOF
[pixma] Reader task terminated: EEOF
[pixma] BUG: unmapped error -14
[pixma] read_image():reader task closed the pipe:0 bytes received, 1678578 bytes expected
That's a mystery. I have no idea why this driver would fail with your MX340 in Lupu. Like I said, it works with my MP490. This sounds like some kind of low-level USB issue.

As a final test, could you boot Lupu off its Live CD using "puppy pfix=ram"? Install the driver again and do a scan.

You could also try the same thing with Wary. The driver should be backwards compatible with Wary.

I googled this and you are not alone.

Posted: Mon 02 Jul 2012, 16:56
by KJ
EDIT: I realized that I had burned the wrong lupu528 version to CD.... not the same as the USB loaded version (lucid528v4) .... am burning correct copy for comparison. KJ

Posted: Mon 02 Jul 2012, 18:36
by rcrsn51
Since the SANE driver is problematic, here is the official Canon driver. You will also need to install the scangearmp_common-1.5.pet from Page 3.

This driver uses its own scanning program - find it in the Graphic menu.

For the purposes of testing, run "scangearmp" from the console.