Controlled generation and steering of spatial gap solitons