1. A mobile terminal comprising: a user interface unit configured to detect a user input and a user action; a controller configured to generate a first gallery of a first application, the first gallery including an image saved in the mobile terminal, and to generate a second gallery in response to the user input or the user action by linking the first application to a second application based on print history information; an output unit configured to output an image of the second gallery; and a transmitting unit configured to transmit, to a printing device, a signal including the second gallery image and a request for printing the second gallery image.