Patent ID: 8830261

Claim:
An information processing terminal device comprising: a display configured to display an image; a sensor configured to output posture information indicative of a posture of the information processing terminal device; a communication interface configured to communicate with a printing apparatus; a user interface configured to receive a user's operation; and a processor configured to: receive a display instruction instructing the display to display a print preview image based on image data selected through the user interface; acquire the image data in response to receiving the display instruction; start generating first preview image data, based on the acquired image data, in response to acquiring the image data, the first preview image data corresponding to a first configuration of the print preview image based on a first posture indicated by the posture information output by the sensor; put the information processing terminal device in a first state while generating the first print preview image data, the first state being a state in which generating the first print preview image data cannot be canceled, even if the information processing terminal device is changed from the first posture to a second posture different from the first posture; put the information processing terminal device in a second state after completing the generation of the first preview image data, the second state being a state in which the processor is configured to start generating second print preview image data, based on the acquired image data, if the information processing terminal device is changed to the second posture, the second print preview image data corresponding to a second configuration of the print preview image based on the second posture, and the second configuration being different from the first configuration; start generating the second preview image data in response to receiving the posture information, which indicates a change of the posture of the information processing terminal device from the first posture to the second, from the sensor, if the information processing terminal device is in the second state; display the first configuration of the print preview image on the display based on the generated first print preview image data in response to completing the generation of the first print preview image data; display the second configuration of the print preview image on the display based on the generated second print preview image data in response to completing the generation of the second print preview image data; and receive a print instruction based on the image data selected through the user interface after the print preview image is displayed on the display.