Engineering the Optimal IR Lamp Logic for MS JP7 Printing and Dyeing Systems