Patent ID: 8537408

Claim:
An information processing apparatus comprising a processor which executes a program stored in a memory, wherein the processor functions as: a layout processing unit configured to receive document data from a specific storing area; a preview document generation unit configured to receive layout-processed document data from the layout processing unit, the layout-processed document data being document data on which layout processing has been performed; a preview control unit configured to receive the layout-processed document data from the preview document generation unit and to control display of a preview based on the layout-processed document data; and a print command generation processing unit configured to receive the layout-processed document data from the preview document generation unit, wherein, if display of the preview is completed, the layout processing unit is configured to output the layout-processed document data received from the specific storing area spool file to the preview document generation unit without performing new layout processing based on print setting information, and if display of the preview is not completed, the layout processing unit is configured to perform layout processing on the document data received from the specific storing area based on the print setting information and to output the layout-processed document data to the preview document generation unit, wherein, if display of the preview is completed or is not set, the preview document generation unit is configured to output the layout-processed document data to the print command generation processing unit, and if display of the preview is set while the display of the preview is not completed, the preview document generation unit is configured to the layout-processed document data to the preview control unit, wherein the preview control unit is configured to output, to the specific storing area, the layout-processed document data to which display of the preview is completed based on a print instruction, and wherein the print command generation processing unit is configured to convert the layout-processed document data into a print command that is interpretable by a printer.