The printing technique of casting and setting was mastered by Johannes Gutenberg in the mid-15th century. He developed the movable type printing press, which allowed for the efficient production of printed materials by casting individual letters in metal and arranging them to form words. This innovation revolutionized the spread of information and played a crucial role in the Renaissance and the Reformation. Gutenberg's work laid the foundation for modern printing techniques.