Patent ID: 8330974

Claim:
A data processing apparatus, comprising: an image reader for reading an original; a receiver capable of receiving an external job transmitted from an outside source; a transmitter capable of performing a first process on image data of the original read by said image reader as a scanning job by transmitting the image data to an outside device; a print device for performing a second process on printing data of the external job received by said receiver by printing the printing data; one or a plurality of compressing/expanding devices for compressing the image data of the scanning job or the data of the external job and expanding the compressed data; and a controller for controlling execution of processing the external job for the second process by the print device and the scanning job for the first process by the transmitter by said one or the plurality of compressing/expanding devices, wherein an ordering of priority of the external job and the scanning job is determined in accordance with execution status indicating whether the external job is a confidential print job, and the execution of processing the external job and the scanning job is controlled in accordance with the determined ordering priority in cases where a request for processing the data of the external job by said one or the plurality of compressing/expanding devices and a request for processing the data of the scanning job by said one or the plurality of compressing/expanding devices overlap.