node-hp-scan-to icon indicating copy to clipboard operation
node-hp-scan-to copied to clipboard

Regardless of IP defined in env it is searching for scanners

Open manuc66 opened this issue 3 weeks ago • 2 comments

Regardless of IP defined in env it is searching for scanners using Bonjour.

This doesn't work, so the container restarts.

Originally posted by @domse in https://github.com/manuc66/node-hp-scan-to/issues/1464#issuecomment-3577047606

manuc66 avatar Nov 25 '25 19:11 manuc66

@manuc66 I'm using v1.9.6 without Docker but when I pass the IP address with the --address flag, the app still gets stuck on the Searching device... step and doesn't detect the ADF load in adf-autoscan mode.

gy-mate avatar Dec 07 '25 17:12 gy-mate

@gy-mate I tried to reproduce but didn't managed, I'm getting this on my side:

$ npx [email protected] --address 192.168.1.53
Current commit ID: 1c4ef6f4f400c8ea501eaded52e9758e1d2c3d69
Using device ip: 192.168.1.53
Target folder: /tmp/scan-to-pcyu3SSo
Temp folder: /tmp/scan-to-pcW9k8zE
Running iteration: 1 - errorCount: 0

manuc66 avatar Dec 07 '25 22:12 manuc66

Hmm—thanks for checking! Here are the detailed reproduction steps:

  1. Install node v25.2.1 on macOS 26.1
  2. Install pnpm v10.12.4
  3. Install node-hp-scan-to v1.9.6:
pnpm install -g node-hp-scan-to
  1. Run the app:
node-hp-scan-to adf-autoscan --address 192.168.████ --width 2450 --directory ~/Downloads -D
  1. It gets stuck here:
WARNING: No configurations found in configuration directory:/Users/████/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
Running with Git commit ID: 6b48b6270c32458597c71ef7bb12b99f29be155f
Searching device...
.

Device: HP DeskJet Ink Advantage 3775 All-in-One

gy-mate avatar Dec 08 '25 12:12 gy-mate

@gy-mate Seems to be an issue with npm publish (not yet fully solved), can you test the version 1.9.8 ?

manuc66 avatar Dec 09 '25 23:12 manuc66

It works now, thank you very much!! :)

gy-mate avatar Dec 10 '25 16:12 gy-mate