@@ -66,7 +66,7 @@ Please note that the `node-hp-scan-to` project is not endorsed by nor affiliated
66
66
### Command line
67
67
` npx node-hp-scan-to `
68
68
69
- - ` -ip ` or ` --address ` followed by the ip address of the printer, i.e. ` -ip 192.168.0.5 ` . This overrides ` -p ` .
69
+ - ` -a ` or ` --address ` followed by the ip address of the printer, i.e. ` -a 192.168.0.5 ` .
70
70
- ` --device-up-polling-interval ` is the polling interval in milliseconds to detect if the device is up or not
71
71
- ` -l ` or ` --label ` The label to display on the printer (default is the hostname).
72
72
- ` -n ` or ` --name ` followed by the printer name, it probably contains spaces, so it needs to be quoted, i.e. ` -name "Officejet 6500 E710n-z" `
@@ -113,7 +113,7 @@ For the correct permissions to the volume set the environment variables `PUID` a
113
113
Exhaustive list of supported environment variables and their meaning, or correspondence with [ command-line flags] ( #command-line ) :
114
114
- ` PUID ` : id of user that will run the program
115
115
- ` PGID ` : id of group that will run the program
116
- - ` IP ` : command-line flag ` -ip ` /` --address `
116
+ - ` IP ` : command-line flag ` -a ` /` --address `
117
117
- ` PATTERN ` : command-line flag ` -p ` /` --pattern `
118
118
- ` LABEL ` : command-line flag ` -l ` /` --label `
119
119
- ` NAME ` : command-line flag ` -n ` /` --name `
@@ -218,7 +218,7 @@ cd node-hp-scan-to
218
218
yarn install -d
219
219
yarn build
220
220
# now start the program with the ip or name of the desired printer
221
- node dist/index.js -ip 192.168.1.4 # or -n "Officejet 6500 E710n-z"
221
+ node dist/index.js -a 192.168.1.4 # or -n "Officejet 6500 E710n-z"
222
222
` ` `
223
223
224
224
# ### Debugging
0 commit comments