Select and choose HP Standard TCP/IP Port if using a network.
Windows 7 does not have the modern HP Smart App. Instead:
How To Install and Setup HP Smart Tank 510 Wireless All-in-One [Guide]
Windows 7 reached its "End of Life" (EOL) on January 14, 2020. After this date, HP stopped guaranteeing new driver updates for this OS. While the printer was released after this date, HP often provides a "basic driver" rather than the full-featured software suite for older systems.