how about that,
i was trying to install the printer using USB cable,
but it was unable to register scan task in the printer!
after 10 uninstalls in some variations,
where i don't understand why the UI has missing sections,
and trying to run the exe for registring the computer in the printer manually,
nothing worked,
the uninstall was deep, and included also removing all HP related folders using the search programs everything.
and registry cleanup, including old devices.
it was an issue removing scheduled tasks, startup run items (resolved)
and the old hp drivers (i just left them).
after installation from the thin (~20mb) installer instead of the full 300mb one,
letting it download everything,
since it also doing stuff...
"figuring device capabilities"
a 10+ minutes of waiting in front of white screen,
the setup finally managed to look for the printer and install all the drivers.
then i figured that the DHCP of the router wasn't preserving the IP of the printer,
and the installation is HARD CODING THE IP!!! in various registry entries as well as properties of the printer...
so...
I was entering asap to the embedded-webpage of the printer, that allows managing it,
in my case http://10.0.0.5
firefox was able to enter it, with warning,
under network i managed to change its HOSTNAME ("שם מארח") - https://10.0.0.5/#hId-pgNetworkSummary
I made sure there - there is no hard-coding of IP, just DHCP...
i forced just 5ghz under https://10.0.0.5/#hId-pgWirelessBandFrequency
I used the name from the Bonjour protocol - https://10.0.0.5/#hId-pgBonjour it is kind of random i think 'HPC8AAAAAAAAAAA' but just in case i'll obfuscate its content
and - probably my mistake i made sure everything here was enabled:
https://10.0.0.5/#hId-pgDHCP
(the DHCPv4 was unchecked)
you will be notified that the printer will be disconnected and the certificate for the embedded webpage will be re-written..
now that you've set the hostname properly you can access the web-page using "http://HPC8AAAAAAAAAAA"
AND!!!!!
use this instead of IP in your computer,
this is a workaround for hard coded IP.
you'll find a Location value under those values:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\HP OfficeJet Pro 8020 series PCL-3 (Network)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\HP OfficeJet Pro 8020 series PCL-3 (Network)\DsSpooler
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Print\Printers\HP OfficeJet Pro 8020 series PCL-3 (Network)
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Print\Printers\HP OfficeJet Pro 8020 series PCL-3 (Network)\DsSpoolerthis is where i replaced the ip 10.0.0.1 or 10.0.0.5 with the hostname
"http://HPAAAAAAAAAAA:3911/"
obviously, you can not predict what the model and number will be in your installation, so visit few keys before
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers"
and try to figure out what your printer is...
I also found this:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{6bdd1fc6-810f-11d0-bec7-08002be2092f}\0001\DeviceData"
with "NetworkDeviceID" pointing to "\hostname:10.0.0.1\ipaddr:10.0.0.1\guid:urn:uuid:e13d7e55-3d02-557b-807b-90ff21186e82\macaddr:c85acfce519f\port:1"
as you can see the IP is hard coded by the installation, as hostname,
I had to both fix the hostname as well as change the IP, which I assume sometime when the device will disconnect the router will re-assign a new one...
but I hope the DHCP will allow me to always resolve the HOSTNAME correctly
so I updated the hostname and the ip in "NetworkDeviceID"
to "\hostname:HPAAAAAAAAAAA\ipaddr:10.0.0.5\guid:urn:uuid:e13d7e55-3d02-557b-807b-90ff21186e82\macaddr:c85acfce519f\port:1"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SWD\PRINTENUM{E67D9B3B-6190-463F-A39D-E3531E87256C}
had "LocationInformation"
which I also updated to "http://HPC85ACFCE519E:3911/"
as well as
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SWD\PRINTENUM\WSD-17d495ba-e941-4b8b-a443-3baf24e2759a"
eventually I found the registry keys by searching both the current (to the router session)
and the old installation values
(I did found an old 10.0.0.11 when searched 10.0.0.1, so be carefull!!!)
note:
I had to also search (using the everything client)
for any (small) file that might have the ip hard coded..
size:2..100kb content:10.0.0.5
size:2..100kb content:10.0.0.1
the search (the entire computer is very slow).
there is also a program in the UI that handles updating IP address,
for the installation in the computer.
in my case it was using the old 10.0.0.1
its command line (from the main manager application) is
"C:\Program Files\HP\HP OfficeJet Pro 8020 series\Bin\DeviceSetup.exe" /user "ELADCOM\Elad" /changeip "" /prfn "HP OfficeJet Pro 8020 series PCL-3 (Network)"
sadly, it told me "we currently have issues updating the ip in your device, try to reboot"....
alright what i did was, under tools, choose to connect "new device",
which i choose wireless (first option),
next, i chose to manually set the device, and entered exactly the hostname,
which seems to use the same installation of the previous device.
it doesn't seems to be fully via registry, so I started looking around,
and C:\ProgramData\HP\HP OfficeJet Pro 8020 series\NetworkDevices
has a single ini file with the device name there.
not sure what it does,
but the details there seems to be the most recent, i.e. including the hostname and the ip.