A textile-printing-and-embroidery system, comprising: a textile printing apparatus configured to print a thread; an embroidery apparatus including a needle to embroider a cloth, based on embroidery data, with the thread fed from the textile printing apparatus; a dyeing data processor configured to create initial dyeing data for realizing a changing color of a thread of the embroidery data, and insert at a color change point at which a color to be dyed changes in the initial dyeing data, redundant data to which a turn-back marker serving as a mark on the thread is attached, as necessary based on the color difference and the continuation lengths of the colors before and after the color change point; and an embroidery data processor configured to insert underlay stitching data for stitching a portion below an embroidery region of a scheduled next color, at the color change point on the embroidery data that is a position at which the redundant data is inserted on the dyeing data, such that the underlay stitching data is longer than the redundant data, the textile printing apparatus including a dyeing device configured to print the thread based on the dyeing data including the redundant data to which the turn-back marker is attached; and characterized in that: the embroidery apparatus includes an underlay stitching controller configured to perform an underlay stitching operation for length adjustment such that underlay stitching is started at a timing at which an assumed embroidering position on the embroidery data calculated from a number of stitches indicating how many times the needle is sewn reaches the color change point on the embroidery data, regardless of an actual embroidering position on the thread, and is turned back at the turn-back marker to move back and forth once, to consume a deviation of a length of thread between the assumed embroidering position and the actual embroidering position. a textile printing apparatus configured to print a thread; an embroidery apparatus including a needle to embroider a cloth, based on embroidery data, with the thread fed from the textile printing apparatus; a dyeing data processor configured to create initial dyeing data for realizing a changing color of a thread of the embroidery data, and insert at a color change point at which a color to be dyed changes in the initial dyeing data, redundant data to which a turn-back marker serving as a mark on the thread is attached, as necessary based on the color difference and the continuation lengths of the colors before and after the color change point; and an embroidery data processor configured to insert underlay stitching data for stitching a portion below an embroidery region of a scheduled next color, at the color change point on the embroidery data that is a position at which the redundant data is inserted on the dyeing data, such that the underlay stitching data is longer than the redundant data, the textile printing apparatus including a dyeing device configured to print the thread based on the dyeing data including the redundant data to which the turn-back marker is attached; and characterized in that: the embroidery apparatus includes an underlay stitching controller configured to perform an underlay stitching operation for length adjustment such that underlay stitching is started at a timing at which an assumed embroidering position on the embroidery data calculated from a number of stitches indicating how many times the needle is sewn reaches the color change point on the embroidery data, regardless of an actual embroidering position on the thread, and is turned back at the turn-back marker to move back and forth once, to consume a deviation of a length of thread between the assumed embroidering position and the actual embroidering position.