fix print code to support landscape

Change-Id: Ied569232a55ba953da59eeee2c13fc4608430a2d
1 file changed