A:Answer It should, because otherwise there is no way for the printer to receive the file. It needs to be connected to your wifi network for it to connect to your phone. Even if it does not connect directly to your phone, and you just email the document to your printer, the printer would still need to be part of your wireless network.
There’s some relevant information here, if that helps:
https://support.hp.com/us-en/document/c02775166