Patent ID: 8749826

Claim:
An information processing apparatus comprising: a determination unit configured to determine whether a communication protocol corresponding to a print queue selected by a user can acquire information from an image forming apparatus when processing a print job; a switching unit configured, when said determination unit has determined that the communication protocol corresponding to the print queue cannot acquire the information from the image forming apparatus, to switch the print queue corresponding to the communication protocol of a determination target of said determination unit to a print queue corresponding to a communication protocol capable of acquiring the information from the image forming apparatus; an execution unit configured to process the print job using the print queue switched by said switching unit; an existence determination unit configured, when said determination unit has determined that the communication protocol corresponding to the print queue cannot acquire the information from the image forming apparatus, to determine whether the print queue corresponding to the communication protocol capable of acquiring the information from the image forming apparatus exists in the information processing apparatus; and a generation unit configured to generate the print queue corresponding to the communication protocol capable of acquiring the information from the image forming apparatus when said existence determination unit has determined that the print queue corresponding to the communication protocol capable of acquiring the information from the image forming apparatus does not exist in the information processing apparatus, wherein said switching unit switches the print queue to the print queue generated by said generation unit when said generation unit has generated the print queue corresponding to the communication protocol capable of acquiring the information from the image forming apparatus, or to the print queue whose existence has been determined by said existence determination unit when said existence determination unit has determined that the print queue corresponding to the communication protocol capable of acquiring the information from the image forming apparatus exists in the information processing apparatus.