My intention is to use my router's wi-fi only for two smart phones with only their MAC addresses entered into the router settings while blocking all other wifi devices. The setup procedure for this printer required that it be connected by wifi to my iMac, and the iMac could nit have any other devices connected by cable or wifi. When that connection was successful, I plugged an RJ45 cat6 from the Gigabit switch to the printer, then deactivated the wifi network in my iMac, then activated its Ethernet. After connecting an identical RJ45 cat6 from another port on the Gigabit switch to my iMac, the printer worked. The next day, or some time later, the new printer was not working, while the older laser printer was still OK. Then I noticed that the blinking green lights at the switch ports, which should have been blinking in sequence with each other when idle, were missing a few blinkety blinks at the switch port leading to the new printer. This was the same port and cable that had been connected to the "obsolete" HP OfficeJet Pro 8610 which is now dead to the world on my kitchen table. My response to the lack of blinks was to replace the RJ45 cat6 with an RJ45 cat7, which is supposedly technically superior but actually is an inferior, less flexible construction with the jacks themselves being more cumbersome, more difficult to handle when connecting and disconnecting. Anyhow, the printer was not working, so I replaced the cat7 with the original cat6, but plugged it into a different port on the ethernet switch, all to no avail. The word ten years ago was that Apple does not make printers and scanners, so it was best not to buy an iMac due to conflicting technology and software. After buying a new iPhone 5s, the sales people at that Apple Store assured me that virtually any printer that would work with Windows would also work with an iMac. Now I have given away an HP scanner, two HP printers, and other branded printers that would not work with my Apples, but the people that I gave those devices to said that they worked fine on their setups.
This time, I went to apple.com and searched for printers which were recommended by Apple. The result was about eight devices, all HP. After culling out the laser printers, and the printers which could print larger than 8.5 x 11 paper, I was left with three or four. I focused on the 7864, and noticed in the specs what appeared to be a typographical error, where the height and depth had been swapped. It was obvious that it was a simple typo, but I called Apple on the phone and the tech tracked it down and agreed. Otherwise, the width and depth would not have been large enough for the paper to lie flat.
So I ordered the device online and arranged to pick it up last Monday (21may2018). When numerous, hopefully minor problems cropped up, I visited support.apple.com/en-us/HT201311 which lists "Printer and Scanner software for macOS High Sierra, El Capitan, Yosemite, and Mavericks. Your Mac automatically installs third-party software (drivers) for the following [approx. 5400] printers and scanners." My new "HP ENVY Photo 7864 All-in-One Printer" was listed there on Wednesday (23may2018). Another list viewed Sunday (27may2018) found at support.apple.com/en-us/HT201465#HP does not show the "HP ENVY Photo 7864..." or any other printer labeled "HP ENVY Photo..." I visited <https://www.apple.com/shop/mac/mac-accessories/printers-scanners?... >. This website shows all eight printers that I had asked for as being supported, recommended, or available through the good offices of Apple. The second time I visited that site, the list in the pane on the left under "Mac Compatibility" began with smaller Macs and ended with a 15 inch Mac. All these devices are smaller than my three iMacs. The next time I visited the site, there was an additional pulldown capability which revealed Mac Compatibility with additional Macs sized like mine from 21.5 inch to 27 inch. These larger Macs listed all referenced "Thunderbolt 2" and "Thunderbolt 3 (USB-C)", which is a reference that I had never noticed before in relation to my iMacs 13,1(2012); 17,1(2015); and 18,2(2017). Revisiting the page for a third time, the iMacs which had been tagged with "Thunderbolt 3 USB-C" were grayed out. I immediately refreshed the page, and they were no longer grayed out, but stood out as bold and black as every other Mac on the list.