sbs20 / scanservjs

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

Canon TR8500 #719

Open chiragd opened 8 months ago

chiragd commented 8 months ago

I'm using scanservjs in a docker container.

I have a canon TR8500 connected to my wifi in the same vlan as my synology nas which runs the docker container.

When I add the printer's IP in docker compose as any of the following it is not detected:

However, when I include this line it is found and I can scan from it:

There is an error in the logn about the first device, because it doesn't exist, but the airscan part works.

If I trim the line down to:

It fails to force the device to be added and I cannot scan from it.

It feels like something odd is going on. Is this working as intended?

chiragd commented 8 months ago

update:

- DEVICES=airscan:e0:"Canon TR8500 series" The above line in docker-compose works and I can scan from the device.

Connecting to docker and running airscan-discover

root@67d90453d8e3:/usr/lib/scanservjs# airscan-discover
[devices]
  Canon TR8500 series = http://10.15.1.19:80/eSCL/, eSCL
  Canon TR8500 series = https://10.15.1.19:443/eSCL/, eSCL

- AIRSCAN_DEVICES="Canon TR8500 series" = "http://10.15.1.19:80/eSCL/" Is included in docker compose but doesn't cause the device to be discovered on its own. If the correct way to add a device is by forcing it, then I kindly suggest updating the documentation accordingly. Thanks :)