sbs20 / scanservjs

SANE scanner nodejs web ui
https://sbs20.github.io/scanservjs/
GNU General Public License v2.0
766 stars 145 forks source link

Ability to add Canon PIXMA scanners which are using bjnp to docker container #596

Closed GrumpyRobsel closed 1 year ago

GrumpyRobsel commented 1 year ago

Issue #594

Add the ability to add Canon PIXMA scanners to the /etc/sane.d/pixma.conf by environment variable.

The new environment variable for adding Canon PIXMA scanners using the bjnp protocol is PIXMA_HOSTS.

Canon PIXMA network scanners using the bjnp protocol must be configured in the pixma.conf. Otherwise they are not recognized.

simonebortolin commented 1 year ago

despite this with the Canon i-SENSYS MF210 this fix does not work, it gives the following error:

[18:14:25.061870] [bjnp] udp_command: ERROR - no data received (timeout = 10000)
[18:14:25.062164] [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping this scanner
sbs20 commented 1 year ago

Thanks for this @Scowl13!