24V adapter for thermal printer power supply