Patent ID: 6535292
Filing Date: 2003-03-18
Classification: G06K

Abstract:
A data processing apparatus which can execute image processing in units of a predetermined segment and can communicate with a printer through a predetermined communication medium, said apparatus comprising:print command forming means for producing a print image by analyzing a drawing command and forming, based on the print image, a print control command to be transmitted to the printer; compression means for compressing image data in a predetermined segment into compressed data by applying a specific compression method so as to obtain size information indicating a size of the compressed data; discrimination means for making a discrimination, based on the size information obtained by said compression means, as to whether the specific compression method is to be applied to the image data in the predetermined segment; and control means for controlling said print command forming means to form the print control command that is related to the specific compression method if said discrimination means makes a discrimination that the specific compression method is to be applied to the image data in the predetermined segment, wherein said discrimination means repeatedly makes the discrimination for every predetermined segment; and wherein said control means controls said print command forming means to form the print control command that is related to the specific compression method if the size information obtained by said compression means indicates the size of the compressed data to be smaller than a value obtained by multiplying a size of the image data in the predetermined segment by a predetermined ratio, and said control means controls said print command forming means not to form the print control command that is related to the specific compression method if the obtained size information does not indicate the size of the compressed data to be smaller than that value.