A non-transitory computer readable recording medium storing a control program for a document reading device including a conveyer that conveys a document in sheet form along a conveyance path and an image reader that reads an image of the document passing through an image reading position on the conveyance path midway through conveyance by the conveyer, the control program causing a computer of the document reading device to implement:
- a degree of tilt detecting procedure for detecting a degree of tilt of the document with respect to a basic posture upstream from the image reading position in a conveyance direction of the document;
- a tilt correcting procedure for performing, based on a result of detection by the degree of tilt detecting procedure, a tilt correcting process for correcting a tilt of a read image read by the image reader;
- a correction controlling procedure for making the tilt correcting process in the tilt correcting procedure unperformed if the result of detection by the degree of tilt detecting procedure is less than a first threshold, and causing the tilt correcting process in the tilt correcting procedure to be performed if the result of detection by the degree of tilt detecting procedure is not less than the first threshold but is less than a second threshold larger than the first threshold;
- and
- a stopping procedure for stopping conveyance of the document by the conveyer if the result of detection by the degree of tilt detecting procedure is not less than the second threshold.