GNU/Linux Kali Printer HP OfficeJet 8730/8740/8745 Setup – Step-by-step Guide
The linked Tutorial shows you Step-by-Step How to Install HP OfficeJet 8730/8740/8745 Printer/Scanner in Kali GNU/Linux Desktop.
And the HP OfficeJet 8730/8740/8745 Driver Installation in Kali it’s quick and easy because it only involves running a few Basic Shell Commands.
Especially relevant: the HP Printer/Scanner Driver should be already Installed on System, but to get the Latest Supported Features & Devices you need to Upgrade it!
Again, in case of any Issue with your Device you may try the Legacy Alternative: HP Printer HPIJS Driver.
Most noteworthy: after the Driver Installation Installation to achieve the Setup follow the included instructions to Add Printer!
Finally, this guide includes detailed instructions on Getting Started with HP Scannig on Kali.

GNU/Linux Kali HP OfficeJet 8730/8740/8745 Printer Installation Guide