Let us try connecting your Android phone to an HP printer using how to connect your phone to a printer steps. To do this, you can make use of a USB OTG (On-The-Go) cable.
First, you should have the following things ready:
NOTE: An OTG cable does not come along with your printer. So, you have to buy it separately.