Open robertozanasi opened 1 year ago
I have the same problem with my Canon Pixma MG5550 and docker.
After adding bjnp://<scanner-ip>
manually to the /etc/sane.d/pixma.conf
inside the container it worked for me:
echo "bjnp://<scanner-ip>" >> /etc/sane.d/pixma.conf
Maybe there could be a way to add Canon PIXMA scanners using an extra environment variable like SANED_NET_HOSTS
or AIRSCAN_DEVICES
.
Can confirm that this is also needed on my 'Canon Pixma MP620' connected via wifi. It will not find it automatically inside docker without modifying '/etc/sane.d/pixma.conf' like previously mentioned.
I've merged the fix from @Scowl13 into master
. I'm not doing a proper release just yet, but there should be a docker nightly available tomorrow for scanservjs:staging
.
Hopefully this should help everyone. If it looks good I'll see if I can get another release done soonish.
Canon Pixma scanner not automatically recongnized I'm trying to use scanservjs inside a docker container, with a Canon Pixma MX920 printer/scanner connected via ethernet.
This is the output of
scanimage -L
outside the docker container:But if I run the same program inside the docker container, nothing is found.
After some tests, I found that adding the following line to
/etc/sane.d/pixma.conf
inside the docker container solves every problem:bjnp://192.168.1.5
But this line will be overwritten at every container update. So, how can I solve the problem permanently?
My docker-compose.yml file