A production miner was attempting to tram the bolter out of the face from the basket when he lost hydraulic functions to the inch tram. Troubleshooting the possible causes he then noticed flames billowing from underneath the engine compartment of the bolter. The operator activated the fire suppression system and exited the basket.