I have the same printer as listed in this pinout: https://pinoutguide.com/PosDevices/HP_A799_POS_receipt_print_pinout.shtml
I had to purchase a custom power supply so I've purchased this one: https://www.ebay.com.au/itm/AU-Power-Supply-Adapter-Transformer-AC240V-To-DC24V-1-2-3-4-5A-for-LED-Strip/202120736297?ssPageName=STRK%3AMEBIDX%3AIT&var=502113259261&_trksid=p2057872.m2749.l2649
Note it has a simple positive and negative adapter on the end.
Based on the pinout link above, what pins should I be connecting the power supply's two pins?
Thanks so much