@@ -66,7 +66,7 @@ Please note that the `node-hp-scan-to` project is not endorsed by nor affiliated
6666### Command line
6767` npx node-hp-scan-to `
6868
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 ` .
7070- ` --device-up-polling-interval ` is the polling interval in milliseconds to detect if the device is up or not
7171- ` -l ` or ` --label ` The label to display on the printer (default is the hostname).
7272- ` -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
113113Exhaustive list of supported environment variables and their meaning, or correspondence with [ command-line flags] ( #command-line ) :
114114- ` PUID ` : id of user that will run the program
115115- ` PGID ` : id of group that will run the program
116- - ` IP ` : command-line flag ` -ip ` /` --address `
116+ - ` IP ` : command-line flag ` -a ` /` --address `
117117- ` PATTERN ` : command-line flag ` -p ` /` --pattern `
118118- ` LABEL ` : command-line flag ` -l ` /` --label `
119119- ` NAME ` : command-line flag ` -n ` /` --name `
@@ -218,7 +218,7 @@ cd node-hp-scan-to
218218yarn install -d
219219yarn build
220220# 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"
222222` ` `
223223
224224# ### Debugging
0 commit comments