Patent ID: 8159698

Claim:
An information processing apparatus comprising: a display unit which displays a print setting dialogue including a portion to be used for designating an attached file, the printing setting dialogue further including a print driver setting dialogue for a print driver generating print data based on a base file, and the print driver setting dialogue including a layout selection dialogue used for selecting a layout for the attached file and the base file, and a printing purpose selection dialogue used for selecting a purpose of printing; and a transmitting unit which, if the attached file is designated on the print setting dialogue but the purpose of printing is not selected on the printing purpose selection dialogue, generates a n-dimensional code from the attached file, generates a print data by applying the layout selected on the layout selection dialogue to the base file and the generated n-dimensional code, and transmits the generated print data, if the attached file is designated on the print setting dialogue and the purpose of printing is selected on the printing purpose selection dialogue, generates a n-dimensional code from the attached file, generates a print data by applying a layout in line with the purpose of the printing selected on the printing purpose selection dialogue to the base file and the generated n-dimensional code, and transmits the generated print data, and if the attached file is not designated, generates a print data from the base file, and transmits the generated print data.