The A4988 Stepper Motor Driver is the perfect choice for 3D printer applications, and is without a doubt the most commonly used. The A4988 has a maximum output of 35V at ±1.5A, with 5 step revolutions of full-step, half-step, quarter-step, eighth-step, and sixteenth-step. The built in potentiometer allows you to set the maximum current output giving a higher voltage than your Stepper Motor’s rated voltage, thus allowing for a higher step rate. The A4988 offers thermal circuitry protection, this is done by interrupting the current to let the board cool if it gets to hot.
Heatsinks for supercool operation can be purchased here: https://ooznest.co.uk/product/stepper-motor-driver-heatsink/
In addition it is advisable to have a fan actively cooling the A4988 Stepper driver.