For each of documents or folders containing the documents, setting data on a plurality of setting items in a print settings window for printing the document and display setting data on the print settings window are stored. When an instruction is provided to print a document, the print settings window for the document is displayed on the basis of the setting data and display modification data, and the display modification data for the print settings window is stored according change or addition of a setting item in the print settings window.