4

I have bought this week a Canon Pixma MG3052, which is a multifunction printer. I installed the printer drivers from canon's website and "Scan Gear MP".

I am able to scan with the scangearmp2 command, but I am unable to do the same with scanimage. The scanner is not found, and if I add it manually to the /etc/sane.d/pixma.conf, an error shows up:

[bjnp] udp_command: ERROR - no data received (timeout = 1000)
[bjnp] bjnp_init_device_structure: Cannot read mac address, skipping this scanner
[bjnp] udp_command: ERROR - no data received (timeout = 1000)
[bjnp] add_scanner: ERROR - Cannot read scanner make & model: bjnp://192.168.1.2

I have upgraded my sane version using sane-git with no success, the same message keeps happening.

I've read the sane-pixma man page and the MG3000 series does not seem to be supported.

After a lot of research, I've seen that the underlying protocol that sane-pixma uses is BJNP on port 8612. I've then come across this page : http://www.qwhatis.com/what-is-bjnp/

The BJNP protocol is part of the older Canon Pixma printer models.

and

People have always complained about the printing limitations under the BJNP protocol

If I understand well, the new printer I've bought does not use BJNP anymore and I can't use the sane-pixma backend to scan? How do I do then?

Does anyone knows what is the new protocol to use?

cube45
  • 153

2 Answers2

1

For scanner, have you tried sane-escl (inside sane-backends) or sane-airscan (https://github.com/alexpevzner/sane-airscan)? I tried it with my Canon TS9020 and they both work.

Henry Hu
  • 126
1

It seems that the Pixma MG3051/MG3052 does not support the BJNP protocol. The port 8612 used by BJNP appears closed. I think it might work with the sane-pixma driver if connected by USB cable, but I don't think there is support for scanning over network with sane.

Indeed Canon's own scangearmp2 works over network if you use version 3.40 or newer. I took a capture and the protocol seems quite simple http-based one, called CHMP (Canon HTTP Management Protocol). In case anyone is interested, the capture is here.

jpa
  • 1,595