To allow a document image processor to automatically switch a processing method for processing to either a page unit or a whole page set according to electronic document data received from an information processor.
When electronic document data is received from an information processor, a CPU 101 determines whether a parameter for controlling a page processing order is added to the electronic document data (S605). In the step, if the CPU 101 determines that the parameter is added, the processing order of the electronic document data is processed in page serial, and if determining that the parameter is not added, the CPU 101 switches a drawing processing method to whole page set processing for the processing order of the electronic document data (S606-S608).