IDK if you seen this info from here.
-IP printers have three printing protocols to choose from. Select the appropriate option for your printer.
-HP Jetdirect – Socket: HP and many other printer manufactures use this protocol.
-Line Printer Daemon – LPD: Earlier printers and printer servers may use this protocol.
-Internet Printing Protocol – IPP: Modern printers and printer servers use this protocol.
-Note: If you pick a protocol other than HP Jetdirect – Socket, you will not be able to gather printer info. You will have to manually select the PPD and installable options.
You can get some info of a printer from Apple menu > About This Mac > More Info > Hardware > Printers, but IDK if it lists the protocol used for the printer.