Described is a device for driving a dermatological laser. The system includes a first diode, an inductor, a switch, and a photodetector. A first end of the inductor is coupled to an end of the first diode, and a second end of the inductor is coupled to a flashlamp. An electrical control of the switch is coupled to a control system, a first end of the switch is coupled to a power source, and a second end of the switch is coupled to the first end of the inductor and the end of the first diode. The photodetector is adapted to measure at least one of output energy or output power of a laser medium pumped by the flashlamp. The photodetector is in communication with the control system for modulating a flashlamp that drives current to maintain a predetermined value of the measured output energy or output power.