Patent ID: 8274719

Claim:
An information processing apparatus comprising: a memory and at least one processor; an application; a graphics device interface; a driver; a print processor; and a previewer, wherein the application requests the graphics device interface to initialize the driver and to return a resolution, wherein the graphics device interface in response to the requested initialization of the driver initializes the driver and requests the driver for printer information, wherein the driver in response to the request for printer information returns the printer information depending on a print resolution to the application in a case where a flag indicating initialization for previewing is not set, wherein the application in response to the returned printer information depending on the print resolution creates print data based on the printer information depending on the print resolution and outputs the created print data to the graphics device interface, the graphics device interface in response to the created print data spools the print data according to a standard spool file format and requests the print processor to start printing, wherein the print processor in response to the request to start printing, when previewing is necessary, sets the flag indicating initialization for previewing and requests the graphics device interface to initialize the driver and request the resolution, wherein the graphics device interface in response to the initialization request initializes the driver and requests the printer information to the driver, wherein the driver in response to the request for the printer information returns the printer information depending on a preview resolution to the print processor when the flag indicating initialization for previewing is set, the print processor in response to the printer information depending on the preview resolution requests the graphics device interface to output print data based on the printer information depending on the preview resolution, wherein the graphics device interface in response to the request to output the print data based on the printer information depending on the preview resolution performs coordinate transformation based on the printer information depending on the preview resolution on the print data created and spooled based on the printer information of the print resolution, and outputs the transformed print data to the driver, wherein the driver in response to the output transformed print data rasterizes the transformed print data and stores the rasterized print data into a preview file, and wherein the previewer previews the print data in the preview file.