Patent ID: 8607721

Claim:
A non-transitory computer readable medium for use with a sewing machine including an irradiation unit that irradiates a reference mark providing a basis for locating a workpiece or a sewing pattern in sewing the workpiece placed on a sewing machine bed, a relocation unit that moves the reference mark irradiated on the bed or the workpiece; and an imaging unit that captures an image of a predetermined view range including the reference mark irradiated on the bed or the workpiece and a presser foot of the sewing machine; the computer readable medium storing a control program for relocating the irradiated reference mark to a location desired by a user, the control program comprising: instructions for identifying a direction of movement and an amount of movement of the reference mark with respect to the presser foot when the reference mark is specified and moved to a desired location by the user based on the image including the reference mark and the presser foot captured by the imaging unit, and instructions for controlling the relocation unit such that the reference mark irradiated on the bed or the workpiece is moved in correlation with the direction of movement and the amount of movement identified by the identifying.