Active control of the pump spatial profile is proposed to exercise control over random laser emission. We demonstrate numerically the selection of any desired lasing mode from the emission spectrum. An iterative optimization method is employed, first in the regime of strong scattering where modes are spatially localized and can... Show more