A light-emitting transistor (LEFET) architecture with a distributed feedback (DFB) resonator structure nanoimprinted into the gain medium offers a route to achieving an electrically pumped plastic laser. A 2D DFB laser provides lower lasing thresholds than a 1D DFB laser under identical conditions. The 2D DFB lasers exhibit excellent characteristics with lasing threshold and slope efficiency of 32 nJ/pulse and 1.2%, respectively.