A non-transitory computer-readable storage medium storing a program for causing a processor to execute a method of controlling a print apparatus that receives a print job processed by an image processing apparatus and prints an image on a sheet, the method comprising the steps of:
- (A) measuring a patch image printed on a sheet using a spectral sensor that is placed on a paper conveyance path between a fixing device and a paper discharge outlet in the print apparatus;
- (B) determining, based on an attribute of a print job received from the image processing apparatus, whether or not the print job received from the image processing apparatus is a print job of a first type for printing the patch image to be measured in the measuring step;
- (C) in a case in which it is determined that the received print job is the print job of the first type, (a) executing print processing according to the print job of the first type to print the patch image on a sheet, (b) measuring the patch image printed on the sheet, and (c) discharging the sheet, on which the patch image has been measured, via the paper discharge outlet;
- (D) in a case in which it is determined that the received print job is a print job of a second type that is different from the print job of the first type, to execute print processing according to the print job of the second type;
- and
- (E) transmitting a result of the measurement of the patch image to the image processing apparatus,
- wherein calibration data for adjusting an image to be printed by the print apparatus is generated based on the result of the measurement and is applied to a print job of the second type by the image processing apparatus.