Patent ID: 9575702
Date: 2017-02-21
CPC Classifications: G06F

Claim:
1. An information processing apparatus comprising: a processor; a storage unit configured to store an application program having a layered structure including a first layer constituted by a script instruction set which is translated to be able to be executed by said processor, and a second layer constituted by an instruction set which is translated in advance to be able to be executed by said processor, the application program executing an application by cooperation between the first layer and the second layer; a first display control unit configured to cause a display device, in the first layer, to display a screen in which an instruction by a user is accepted; an image obtaining unit configured to obtain image data, in the second layer, in accordance with the instruction by the user accepted by the screen displayed by said first display control unit; a conversion unit configured to convert a format, in the second layer, of the image data obtained by said image obtaining unit to a predetermined format which is interpretable in the first layer; a second display control unit configured to cause the display device, in the first layer, to display an image based on the image data of which the format is converted to the predetermined format by said conversion unit; a determination unit configured to determine rendering information, in the first layer, for rendering print target data corresponding to the displayed image displayed by said second display control unit, based on at least one of a drawing position and a size of the displayed image; and a rendering requesting unit configured to request a rendering unit, in the first layer, to render the print target data for printing, in accordance with the rendering information determined by said determination unit.